From 27f1fb9c19fa2c2fd28863809ccc6ba526499c0d Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 30 Jan 2020 03:32:31 +0100 Subject: thumbnail can be changed in multi edit --- app/view/templates/editleftbar.php | 38 ++++++++++---------------------------- 1 file changed, 10 insertions(+), 28 deletions(-) (limited to 'app/view/templates/editleftbar.php') diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php index cf30624..3004351 100644 --- a/app/view/templates/editleftbar.php +++ b/app/view/templates/editleftbar.php @@ -52,7 +52,9 @@ --no thumbnail--'; + if(!file_exists(Wcms\Model::thumbnailpath() . $page->thumbnail())) { + echo ''; + } foreach ($thumbnaillist as $thumbnail) { ?> @@ -97,6 +99,11 @@ ?> +
+ templateoptions()) ? 'checked' : '' ?>> + +
+ - - templatecss())) { - ?>
templateoptions()) ? 'checked' : '' ?>> @@ -126,20 +129,7 @@ templateoptions()) ? 'checked' : '' ?>>
-
- templateoptions()) ? 'checked' : '' ?>> - -
- templateoptions() as $option) { - if($option != 'externaljavascript') { - echo ''; - } - } - } - - ?> + @@ -155,20 +145,12 @@ - templatejavascript())) { - ?> +
templateoptions()) ? 'checked' : '' ?>>
- templateoptions())) { - echo ''; - } - - } ?> -- cgit v1.2.3