diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-17 17:31:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-17 17:31:39 +0000 |
commit | 9e82c54f8fc0f7b198d211eec682db73c9a766d2 (patch) | |
tree | f54dc9426298b1e63f0fbf977871a07313801f38 | |
parent | 3487fb14ade0f7d7be4d527377f7c2e63754253b (diff) | |
download | pfsense-9e82c54f8fc0f7b198d211eec682db73c9a766d2.zip pfsense-9e82c54f8fc0f7b198d211eec682db73c9a766d2.tar.gz |
template -> theme
-rwxr-xr-x | usr/local/www/head.inc | 6 | ||||
-rwxr-xr-x | usr/local/www/system_advanced.php | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index f2e1b19..1cbf18b 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -6,10 +6,10 @@ * if user has selected a custom template, use it. * otherwise default to pfsense tempalte */ -if($config['template'] <> "") - $g['template'] = $config['template']; +if($config['theme'] <> "") + $g['theme'] = $config['theme']; else - $g['template'] = "pfsense"; + $g['theme'] = "pfsense"; ?> <html> diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php index 3eec4a7..0b664aa 100755 --- a/usr/local/www/system_advanced.php +++ b/usr/local/www/system_advanced.php @@ -288,11 +288,11 @@ function openwindow(url) { <td width="78%" class="vtable"> <select name="template"> <?php - $files = return_dir_as_array("/usr/local/www/templates/"); + $files = return_dir_as_array("/usr/local/www/themes/"); foreach($files as $f) { if($f == "CVS") continue; $selected = ""; - if($f == $config['template']) + if($f == $config['theme']) $selected = " SELECTED"; if($config['template'] == "" and $f == "pfsense") $selceted = " SELECTED"; |