refactor: update variable comments for $theme, $themes1, and $themes2 in DefaultPageLayout.php to enhance clarity while maintaining backwards compatibility

This commit is contained in:
Zack Spear
2025-04-04 17:35:27 -07:00
parent a754aa6992
commit 4feb26d955

View File

@@ -13,9 +13,9 @@
<?
require_once "$docroot/plugins/dynamix/include/ThemeHelper.php";
$themeHelper = new ThemeHelper($display['theme']);
$theme = $themeHelper->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);