mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Fixed bug #460075
git-svn-id: file:///svn/phpbb/trunk@1017 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
828447f535
commit
375e4d9903
1 changed files with 5 additions and 4 deletions
|
@ -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
|
// 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
|
// system so its not currently implemented that way
|
||||||
// - James
|
// - James
|
||||||
function template_select($default, $select_name, $dirname = "templates")
|
function template_select($default, $select_name = 'template', $dirname = "templates")
|
||||||
{
|
{
|
||||||
$dir = opendir($dirname);
|
$dir = opendir($dirname);
|
||||||
|
|
||||||
|
@ -766,7 +766,7 @@ function template_select($default, $select_name, $dirname = "templates")
|
||||||
return($template_select);
|
return($template_select);
|
||||||
}
|
}
|
||||||
|
|
||||||
function theme_select($default, $select_name)
|
function theme_select($default, $select_name = 'theme')
|
||||||
{
|
{
|
||||||
global $db, $board_config, $lang;
|
global $db, $board_config, $lang;
|
||||||
|
|
||||||
|
@ -807,7 +807,8 @@ function theme_select($default, $select_name)
|
||||||
}
|
}
|
||||||
return($theme_select);
|
return($theme_select);
|
||||||
}
|
}
|
||||||
function tz_select($default, $select_name)
|
|
||||||
|
function tz_select($default, $select_name = 'timezone')
|
||||||
{
|
{
|
||||||
global $sys_timezone;
|
global $sys_timezone;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue