diff options
author | Bart van Bragt <bartvb@users.sourceforge.net> | 2001-09-09 21:13:25 +0000 |
---|---|---|
committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2001-09-09 21:13:25 +0000 |
commit | 375e4d9903fe8faab63c275a250edc913eabae97 (patch) | |
tree | 7302001eb99778c38f8eabde068ed32af3269954 /phpBB | |
parent | 828447f53555e96bea4e37b6e6d1b78c5a3cc1fd (diff) | |
download | forums-375e4d9903fe8faab63c275a250edc913eabae97.tar forums-375e4d9903fe8faab63c275a250edc913eabae97.tar.gz forums-375e4d9903fe8faab63c275a250edc913eabae97.tar.bz2 forums-375e4d9903fe8faab63c275a250edc913eabae97.tar.xz forums-375e4d9903fe8faab63c275a250edc913eabae97.zip |
Fixed bug #460075
git-svn-id: file:///svn/phpbb/trunk@1017 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 34eedaf9bf..40b7756daa 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -741,7 +741,7 @@ function language_select($default, $select_name, $dirname="language/") // NOTE: This function should check is_dir($file), however the is_dir function seems to be buggy on my // system so its not currently implemented that way // - James -function template_select($default, $select_name, $dirname = "templates") +function template_select($default, $select_name = 'template', $dirname = "templates") { $dir = opendir($dirname); @@ -766,7 +766,7 @@ function template_select($default, $select_name, $dirname = "templates") return($template_select); } -function theme_select($default, $select_name) +function theme_select($default, $select_name = 'theme') { global $db, $board_config, $lang; @@ -807,7 +807,8 @@ function theme_select($default, $select_name) } return($theme_select); } -function tz_select($default, $select_name) + +function tz_select($default, $select_name = 'timezone') { global $sys_timezone; @@ -942,4 +943,4 @@ function obtain_word_list(&$orig_word, &$replacement_word) return(TRUE); } -?>
\ No newline at end of file +?> |