summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-09 21:36:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-09 21:36:14 +0000
commita74e21f72485864601203bcf5a2f9de285a054af (patch)
tree5eb2d3bd7569cbee181d7a09eb22bf5a7429bf42 /usr
parentba21539c62bd14f105f3a2ce167b572d9c2c8b86 (diff)
downloadpfsense-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-xusr/local/www/guiconfig.inc5
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'>
OpenPOWER on IntegriCloud