aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/editleftbar.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-30 02:46:19 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-30 02:46:19 +0100
commiteab190e895124ef643c2b0574c84f3424857eeac (patch)
tree5dfa29c84a1e378825ddf1c46e16cb6bd85df9dd /app/view/templates/editleftbar.php
parent40ef00fee7286a186673ff3fb26b6802421b2bc4 (diff)
downloadwcms-eab190e895124ef643c2b0574c84f3424857eeac.tar.gz
wcms-eab190e895124ef643c2b0574c84f3424857eeac.zip
default thumbnail fix #49
Diffstat (limited to 'app/view/templates/editleftbar.php')
-rw-r--r--app/view/templates/editleftbar.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php
index a7a8be6..cf30624 100644
--- a/app/view/templates/editleftbar.php
+++ b/app/view/templates/editleftbar.php
@@ -62,6 +62,12 @@
?>
</select>
+ <?php if(!empty($page->thumbnail())) { ?>
+ <div id="showthumbnail">
+ <img src="<?= Wcms\Model::thumbnailpath() . $page->thumbnail() ?>">
+ </div>
+ <?php } ?>
+