1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11303] add S_TZ_PRESELECT template var

add a new template variable to check if timezone has already been selected
by the user while registeration.

PHPBB3-11303
This commit is contained in:
Dhruv
2013-02-08 16:22:36 +05:30
parent 2df2f27b96
commit 8e3aa08845
2 changed files with 2 additions and 1 deletions

View File

@@ -457,6 +457,7 @@ class ucp_register
'S_LANG_OPTIONS' => language_select($data['lang']),
'S_TZ_OPTIONS' => $timezone_selects['tz_select'],
'S_TZ_DATE_OPTIONS' => $timezone_selects['tz_dates'],
'S_TZ_PRESELECT' => (!$submit),
'S_CONFIRM_REFRESH' => ($config['enable_confirm'] && $config['confirm_refresh']) ? true : false,
'S_REGISTRATION' => true,
'S_COPPA' => $coppa,