From 4feb26d9553409b474afe6ec88cb7143b28bdb2c Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Fri, 4 Apr 2025 17:35:27 -0700 Subject: [PATCH] refactor: update variable comments for $theme, $themes1, and $themes2 in DefaultPageLayout.php to enhance clarity while maintaining backwards compatibility --- emhttp/plugins/dynamix/include/DefaultPageLayout.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emhttp/plugins/dynamix/include/DefaultPageLayout.php b/emhttp/plugins/dynamix/include/DefaultPageLayout.php index 9dd8c4430..90addefa9 100644 --- a/emhttp/plugins/dynamix/include/DefaultPageLayout.php +++ b/emhttp/plugins/dynamix/include/DefaultPageLayout.php @@ -13,9 +13,9 @@ getThemeName(); // keep var name for backwards compatibility -$themes1 = $themeHelper->isTopNavTheme(); // keep var name for backwards compatibility -$themes2 = $themeHelper->isSidebarTheme(); // keep var name for backwards compatibility +$theme = $themeHelper->getThemeName(); // keep $theme, $themes1, $themes2 vars for plugin backwards compatibility for the time being +$themes1 = $themeHelper->isTopNavTheme(); +$themes2 = $themeHelper->isSidebarTheme(); $themeHtmlClass = $themeHelper->getThemeHtmlClass(); $themeHelper->updateDockerLogColor($docroot);