mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/new-tz-handling] Remove additional marking of selected items
PHPBB3-9558
This commit is contained in:
@@ -1207,7 +1207,7 @@ function phpbb_timezone_select($default = '', $truncate = false)
|
||||
$opt_group = $timezone['offest'];
|
||||
|
||||
$selected = ($default_offset == $timezone['offest']) ? ' selected="selected"' : '';
|
||||
$tz_dates .= '<option value="' . $timezone['offest'] . ' - ' . $timezone['current'] . '"' . $selected . '>' . $timezone['offest'] . ' - ' . $timezone['current'] . ($selected ? ' ' . $user->lang['TIMEZONE_SELECTED'] : '') . '</option>';
|
||||
$tz_dates .= '<option value="' . $timezone['offest'] . ' - ' . $timezone['current'] . '"' . $selected . '>' . $timezone['offest'] . ' - ' . $timezone['current'] . '</option>';
|
||||
}
|
||||
|
||||
if (isset($user->lang['timezones'][$timezone['tz']]))
|
||||
@@ -1229,7 +1229,7 @@ function phpbb_timezone_select($default = '', $truncate = false)
|
||||
}
|
||||
|
||||
$selected = ($timezone['tz'] === $default) ? ' selected="selected"' : '';
|
||||
$tz_select .= '<option title="' . $title . '" value="' . $timezone['tz'] . '"' . $selected . '>' . $label . ($selected ? ' ' . $user->lang['TIMEZONE_SELECTED'] : '') . '</option>';
|
||||
$tz_select .= '<option title="' . $title . '" value="' . $timezone['tz'] . '"' . $selected . '>' . $label . '</option>';
|
||||
}
|
||||
$tz_select .= '</optgroup>';
|
||||
|
||||
|
@@ -431,7 +431,6 @@ $lang = array_merge($lang, array(
|
||||
'TIMEZONE' => 'Timezone',
|
||||
'TIMEZONE_DATE_SUGGESTION' => 'Suggestion: %s',
|
||||
'TIMEZONE_INVALID' => 'The timezone you selected is invalid.',
|
||||
'TIMEZONE_SELECTED' => '(currently selected)',
|
||||
'TO' => 'To',
|
||||
'TOO_MANY_RECIPIENTS' => 'You tried to send a private message to too many recipients.',
|
||||
'TOO_MANY_REGISTERS' => 'You have exceeded the maximum number of registration attempts for this session. Please try again later.',
|
||||
|
Reference in New Issue
Block a user