mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-18 22:41:28 +02:00
[feature/new-tz-handling] Properly name new timezone selection function
Marked the old one as deprecated and made it using the new function. PHPBB3-9558
This commit is contained in:
@@ -1639,7 +1639,7 @@ class acp_users
|
||||
${'s_sort_' . $sort_option . '_dir'} .= '</select>';
|
||||
}
|
||||
|
||||
$tz_select = tz_select($data['tz'], true, false);
|
||||
$timezone_selects = phpbb_timezone_select($data['tz'], true, false);
|
||||
$template->assign_vars(array(
|
||||
'S_PREFS' => true,
|
||||
'S_JABBER_DISABLED' => ($config['jab_enable'] && $user_row['user_jabber'] && @extension_loaded('xml')) ? false : true,
|
||||
@@ -1679,8 +1679,8 @@ class acp_users
|
||||
|
||||
'S_LANG_OPTIONS' => language_select($data['lang']),
|
||||
'S_STYLE_OPTIONS' => style_select($data['style']),
|
||||
'S_TZ_OPTIONS' => $tz_select['tz_select'],
|
||||
'S_TZ_DATE_OPTIONS' => $tz_select['tz_dates'],
|
||||
'S_TZ_OPTIONS' => $timezone_selects['tz_select'],
|
||||
'S_TZ_DATE_OPTIONS' => $timezone_selects['tz_dates'],
|
||||
)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user