require_once "$docroot/plugins/dynamix/include/ThemeHelper.php"; $themeHelper = new ThemeHelper($display['theme'], $display['width']); $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); $display['font'] = filter_var($_COOKIE['fontSize'] ?? $display['font'] ?? '',FILTER_SANITIZE_NUMBER_FLOAT,FILTER_FLAG_ALLOW_FRACTION); $header = $display['header']; $backgnd = $display['background']; $config = "/boot/config"; $entity = $notify['entity'] & 1 == 1; $alerts = '/tmp/plugins/my_alerts.txt'; $wlan0 = file_exists('/sys/class/net/wlan0'); function annotate($text) {echo "\n\n";} ?> lang="=strtok($locale,'_')?:'en'?>" class="= $themeHtmlClass ?>">