From 81ff3addf52444a14d25c7c6b92a321bba718da2 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Thu, 4 Feb 2010 22:13:19 -0500 Subject: add ability to disable theme selection --- usr/local/www/system.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usr/local/www/system.php b/usr/local/www/system.php index 3c385e2..0fc2976 100755 --- a/usr/local/www/system.php +++ b/usr/local/www/system.php @@ -135,7 +135,9 @@ if ($_POST) { update_if_changed("NTP update interval", $config['system']['time-update-interval'], $_POST['timeupdateinterval']); /* pfSense themes */ - update_if_changed("System Theme", $config['theme'], $_POST['theme']); + if (! $g['disablethemeselection']) { + update_if_changed("System Theme", $config['theme'], $_POST['theme']); + } /* XXX - billm: these still need updating after figuring out how to check if they actually changed */ unset($config['system']['dnsserver']); @@ -292,6 +294,7 @@ include("head.inc");   + Theme @@ -316,6 +319,7 @@ include("head.inc"); This will change the look and feel of +   -- cgit v1.1