aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/user
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/user
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/user')
-rw-r--r--theme/admin/html/user/form.php24
-rw-r--r--theme/admin/html/user/item.php2
2 files changed, 13 insertions, 13 deletions
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>