From 9021494b5ef58d41b8034a3d801ebbca357898fd Mon Sep 17 00:00:00 2001 From: Achim Ennenbach Date: Sun, 3 Feb 2019 17:51:34 +0100 Subject: [PATCH] fixes #3663: 1.custompages are "deleted" for the current selected layout 2. custompages of the selected layout are not editable --- e107_handlers/theme_handler.php | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php index ac3395621..fd5c56506 100644 --- a/e107_handlers/theme_handler.php +++ b/e107_handlers/theme_handler.php @@ -2371,8 +2371,12 @@ class themeHandler "; // Default - if($pref['sitetheme_deflayout'] != $key) - { + // issue #3663: 1. custompages are "deleted" for the current selected layout + // issue #3663: 2. custompages of the selected layout are not editable + + //if($pref['sitetheme_deflayout'] != $key) + //if(isset($pref['sitetheme_custompages'][$key])) + //{ $itext .= $custompage_diz."
"; @@ -2386,11 +2390,11 @@ class themeHandler $itext .= "
\n"; - } - else - { - $itext .= TPVLAN_55; - } + //} + //else + //{ + // $itext .= TPVLAN_55; + //}