diff options
author | Thomas Lange <code@nerdmind.de> | 2021-07-04 14:50:48 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-07-04 14:50:48 +0200 |
commit | 24877f1ed91380c76c49e3780f3c70c009509b07 (patch) | |
tree | 22835f5732e90d19a596a396163b1b7a982cd39b /theme/admin/html/post | |
parent | 347b9a7ba86016a12c0b0c05b6edd24f0d381bda (diff) | |
download | blog-24877f1ed91380c76c49e3780f3c70c009509b07.tar.gz blog-24877f1ed91380c76c49e3780f3c70c009509b07.tar.xz blog-24877f1ed91380c76c49e3780f3c70c009509b07.zip |
Use list for item meta elements
Diffstat (limited to 'theme/admin/html/post')
-rw-r--r-- | theme/admin/html/post/item.php | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/theme/admin/html/post/item.php b/theme/admin/html/post/item.php index 330e682..03b39d3 100644 --- a/theme/admin/html/post/item.php +++ b/theme/admin/html/post/item.php @@ -4,13 +4,19 @@ <i class="fa fa-newspaper-o"></i><?=escapeHTML($POST['ATTR']['NAME'])?> <span class="item-id">#<?=$POST['ATTR']['ID']?></span> </h2> - <div> - <a class="brackets" href="<?=Application::getAdminURL("user/update.php?id={$USER['ATTR']['ID']}")?>" title="<?=$Language->text('update_user')?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a> + <ul class="item-meta"> + <li> + <a class="brackets" href="<?=Application::getAdminURL("user/update.php?id={$USER['ATTR']['ID']}")?>" title="<?=$Language->text('update_user')?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a> + </li> <?php if($CATEGORY): ?> + <li> <a class="brackets" href="<?=Application::getAdminURL("category/update.php?id={$CATEGORY['ATTR']['ID']}")?>" title="<?=$Language->text('update_category')?>"><?=escapeHTML($CATEGORY['ATTR']['NAME'])?></a> + </li> <?php endif ?> - <time class="brackets" datetime="<?=$POST['ATTR']['TIME_INSERT']?>"><?=parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time> - </div> + <li> + <time class="brackets" datetime="<?=$POST['ATTR']['TIME_INSERT']?>"><?=parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time> + </li> + </ul> </header> <blockquote cite="<?=$POST['URL']?>"> <?php if(isset($POST['FILE']['LIST'][0])): ?> |