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