summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-02 22:41:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-02 22:41:35 +0000
commitf0f7a3ebb703c5b95b11eda5a060f420aec5e563 (patch)
treee3a6f6d78a90e6a055fc00b8fd18df2d53c43f8b /usr/local/www/system_advanced.php
parentf3bfeeea5c8e795bc50b0903c583b92fc1960d2f (diff)
downloadpfsense-f0f7a3ebb703c5b95b11eda5a060f420aec5e563.zip
pfsense-f0f7a3ebb703c5b95b11eda5a060f420aec5e563.tar.gz
Move theme selector to general screen
Ticket #895
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-xusr/local/www/system_advanced.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index cfa5360..e193fac 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -46,7 +46,6 @@ $pconfig['noantilockout'] = isset($config['system']['webgui']['noantilockout']);
$pconfig['filteringbridge_enable'] = isset($config['bridge']['filteringbridge']);
$pconfig['tcpidletimeout'] = $config['filter']['tcpidletimeout'];
$pconfig['maximumstates'] = $config['system']['maximumstates'];
-$pconfig['theme'] = $config['system']['theme'];
$pconfig['disablerendevouz'] = $config['system']['disablerendevouz'];
$pconfig['enableserial'] = $config['system']['enableserial'];
$pconfig['disablefirmwarecheck'] = isset($config['system']['disablefirmwarecheck']);
@@ -202,9 +201,6 @@ if ($_POST) {
$config['bridge']['filteringbridge'] = $_POST['filteringbridge_enable'] ? true : false;
- /* pfSense themes */
- $config['theme'] = $_POST['theme'];
-
write_config();
$retval = 0;
@@ -309,33 +305,6 @@ include("head.inc");
</td>
</tr>
<tr>
- <td colspan="2" class="list" height="12">&nbsp;</td>
- </tr>
- <tr>
- <td colspan="2" valign="top" class="listtopic">Theme</td>
- </tr>
- <tr>
- <td width="22%" valign="top" class="vncell">&nbsp;</td>
- <td width="78%" class="vtable">
- <select name="theme">
-<?php
- $files = return_dir_as_array("/usr/local/www/themes/");
- foreach($files as $f) {
- if ( (substr($f, 0, 1) == "_") && !isset($config['system']['developer']) ) continue;
- if($f == "CVS") continue;
- $selected = "";
- if($f == $config['theme'])
- $selected = " SELECTED";
- if($config['theme'] == "" and $f == "pfsense")
- $selceted = " SELECTED";
- echo "\t\t\t\t\t"."<option{$selected}>{$f}</option>\n";
- }
-?>
- </select>
- <strong>This will change the look and feel of pfSense</strong>
- </td>
- </tr>
- <tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
<input name="Submit" type="submit" class="formbtn" value="Save" onclick="enable_change(true)" />
@@ -696,9 +665,6 @@ if ($_POST) {
$config['bridge']['filteringbridge'] = $_POST['filteringbridge_enable'] ? true : false;
- /* pfSense themes */
- $config['theme'] = $_POST['theme'];
-
write_config();
$retval = 0;
OpenPOWER on IntegriCloud