summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-17 18:06:47 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-17 18:06:47 +0000
commitce5ddbd60decaebc4fc532465fff2de16f8ee75a (patch)
tree5320517243aa43115c050b6535caf6e16205da92 /usr/local/www
parente9c01d90b0286c0a90bc71516a3d3ed1d27ec3d4 (diff)
downloadpfsense-ce5ddbd60decaebc4fc532465fff2de16f8ee75a.zip
pfsense-ce5ddbd60decaebc4fc532465fff2de16f8ee75a.tar.gz
template -> theme
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_advanced.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 0b664aa..118e11f 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -48,7 +48,7 @@ $pconfig['noantilockout'] = isset($config['system']['webgui']['noantilockout']);
$pconfig['tcpidletimeout'] = $config['filter']['tcpidletimeout'];
$pconfig['schedulertype'] = $config['system']['schedulertype'];
$pconfig['maximumstates'] = $config['system']['maximumstates'];
-$pconfig['template'] = $config['system']['template'];
+$pconfig['theme'] = $config['system']['theme'];
$pconfig['disablerendevouz'] = $config['system']['disablerendevouz'];
$pconfig['enableserial'] = $config['system']['enableserial'];
$pconfig['disablefirmwarecheck'] = isset($config['system']['disablefirmwarecheck']);
@@ -152,8 +152,8 @@ if ($_POST) {
$config['ipsec']['preferoldsa'] = $_POST['preferoldsa_enable'] ? true : false;
- /* pfSense templates */
- $config['template'] = $_POST['template'];
+ /* pfSense themes */
+ $config['theme'] = $_POST['theme'];
write_config();
@@ -286,7 +286,7 @@ function openwindow(url) {
<tr>
<td width="22%" valign="top" class="vncell">&nbsp;</td>
<td width="78%" class="vtable">
- <select name="template">
+ <select name="theme">
<?php
$files = return_dir_as_array("/usr/local/www/themes/");
foreach($files as $f) {
@@ -294,7 +294,7 @@ function openwindow(url) {
$selected = "";
if($f == $config['theme'])
$selected = " SELECTED";
- if($config['template'] == "" and $f == "pfsense")
+ if($config['theme'] == "" and $f == "pfsense")
$selceted = " SELECTED";
echo "<option{$selected}>{$f}</option>\n";
}
OpenPOWER on IntegriCloud