mirror of
https://github.com/unraid/webgui.git
synced 2026-02-23 10:49:52 -06:00
refactor: update variable comments for $theme, $themes1, and $themes2 in DefaultPageLayout.php to enhance clarity while maintaining backwards compatibility
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user