diff options
-rw-r--r-- | template/admin/html/page/item.php | 5 | ||||
-rw-r--r-- | template/admin/html/post/item.php | 5 | ||||
-rw-r--r-- | template/admin/html/user/item.php | 3 | ||||
-rw-r--r-- | template/admin/lang/de.php | 5 | ||||
-rw-r--r-- | template/admin/lang/en.php | 5 |
5 files changed, 21 insertions, 2 deletions
diff --git a/template/admin/html/page/item.php b/template/admin/html/page/item.php index 1a382bd..a19afa9 100644 --- a/template/admin/html/page/item.php +++ b/template/admin/html/page/item.php @@ -1,7 +1,10 @@ <li class="item-list-li page"> <header> <h2><i class="fa fa-file-text-o"></i><?=escapeHTML($PAGE['ATTR']['NAME'])?><span>#<?=$PAGE['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="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->template('date_format'))?></time> + </div> </header> <blockquote cite="<?=$PAGE['URL']?>"> <p><?=excerpt($PAGE['BODY']['HTML'])?></p> 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> diff --git a/template/admin/html/user/item.php b/template/admin/html/user/item.php index 13ba4ae..439916e 100644 --- a/template/admin/html/user/item.php +++ b/template/admin/html/user/item.php @@ -1,6 +1,9 @@ <li class="item-list-li user"> <header> <h2><i class="fa fa-user"></i><?=escapeHTML($USER['ATTR']['FULLNAME'])?><span>#<?=$USER['ID']?></span></h2> + <div> + <time class="brackets" datetime="<?=$USER['ATTR']['TIME_INSERT']?>"><?=parseDatetime($USER['ATTR']['TIME_INSERT'], $Language->template('date_format'))?></time> + </div> </header> <blockquote cite="<?=$USER['URL']?>"> <p><?=excerpt($USER['BODY']['HTML'])?></p> diff --git a/template/admin/lang/de.php b/template/admin/lang/de.php index 1c5233c..7ab1faf 100644 --- a/template/admin/lang/de.php +++ b/template/admin/lang/de.php @@ -9,6 +9,11 @@ #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# #=============================================================================== +# Date format +#=============================================================================== +$LANGUAGE['date_format'] = '[D].[M].[Y]'; + +#=============================================================================== # Item last text #=============================================================================== $LANGUAGE['last_post'] = 'Letzter Post'; diff --git a/template/admin/lang/en.php b/template/admin/lang/en.php index 5ac8066..a48ec5c 100644 --- a/template/admin/lang/en.php +++ b/template/admin/lang/en.php @@ -9,6 +9,11 @@ #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# #=============================================================================== +# Date format +#=============================================================================== +$LANGUAGE['date_format'] = '[Y]-[M]-[D]'; + +#=============================================================================== # Item last text #=============================================================================== $LANGUAGE['last_post'] = 'Last post'; |