aboutsummaryrefslogtreecommitdiffstats
path: root/template/admin/html/post/item.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-30 19:06:11 +0200
committerThomas Lange <code@nerdmind.de>2017-04-30 19:06:11 +0200
commit37bb37f5a96dffa898b341c5ecf1231f1874fef1 (patch)
tree101e1af73f4c028e2c1a256466446cd01f07e5c5 /template/admin/html/post/item.php
parent22477a3bfb3f31e2f52775cf298628405e1ff899 (diff)
downloadblog-37bb37f5a96dffa898b341c5ecf1231f1874fef1.tar.gz
blog-37bb37f5a96dffa898b341c5ecf1231f1874fef1.tar.xz
blog-37bb37f5a96dffa898b341c5ecf1231f1874fef1.zip
The date of publication is now displayed in the lists.
Diffstat (limited to 'template/admin/html/post/item.php')
-rw-r--r--template/admin/html/post/item.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/template/admin/html/post/item.php b/template/admin/html/post/item.php
index f84a2e2..750b03d 100644
--- a/template/admin/html/post/item.php
+++ b/template/admin/html/post/item.php
@@ -1,7 +1,10 @@
<li class="item-list-li post">
<header>
<h2><i class="fa fa-newspaper-o"></i><?=escapeHTML($POST['ATTR']['NAME'])?><span>#<?=$POST['ID']?></span></h2>
- <div><a class="brackets" href="<?=Application::getAdminURL("user/update.php?id={$USER['ID']}")?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a></div>
+ <div>
+ <a class="brackets" href="<?=Application::getAdminURL("user/update.php?id={$USER['ID']}")?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a>
+ <time class="brackets" datetime="<?=$POST['ATTR']['TIME_INSERT']?>"><?=parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->template('date_format'))?></time>
+ </div>
</header>
<blockquote cite="<?=$POST['URL']?>">
<p><?=excerpt($POST['BODY']['HTML'])?></p>