mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
[ticket/17100] Move timezone select HTML from PHP file
PHPBB3-17100
This commit is contained in:
@@ -1052,11 +1052,15 @@ class acp_board
|
||||
*/
|
||||
function timezone_select($value, $key)
|
||||
{
|
||||
global $template, $user;
|
||||
global $user;
|
||||
|
||||
$timezone_select = phpbb_timezone_select($template, $user, $value, true);
|
||||
$timezone_select = phpbb_timezone_select($user, $value, true);
|
||||
|
||||
return '<select name="config[' . $key . ']" id="' . $key . '">' . $timezone_select . '</select>';
|
||||
return [
|
||||
'tag' => 'select',
|
||||
'name' => 'config[' . $key . ']',
|
||||
'options' => $timezone_select,
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user