diff options
author | Renato Botelho <renato@netgate.com> | 2015-10-22 18:32:32 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-10-22 18:32:32 -0200 |
commit | cf093b35443966b7cbf4f466308fa2358cd3cd31 (patch) | |
tree | 4e80133e8043cb009a9da79fce4bc6ae11f84c61 /src/usr/local/www/guiconfig.inc | |
parent | 029252869219fb20de8d485e7856798cd7d3514a (diff) | |
download | pfsense-cf093b35443966b7cbf4f466308fa2358cd3cd31.zip pfsense-cf093b35443966b7cbf4f466308fa2358cd3cd31.tar.gz |
Remove more references to theme, ticket #5333
Diffstat (limited to 'src/usr/local/www/guiconfig.inc')
-rw-r--r-- | src/usr/local/www/guiconfig.inc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc index 66b8afd..969ec46 100644 --- a/src/usr/local/www/guiconfig.inc +++ b/src/usr/local/www/guiconfig.inc @@ -89,8 +89,6 @@ foreach (scandir("/usr/local/www/classes/") as $file) { } } -$g['theme'] = get_current_theme(); - /* Set the default interface language */ if ($config['system']['language'] <> "") { $g['language'] = $config['system']['language']; @@ -354,19 +352,6 @@ function print_info_box_np_undo($msg, $name = "apply", $value = "Apply changes", $nifty_redbox = "#990000"; $nifty_blackbox = "#000000"; - $themename = $g['theme']; - - if (file_exists("/usr/local/www/themes/{$themename}/tabcontrols.php")) { - $toeval = file_get_contents("/usr/local/www/themes/{$themename}/tabcontrols.php"); - eval($toeval); - } - - if (file_exists("/usr/local/www/themes/{$themename}/infobox.php")) { - $toeval = file_get_contents("/usr/local/www/themes/{$themename}/infobox.php"); - eval($toeval); - } - - if (!$savebutton) { $savebutton = "<td class=\"infoboxsave\"><input value=\"" . gettext("Close") . "\" type=\"button\" onclick=\"jQuery(this).parents('table[id=redboxtable]').hide();\" /></td>"; } |