diff options
author | Thomas Lange <code@nerdmind.de> | 2017-09-14 23:51:36 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-09-14 23:51:36 +0200 |
commit | 3180d399f20d6e7bec41cf986cfbf8e1aafa3587 (patch) | |
tree | 24ddabcc6f140a6d006e940edcbf56b5814829f3 /template/admin/html/home.php | |
parent | a2556505e5f2d528a6c93958a8c7c9beaf4e002a (diff) | |
download | blog-3180d399f20d6e7bec41cf986cfbf8e1aafa3587.tar.gz blog-3180d399f20d6e7bec41cf986cfbf8e1aafa3587.tar.xz blog-3180d399f20d6e7bec41cf986cfbf8e1aafa3587.zip |
Some markup optimizations has been made to both templates (the HTML5 <article> element is more correct for the purpose of an item list, because real lists should only be used if the order of the items would change the meaning. This is not the case, because each item is a self-contained area which has nothing to do with the other items).
Diffstat (limited to 'template/admin/html/home.php')
-rw-r--r-- | template/admin/html/home.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/template/admin/html/home.php b/template/admin/html/home.php index 6ade82d..f8a45c5 100644 --- a/template/admin/html/home.php +++ b/template/admin/html/home.php @@ -4,9 +4,9 @@ <h2><i class="fa fa-newspaper-o"></i><?=$Language->text('last_post')?></h2> <p><strong><?=$Language->text('posts')?>:</strong> <?=$COUNT['POST']?> | <a href="<?=Application::getAdminURL('post/')?>"><?=$Language->text('post_overview')?></a> | <a href="<?=Application::getAdminURL('post/insert.php')?>"><?=$Language->text('insert')?></a></p> <?php if(!empty($LAST['POST'])): ?> - <ul class="item-list"> + <div class="item-container post"> <?=$LAST['POST']?> - </ul> + </div> <?php else: ?> <p><em><?=$Language->text('home_no_posts')?></em></p> <?php endif; ?> @@ -15,9 +15,9 @@ <p><strong><?=$Language->text('pages')?>:</strong> <?=$COUNT['PAGE']?> | <a href="<?=Application::getAdminURL('page/')?>"><?=$Language->text('page_overview')?></a> | <a href="<?=Application::getAdminURL('page/insert.php')?>"><?=$Language->text('insert')?></a></p> <?php if(!empty($LAST['PAGE'])): ?> - <ul class="item-list"> + <div class="item-container page"> <?=$LAST['PAGE']?> - </ul> + </div> <?php else: ?> <p><em><?=$Language->text('home_no_pages')?></em></p> <?php endif; ?> @@ -26,9 +26,9 @@ <p><strong><?=$Language->text('users')?>:</strong> <?=$COUNT['USER']?> | <a href="<?=Application::getAdminURL('user/')?>"><?=$Language->text('user_overview')?></a> | <a href="<?=Application::getAdminURL('user/insert.php')?>"><?=$Language->text('insert')?></a></p> <?php if(!empty($LAST['USER'])): ?> - <ul class="item-list"> + <div class="item-container user"> <?=$LAST['USER']?> - </ul> + </div> <?php else: ?> <p><em><?=$Language->text('home_no_users')?></em></p> <?php endif; ?> |