diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-09 21:36:14 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-09 21:36:14 +0000 |
commit | a74e21f72485864601203bcf5a2f9de285a054af (patch) | |
tree | 5eb2d3bd7569cbee181d7a09eb22bf5a7429bf42 /usr | |
parent | ba21539c62bd14f105f3a2ce167b572d9c2c8b86 (diff) | |
download | pfsense-a74e21f72485864601203bcf5a2f9de285a054af.zip pfsense-a74e21f72485864601203bcf5a2f9de285a054af.tar.gz |
Add themes/$themename/infobox.php which allows:
$nifty_redbox = "#990000";
$nifty_blackbox = "#000000";
... To be overridden.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/guiconfig.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index 0a50980..4c68aaf 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -302,6 +302,11 @@ function print_info_box_np($msg, $name="apply",$value="Apply changes") { $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); + } echo <<<EOFnp <table class='infobox'> |