diff options
Diffstat (limited to 'theme/admin/html/post/item.php')
-rw-r--r-- | theme/admin/html/post/item.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/theme/admin/html/post/item.php b/theme/admin/html/post/item.php index 8258d30..ae06752 100644 --- a/theme/admin/html/post/item.php +++ b/theme/admin/html/post/item.php @@ -8,6 +8,9 @@ </div> </header> <blockquote cite="<?=$POST['URL']?>"> + <?php if(isset($POST['FILE']['LIST'][0])): ?> + <img class="item-image" src="<?=$POST['FILE']['LIST'][0]?>" alt="" /> + <?php endif; ?> <p><?=excerpt($POST['BODY']['HTML']())?></p> </blockquote> @@ -26,4 +29,4 @@ <li><a href="<?=Application::getAdminURL("post/delete.php?id={$POST['ATTR']['ID']}")?>" title="<?=$Language->text('delete_post')?>"><i class="fa fa-trash-o"></i><span class="hidden"><?=$Language->text('delete_post')?></span></a></li> </ul> </footer> -</article>
\ No newline at end of file +</article> |