diff --git a/emhttp/plugins/dynamix/include/DefaultPageLayout.php b/emhttp/plugins/dynamix/include/DefaultPageLayout.php index 3272afd75..b85398a60 100644 --- a/emhttp/plugins/dynamix/include/DefaultPageLayout.php +++ b/emhttp/plugins/dynamix/include/DefaultPageLayout.php @@ -17,6 +17,10 @@ $header = $display['header']; $backgnd = $display['background']; $themes1 = in_array($theme,['black','white']); $themes2 = in_array($theme,['gray','azure']); +$themeHtmlClass = "Theme--$theme"; +if ($themes2) { + $themeHtmlClass .= " Theme--sidebar"; +} $config = "/boot/config"; $entity = $notify['entity'] & 1 == 1; $alerts = '/tmp/plugins/my_alerts.txt'; @@ -28,7 +32,7 @@ exec("sed -ri 's/^\.logLine\{color:#......;/.logLine{color:$fgcolor;/' $docroot/ function annotate($text) {echo "\n\n";} ?> -lang="=strtok($locale,'_')?:'en'?>" class="= $themes2 ? 'Theme--sidebar' : ''; ?>"> +lang="=strtok($locale,'_')?:'en'?>" class="= $themeHtmlClass ?>">