From 0968351067f99e8afc882d4237902642e608e6f5 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 18 Oct 2019 15:50:34 +0200 Subject: Big naming Clean-up Art -> Page --- app/view/templates/editleftbar.php | 70 +++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'app/view/templates/editleftbar.php') diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php index bd3fd15..d169473 100644 --- a/app/view/templates/editleftbar.php +++ b/app/view/templates/editleftbar.php @@ -3,40 +3,40 @@
- +
Infos
- + - + - + - + - + - no-thumbnail + no-thumbnail
@@ -61,16 +61,16 @@ -
templatebody()) || !empty($art->templatecss()) || !empty($art->templatejavascript()) ? 'open' : '' ?>> +
templatebody()) || !empty($page->templatecss()) || !empty($page->templatejavascript()) ? 'open' : '' ?>> Template
- + - + templatecss())) { + if(!empty($page->templatecss())) { ?>
- templateoptions()) ? 'checked' : '' ?>> + templateoptions()) ? 'checked' : '' ?>>
- templateoptions()) ? 'checked' : '' ?>> + templateoptions()) ? 'checked' : '' ?>>
- templateoptions()) ? 'checked' : '' ?>> + templateoptions()) ? 'checked' : '' ?>>
- templateoptions()) ? 'checked' : '' ?>> + templateoptions()) ? 'checked' : '' ?>>
templateoptions() as $option) { + foreach($page->templateoptions() as $option) { if($option != 'externaljavascript') { echo ''; } @@ -123,11 +123,11 @@ templateoptions()) ? 'checked' : '' ?>> + templateoptions()) ? 'checked' : '' ?>> templateoptions())) { + if(in_array('externaljavascript', $page->templateoptions())) { echo ''; } @@ -152,7 +152,7 @@
-
externalcss()) || !empty($art->customhead()) ? 'open' : '' ?>> +
externalcss()) || !empty($page->customhead()) ? 'open' : '' ?>> Advanced @@ -163,7 +163,7 @@ externalcss() as $css) { + foreach ($page->externalcss() as $css) { ?>
@@ -174,7 +174,7 @@ ?> - + -- cgit v1.2.3