aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2024-01-23 20:22:35 +0100
committerThomas Lange <code@nerdmind.de>2024-01-23 20:22:35 +0100
commit53c035918a4f34b826728e06d9b77e4bcb440517 (patch)
tree468f763d1fc4237e77b0c85771c20f69b3ac0ed2 /theme/admin/html
parent09f52cfcc8ced8bed60e5c1702e6f35cf3fe1f29 (diff)
downloadblog-53c035918a4f34b826728e06d9b77e4bcb440517.tar.gz
blog-53c035918a4f34b826728e06d9b77e4bcb440517.tar.xz
blog-53c035918a4f34b826728e06d9b77e4bcb440517.zip
Remove trailing slash on void elements
The trailing slash on void elements (self-closing tags) doesn't have any effect, isn't required by HTML5 and it is recommended to not use it.
Diffstat (limited to 'theme/admin/html')
-rw-r--r--theme/admin/html/auth.php8
-rw-r--r--theme/admin/html/category/form.php18
-rw-r--r--theme/admin/html/category/item.php2
-rw-r--r--theme/admin/html/database.php4
-rw-r--r--theme/admin/html/main.php10
-rw-r--r--theme/admin/html/migration.php12
-rw-r--r--theme/admin/html/page/form.php18
-rw-r--r--theme/admin/html/page/item.php2
-rw-r--r--theme/admin/html/page/search.php4
-rw-r--r--theme/admin/html/post/form.php18
-rw-r--r--theme/admin/html/post/item.php2
-rw-r--r--theme/admin/html/post/search.php4
-rw-r--r--theme/admin/html/user/form.php24
-rw-r--r--theme/admin/html/user/item.php2
14 files changed, 64 insertions, 64 deletions
diff --git a/theme/admin/html/auth.php b/theme/admin/html/auth.php
index efc402e..89bd224 100644
--- a/theme/admin/html/auth.php
+++ b/theme/admin/html/auth.php
@@ -13,26 +13,26 @@
<?php endif ?>
<form action="" method="POST">
- <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" />
+ <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>">
<div class="form-grid two-columns">
<label for="form_username">
<i class="fa fa-user-secret"></i><?=$Language->text('label_username')?></label>
<div class="form-grid-item">
- <input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" required autofocus />
+ <input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" required autofocus>
</div>
<label for="form_password">
<i class="fa fa-key"></i><?=$Language->text('label_password')?></label>
<div class="form-grid-item">
- <input type="password" id="form_password" name="password" required />
+ <input type="password" id="form_password" name="password" required>
</div>
</div>
<div class="form-border-box background padding nobordertop">
- <input type="submit" name="auth" value="<?=$Language->text('login')?>" />
+ <input type="submit" name="auth" value="<?=$Language->text('login')?>">
</div>
</form>
</main>
diff --git a/theme/admin/html/category/form.php b/theme/admin/html/category/form.php
index b358233..46f056e 100644
--- a/theme/admin/html/category/form.php
+++ b/theme/admin/html/category/form.php
@@ -25,7 +25,7 @@ function categorySelectList($category_tree, $selected = NULL, $current = NULL, $
<?php endif ?>
<form action="" method="POST">
- <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" />
+ <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>">
<?php if($FORM['TYPE'] !== 'DELETE'): ?>
<div class="form-grid">
@@ -33,14 +33,14 @@ function categorySelectList($category_tree, $selected = NULL, $current = NULL, $
<i class="fa fa-tag"></i><?=$Language->text('label_name')?></label>
<div class="form-grid-item first">
- <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" required autofocus />
+ <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" required autofocus>
</div>
<label for="form_slug">
<i class="fa fa-link"></i><?=$Language->text('label_slug')?></label>
<div class="form-grid-item">
- <input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" />
+ <input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>">
</div>
<label for="form_category_parent">
@@ -57,14 +57,14 @@ function categorySelectList($category_tree, $selected = NULL, $current = NULL, $
<i class="fa fa-clock-o"></i><?=$Language->text('label_insert')?></label>
<div class="form-grid-item">
- <input id="form_time_insert" name="time_insert" placeholder="YYYY-MM-DD HH:II:SS" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>" />
+ <input id="form_time_insert" name="time_insert" placeholder="YYYY-MM-DD HH:II:SS" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>">
</div>
<label for="form_time_update">
<i class="fa fa-pencil"></i><?=$Language->text('label_update')?></label>
<div class="form-grid-item">
- <input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ?: 'CURRENT_TIMESTAMP')?>" value="" />
+ <input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ?: 'CURRENT_TIMESTAMP')?>" value="">
</div>
</div>
@@ -92,7 +92,7 @@ function categorySelectList($category_tree, $selected = NULL, $current = NULL, $
</ul>
</div>
<div class="form-border-box background padding">
- <input id="form_argv" name="argv" maxlength="250" placeholder="[ARGUMENT_ONE=foo|ARGUMENT_TWO=bar …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>" />
+ <input id="form_argv" name="argv" maxlength="250" placeholder="[ARGUMENT_ONE=foo|ARGUMENT_TWO=bar …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>">
</div>
<?php else: ?>
<div class="form-border-box background padding">
@@ -102,11 +102,11 @@ function categorySelectList($category_tree, $selected = NULL, $current = NULL, $
<div class="form-border-box background padding">
<?php if($FORM['TYPE'] === 'INSERT'): ?>
- <input id="insert-button" type="submit" name="insert" value="<?=$Language->text('insert')?>" />
+ <input id="insert-button" type="submit" name="insert" value="<?=$Language->text('insert')?>">
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
- <input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>" />
+ <input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>">
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>" />
+ <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>">
<?php endif; ?>
</div>
</form>
diff --git a/theme/admin/html/category/item.php b/theme/admin/html/category/item.php
index ea98c02..dacabdc 100644
--- a/theme/admin/html/category/item.php
+++ b/theme/admin/html/category/item.php
@@ -21,7 +21,7 @@
</header>
<blockquote cite="<?=$CATEGORY['URL']?>">
<?php if(isset($CATEGORY['FILE']['LIST'][0])): ?>
- <img class="item-image" src="<?=$CATEGORY['FILE']['LIST'][0]?>" alt="" />
+ <img class="item-image" src="<?=$CATEGORY['FILE']['LIST'][0]?>" alt="">
<?php endif; ?>
<p><?=excerpt($CATEGORY['BODY']['HTML']())?></p>
</blockquote>
diff --git a/theme/admin/html/database.php b/theme/admin/html/database.php
index 1ba7adc..e0ca09b 100644
--- a/theme/admin/html/database.php
+++ b/theme/admin/html/database.php
@@ -13,7 +13,7 @@
<?php endif ?>
<form action="" method="POST">
- <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" />
+ <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>">
<div class="form-border-box">
<textarea id="content-editor" placeholder="<?=$Language->text('database_warning')?>" name="command" required autofocus><?=escapeHTML($FORM['COMMAND'])?></textarea>
@@ -26,7 +26,7 @@
<?php endif; ?>
<div class="form-border-box background padding">
- <input id="insert-button" type="submit" name="execute" value="Execute" />
+ <input id="insert-button" type="submit" name="execute" value="Execute">
</div>
</form>
</main>
diff --git a/theme/admin/html/main.php b/theme/admin/html/main.php
index 82dd407..2035b47 100644
--- a/theme/admin/html/main.php
+++ b/theme/admin/html/main.php
@@ -16,10 +16,10 @@ $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright';
<!DOCTYPE html>
<html lang="<?=$BLOGMETA['LANG']?>">
<head>
- <meta charset="UTF-8" />
- <meta name="referrer" content="origin-when-crossorigin" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <link rel="stylesheet" href="<?=Application::getTemplateURL("rsrc/css/$theme.css")?>" />
+ <meta charset="UTF-8">
+ <meta name="referrer" content="origin-when-crossorigin">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="<?=Application::getTemplateURL("rsrc/css/$theme.css")?>">
<script defer src="<?=Application::getTemplateURL('rsrc/main.js')?>"></script>
<title><?=escapeHTML($NAME)?> | Administration</title>
</head>
@@ -28,7 +28,7 @@ $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright';
<div class="header-line background">
<div class="header-content">
<a href="<?=Application::getURL()?>">
- <img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration" />
+ <img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration">
</a>
<div id="header-text"><?=escapeHTML($BLOGMETA['NAME'])?></div>
<div id="header-desc"><?=escapeHTML($BLOGMETA['DESC'])?></div>
diff --git a/theme/admin/html/migration.php b/theme/admin/html/migration.php
index 082b95b..921b006 100644
--- a/theme/admin/html/migration.php
+++ b/theme/admin/html/migration.php
@@ -2,17 +2,17 @@
<!DOCTYPE html>
<html lang="<?=$BLOGMETA['LANG']?>">
<head>
- <meta charset="UTF-8" />
- <meta name="referrer" content="origin-when-crossorigin" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <link rel="stylesheet" href="<?=Application::getTemplateURL("rsrc/css/$theme.css")?>" />
+ <meta charset="UTF-8">
+ <meta name="referrer" content="origin-when-crossorigin">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="<?=Application::getTemplateURL("rsrc/css/$theme.css")?>">
<title><?=$Language->text('maintenance_mode')?></title>
</head>
<body>
<header id="main-header">
<div class="header-line background">
<div class="header-content">
- <img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration" />
+ <img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration">
<div id="header-text"><?=escapeHTML($BLOGMETA['NAME'])?></div>
<div id="header-desc"><?=$Language->text('maintenance_mode')?></div>
</div>
@@ -45,7 +45,7 @@ $codebase_schema = $MIGRATION['SCHEMA_VERSION']['CODEBASE'];
<?php endforeach ?>
</ul>
<input type="hidden" name="token" value="<?=Application::getSecurityToken()?>" ?>
- <input type="submit" name="run" value="<?=$Language->text('migration_submit')?>" id="delete-button" />
+ <input type="submit" name="run" value="<?=$Language->text('migration_submit')?>" id="delete-button">
</form>
<?php endif ?>
</main>
diff --git a/theme/admin/html/page/form.php b/theme/admin/html/page/form.php
index f4655da..afcb8aa 100644
--- a/theme/admin/html/page/form.php
+++ b/theme/admin/html/page/form.php
@@ -9,7 +9,7 @@
<?php endif ?>
<form action="" method="POST">
- <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" />
+ <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>">
<?php if($FORM['TYPE'] !== 'DELETE'): ?>
<div class="form-grid">
@@ -17,14 +17,14 @@
<i class="fa fa-file-text-o"></i><?=$Language->text('label_name')?></label>
<div class="form-grid-item first">
- <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" required autofocus />
+ <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" required autofocus>
</div>
<label for="form_slug">
<i class="fa fa-link"></i><?=$Language->text('label_slug')?></label>
<div class="form-grid-item">
- <input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" />
+ <input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>">
</div>
<label for="form_user">
@@ -43,14 +43,14 @@
<i class="fa fa-clock-o"></i><?=$Language->text('label_insert')?></label>
<div class="form-grid-item">
- <input id="form_time_insert" name="time_insert" placeholder="YYYY-MM-DD HH:II:SS" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>" />
+ <input id="form_time_insert" name="time_insert" placeholder="YYYY-MM-DD HH:II:SS" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>">
</div>
<label for="form_time_update">
<i class="fa fa-pencil"></i><?=$Language->text('label_update')?></label>
<div class="form-grid-item">
- <input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ?: 'CURRENT_TIMESTAMP')?>" value="" />
+ <input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ?: 'CURRENT_TIMESTAMP')?>" value="">
</div>
</div>
@@ -78,7 +78,7 @@
</ul>
</div>
<div class="form-border-box background padding">
- <input id="form_argv" name="argv" maxlength="250" placeholder="[ARGUMENT_ONE=foo|ARGUMENT_TWO=bar …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>" />
+ <input id="form_argv" name="argv" maxlength="250" placeholder="[ARGUMENT_ONE=foo|ARGUMENT_TWO=bar …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>">
</div>
<?php else: ?>
<div class="form-border-box background padding">
@@ -88,11 +88,11 @@
<div class="form-border-box background padding">
<?php if($FORM['TYPE'] === 'INSERT'): ?>
- <input id="insert-button" type="submit" name="insert" value="<?=$Language->text('insert')?>" />
+ <input id="insert-button" type="submit" name="insert" value="<?=$Language->text('insert')?>">
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
- <input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>" />
+ <input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>">
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>" />
+ <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>">
<?php endif; ?>
</div>
</form>
diff --git a/theme/admin/html/page/item.php b/theme/admin/html/page/item.php
index 6e394bb..3cbcf79 100644
--- a/theme/admin/html/page/item.php
+++ b/theme/admin/html/page/item.php
@@ -17,7 +17,7 @@
</header>
<blockquote cite="<?=$PAGE['URL']?>">
<?php if(isset($PAGE['FILE']['LIST'][0])): ?>
- <img class="item-image" src="<?=$PAGE['FILE']['LIST'][0]?>" alt="" />
+ <img class="item-image" src="<?=$PAGE['FILE']['LIST'][0]?>" alt="">
<?php endif; ?>
<p><?=excerpt($PAGE['BODY']['HTML']())?></p>
</blockquote>
diff --git a/theme/admin/html/page/search.php b/theme/admin/html/page/search.php
index 7d53e3a..0fc110f 100644
--- a/theme/admin/html/page/search.php
+++ b/theme/admin/html/page/search.php
@@ -18,11 +18,11 @@
<i class="fa fa-search"></i><?=$Language->text('search')?></label>
<div class="form-grid-item first">
- <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" required autofocus />
+ <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" required autofocus>
</div>
</div>
<div class="form-border-box background padding">
- <input id="update-button" type="submit" value="<?=$Language->text('search')?>" />
+ <input id="update-button" type="submit" value="<?=$Language->text('search')?>">
</div>
</form>
diff --git a/theme/admin/html/post/form.php b/theme/admin/html/post/form.php
index d2a22eb..8ad514a 100644
--- a/theme/admin/html/post/form.php
+++ b/theme/admin/html/post/form.php
@@ -24,7 +24,7 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
<?php endif ?>
<form action="" method="POST">
- <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" />
+ <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>">
<?php if($FORM['TYPE'] !== 'DELETE'): ?>
<div class="form-grid">
@@ -32,14 +32,14 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
<i class="fa fa-newspaper-o"></i><?=$Language->text('label_name')?></label>
<div class="form-grid-item">
- <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" required autofocus />
+ <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" required autofocus>
</div>
<label for="form_slug">
<i class="fa fa-link"></i><?=$Language->text('label_slug')?></label>
<div class="form-grid-item">
- <input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" />
+ <input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>">
</div>
<label for="form_category">
@@ -68,14 +68,14 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
<i class="fa fa-clock-o"></i><?=$Language->text('label_insert')?></label>
<div class="form-grid-item">
- <input id="form_time_insert" name="time_insert" placeholder="YYYY-MM-DD HH:II:SS" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>" />
+ <input id="form_time_insert" name="time_insert" placeholder="YYYY-MM-DD HH:II:SS" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>">
</div>
<label for="form_time_update">
<i class="fa fa-pencil"></i><?=$Language->text('label_update')?></label>
<div class="form-grid-item">
- <input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ?: 'CURRENT_TIMESTAMP')?>" value="" />
+ <input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ?: 'CURRENT_TIMESTAMP')?>" value="">
</div>
</div>
@@ -103,7 +103,7 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
</ul>
</div>
<div class="form-border-box background padding">
- <input id="form_argv" name="argv" maxlength="250" placeholder="[ARGUMENT_ONE=foo|ARGUMENT_TWO=bar …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>" />
+ <input id="form_argv" name="argv" maxlength="250" placeholder="[ARGUMENT_ONE=foo|ARGUMENT_TWO=bar …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>">
</div>
<?php else: ?>
<div class="form-border-box background padding">
@@ -113,11 +113,11 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
<div class="form-border-box background padding">
<?php if($FORM['TYPE'] === 'INSERT'): ?>
- <input id="insert-button" type="submit" name="insert" value="<?=$Language->text('insert')?>" />
+ <input id="insert-button" type="submit" name="insert" value="<?=$Language->text('insert')?>">
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
- <input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>" />
+ <input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>">
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>" />
+ <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>">
<?php endif; ?>
</div>
</form>
diff --git a/theme/admin/html/post/item.php b/theme/admin/html/post/item.php
index e4b2bec..14f2813 100644
--- a/theme/admin/html/post/item.php
+++ b/theme/admin/html/post/item.php
@@ -23,7 +23,7 @@
</header>
<blockquote cite="<?=$POST['URL']?>">
<?php if(isset($POST['FILE']['LIST'][0])): ?>
- <img class="item-image" src="<?=$POST['FILE']['LIST'][0]?>" alt="" />
+ <img class="item-image" src="<?=$POST['FILE']['LIST'][0]?>" alt="">
<?php endif; ?>
<p><?=excerpt($POST['BODY']['HTML']())?></p>
</blockquote>
diff --git a/theme/admin/html/post/search.php b/theme/admin/html/post/search.php
index dff8dfb..0a0d959 100644
--- a/theme/admin/html/post/search.php
+++ b/theme/admin/html/post/search.php
@@ -33,7 +33,7 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
<i class="fa fa-search"></i><?=$Language->text('search')?></label>
<div class="form-grid-item first">
- <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" required autofocus />
+ <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" required autofocus>
</div>
<label for="form_category">
@@ -59,7 +59,7 @@ function categorySelectList($category_tree, $selected = NULL, $prefix = '') {
</div>
</div>
<div class="form-border-box background padding">
- <input id="update-button" type="submit" value="<?=$Language->text('search')?>" />
+ <input id="update-button" type="submit" value="<?=$Language->text('search')?>">
</div>
</form>
diff --git a/theme/admin/html/user/form.php b/theme/admin/html/user/form.php
index 2806598..7d033f1 100644
--- a/theme/admin/html/user/form.php
+++ b/theme/admin/html/user/form.php
@@ -9,7 +9,7 @@
<?php endif ?>
<form action="" method="POST">
- <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" />
+ <input type="hidden" name="token" value="<?=$FORM['TOKEN']?>">
<?php if($FORM['TYPE'] !== 'DELETE'): ?>
<div class="form-grid">
@@ -17,49 +17,49 @@
<i class="fa fa-user"></i><?=$Language->text('label_fullname')?></label>
<div class="form-grid-item first">
- <input id="form_fullname" name="fullname" value="<?=escapeHTML($FORM['DATA']['FULLNAME'])?>" required autofocus />
+ <input id="form_fullname" name="fullname" value="<?=escapeHTML($FORM['DATA']['FULLNAME'])?>" required autofocus>
</div>
<label for="form_username">
<i class="fa fa-user-secret"></i><?=$Language->text('label_username')?></label>
<div class="form-grid-item">
- <input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" required />
+ <input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" required>
</div>
<label for="form_password">
<i class="fa fa-key"></i><?=$Language->text('label_password')?></label>
<div class="form-grid-item">
- <input id="form_password" name="password" placeholder="NO CHANGE" type="password" />
+ <input id="form_password" name="password" placeholder="NO CHANGE" type="password">
</div>
<label for="form_mailaddr">
<i class="fa fa-envelope-o"></i><?=$Language->text('label_mailaddr')?></label>
<div class="form-grid-item">
- <input id="form_mailaddr" name="mailaddr" value="<?=escapeHTML($FORM['DATA']['MAILADDR'])?>" required />
+ <input id="form_mailaddr" name="mailaddr" value="<?=escapeHTML($FORM['DATA']['MAILADDR'])?>" required>
</div>
<label for="form_slug">
<i class="fa fa-link"></i><?=$Language->text('label_slug')?></label>
<div class="form-grid-item">
- <input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" />
+ <input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>">
</div>
<label for="form_time_insert">
<i class="fa fa-clock-o"></i><?=$Language->text('label_insert')?></label>
<div class="form-grid-item">
- <input id="form_time_insert" name="time_insert" placeholder="YYYY-MM-DD HH:II:SS" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>" />
+ <input id="form_time_insert" name="time_insert" placeholder="YYYY-MM-DD HH:II:SS" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>">
</div>
<label for="form_time_update">
<i class="fa fa-pencil"></i><?=$Language->text('label_update')?></label>
<div class="form-grid-item">
- <input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ?: 'CURRENT_TIMESTAMP')?>" value="" />
+ <input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ?: 'CURRENT_TIMESTAMP')?>" value="">
</div>
</div>
@@ -87,7 +87,7 @@
</ul>
</div>
<div class="form-border-box background padding">
- <input id="form_argv" name="argv" maxlength="250" placeholder="[ARGUMENT_ONE=foo|ARGUMENT_TWO=bar …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>" />
+ <input id="form_argv" name="argv" maxlength="250" placeholder="[ARGUMENT_ONE=foo|ARGUMENT_TWO=bar …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>">
</div>
<?php else: ?>
<div class="form-border-box background padding">
@@ -97,11 +97,11 @@
<div class="form-border-box background padding">
<?php if($FORM['TYPE'] === 'INSERT'): ?>
- <input id="insert-button" type="submit" name="insert" value="<?=$Language->text('insert')?>" />
+ <input id="insert-button" type="submit" name="insert" value="<?=$Language->text('insert')?>">
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
- <input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>" />
+ <input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>">
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>" />
+ <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>">
<?php endif; ?>
</div>
</form>
diff --git a/theme/admin/html/user/item.php b/theme/admin/html/user/item.php
index 3a9ecb6..bb8c48a 100644
--- a/theme/admin/html/user/item.php
+++ b/theme/admin/html/user/item.php
@@ -21,7 +21,7 @@
</header>
<blockquote cite="<?=$USER['URL']?>">
<?php if(isset($USER['FILE']['LIST'][0])): ?>
- <img class="item-image" src="<?=$USER['FILE']['LIST'][0]?>" alt="" />
+ <img class="item-image" src="<?=$USER['FILE']['LIST'][0]?>" alt="">
<?php endif; ?>
<p><?=excerpt($USER['BODY']['HTML']())?></p>
</blockquote>