diff options
author | Thomas Lange <code@nerdmind.de> | 2017-04-11 04:02:47 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-04-11 04:02:47 +0200 |
commit | 170422f25f3e5f29e311b18cbe0adb253d4b1b01 (patch) | |
tree | 39a876fb45766bc7d8f137844cdd6f3a22e94f43 /template/admin/html/post | |
parent | 7850914276a90680fbb10404196132c8a843fa89 (diff) | |
download | blog-170422f25f3e5f29e311b18cbe0adb253d4b1b01.tar.gz blog-170422f25f3e5f29e311b18cbe0adb253d4b1b01.tar.xz blog-170422f25f3e5f29e311b18cbe0adb253d4b1b01.zip |
HTML and CSS markup optimizations for admin template.
Diffstat (limited to 'template/admin/html/post')
-rw-r--r-- | template/admin/html/post/index.php | 2 | ||||
-rw-r--r-- | template/admin/html/post/item.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/template/admin/html/post/index.php b/template/admin/html/post/index.php index 481cafe..c997955 100644 --- a/template/admin/html/post/index.php +++ b/template/admin/html/post/index.php @@ -1,7 +1,7 @@ <h1><i class="fa fa-newspaper-o"></i><?=$Language->text('post_overview')?><a class="brackets" href="<?=Application::getAdminURL("post/insert.php")?>"><?=$Language->text('insert')?></a></h1> <p><?=$Language->template('overview_post_desc')?></p> -<ul class="item-list"> +<ul class="item-list post"> <?php foreach($LIST['POSTS'] as $post): ?> <?php echo $post; ?> <?php endforeach; ?> diff --git a/template/admin/html/post/item.php b/template/admin/html/post/item.php index 1b942bd..1808a6b 100644 --- a/template/admin/html/post/item.php +++ b/template/admin/html/post/item.php @@ -1,11 +1,11 @@ -<li class="content"> +<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> </header> - <article> + <blockquote cite="<?=$POST['URL']?>"> <p><?=excerpt($POST['BODY']['HTML'])?></p> - </article> + </blockquote> <footer> <ul> <li><a href="<?=$POST['URL']?>" target="_blank" title="<?=$Language->text('select_post')?>"><i class="fa fa-external-link"></i></a></li> |