aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-04 14:50:48 +0200
committerThomas Lange <code@nerdmind.de>2021-07-04 14:50:48 +0200
commit24877f1ed91380c76c49e3780f3c70c009509b07 (patch)
tree22835f5732e90d19a596a396163b1b7a982cd39b /theme/admin/html
parent347b9a7ba86016a12c0b0c05b6edd24f0d381bda (diff)
downloadblog-24877f1ed91380c76c49e3780f3c70c009509b07.tar.gz
blog-24877f1ed91380c76c49e3780f3c70c009509b07.tar.xz
blog-24877f1ed91380c76c49e3780f3c70c009509b07.zip
Use list for item meta elements
Diffstat (limited to 'theme/admin/html')
-rw-r--r--theme/admin/html/category/item.php16
-rw-r--r--theme/admin/html/page/item.php12
-rw-r--r--theme/admin/html/post/item.php14
-rw-r--r--theme/admin/html/user/item.php8
4 files changed, 34 insertions, 16 deletions
diff --git a/theme/admin/html/category/item.php b/theme/admin/html/category/item.php
index f8e7223..ad458d6 100644
--- a/theme/admin/html/category/item.php
+++ b/theme/admin/html/category/item.php
@@ -4,11 +4,17 @@
<i class="fa fa-tag"></i><?=escapeHTML($CATEGORY['ATTR']['NAME'])?>
<span class="item-id">#<?=$CATEGORY['ATTR']['ID']?></span>
</h2>
- <div>
- <time class="brackets" datetime="<?=$CATEGORY['ATTR']['TIME_INSERT']?>"><?=parseDatetime($CATEGORY['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
- <span class="brackets"><?=$Language->text('posts')?>: <?=$COUNT['POST']?></span>
- <span class="brackets"><?=$Language->text('categories')?>: <?=$COUNT['CHILDREN']?></span>
- </div>
+ <ul class="item-meta">
+ <li>
+ <time class="brackets" datetime="<?=$CATEGORY['ATTR']['TIME_INSERT']?>"><?=parseDatetime($CATEGORY['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
+ </li>
+ <li>
+ <span class="brackets"><?=$Language->text('posts')?>: <?=$COUNT['POST']?></span>
+ </li>
+ <li>
+ <span class="brackets"><?=$Language->text('categories')?>: <?=$COUNT['CHILDREN']?></span>
+ </li>
+ </ul>
</header>
<blockquote cite="<?=$CATEGORY['URL']?>">
<?php if(isset($CATEGORY['FILE']['LIST'][0])): ?>
diff --git a/theme/admin/html/page/item.php b/theme/admin/html/page/item.php
index 267416a..c88256e 100644
--- a/theme/admin/html/page/item.php
+++ b/theme/admin/html/page/item.php
@@ -4,10 +4,14 @@
<i class="fa fa-file-text-o"></i><?=escapeHTML($PAGE['ATTR']['NAME'])?>
<span class="item-id">#<?=$PAGE['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>
- <time class="brackets" datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
- </div>
+ <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>
+ <li>
+ <time class="brackets" datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
+ </li>
+ </ul>
</header>
<blockquote cite="<?=$PAGE['URL']?>">
<?php if(isset($PAGE['FILE']['LIST'][0])): ?>
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])): ?>
diff --git a/theme/admin/html/user/item.php b/theme/admin/html/user/item.php
index 80edd3b..c84e24b 100644
--- a/theme/admin/html/user/item.php
+++ b/theme/admin/html/user/item.php
@@ -4,9 +4,11 @@
<i class="fa fa-user"></i><?=escapeHTML($USER['ATTR']['FULLNAME'])?>
<span class="item-id">#<?=$USER['ATTR']['ID']?></span>
</h2>
- <div>
- <time class="brackets" datetime="<?=$USER['ATTR']['TIME_INSERT']?>"><?=parseDatetime($USER['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
- </div>
+ <ul class="item-meta">
+ <li>
+ <time class="brackets" datetime="<?=$USER['ATTR']['TIME_INSERT']?>"><?=parseDatetime($USER['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
+ </li>
+ </ul>
</header>
<blockquote cite="<?=$USER['URL']?>">
<?php if(isset($USER['FILE']['LIST'][0])): ?>