diff options
Diffstat (limited to 'usr')
-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"; |