aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/page
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-04 15:28:14 +0200
committerThomas Lange <code@nerdmind.de>2021-07-04 15:28:14 +0200
commit926be04229cbaa492755080fac85762b7b876bca (patch)
treef1939777177205b1c012cf3a97ffc14b0371e317 /theme/admin/html/page
parent24877f1ed91380c76c49e3780f3c70c009509b07 (diff)
downloadblog-926be04229cbaa492755080fac85762b7b876bca.tar.gz
blog-926be04229cbaa492755080fac85762b7b876bca.tar.xz
blog-926be04229cbaa492755080fac85762b7b876bca.zip
Prettify the item meta elements in the admin theme
This commit prettifies the item meta elements in the admin theme and also removes those ugly square brackets. It looks a lot better now.
Diffstat (limited to 'theme/admin/html/page')
-rw-r--r--theme/admin/html/page/item.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/theme/admin/html/page/item.php b/theme/admin/html/page/item.php
index c88256e..d0bf2d7 100644
--- a/theme/admin/html/page/item.php
+++ b/theme/admin/html/page/item.php
@@ -6,10 +6,12 @@
</h2>
<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>
+ <i class="fa fa-clock-o"></i>
+ <time datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
</li>
<li>
- <time class="brackets" datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
+ <i class="fa fa-user"></i>
+ <a href="<?=Application::getAdminURL("user/update.php?id={$USER['ATTR']['ID']}")?>" title="<?=$Language->text('update_user')?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a>
</li>
</ul>
</header>