$display['font'] = filter_var($_COOKIE['fontSize'] ?? $display['font'] ?? '',FILTER_SANITIZE_NUMBER_FLOAT,FILTER_FLAG_ALLOW_FRACTION); $theme = strtok($display['theme'],'-'); $header = $display['header']; $backgnd = $display['background']; $themes1 = in_array($theme,['black','white']); $themes2 = in_array($theme,['gray','azure']); $config = "/boot/config"; $entity = $notify['entity'] & 1 == 1; $alerts = '/tmp/plugins/my_alerts.txt'; // adjust the text color in docker log window $fgcolor = in_array($theme,['white','azure']) ? '#1c1c1c' : '#f2f2f2'; exec("sed -ri 's/^\.logLine\{color:#......;/.logLine{color:$fgcolor;/' $docroot/plugins/dynamix.docker.manager/log.htm >/dev/null &"); function annotate($text) {echo "\n\n";} ?> lang="=strtok($locale,'_')?:'en'?>">