mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/new-tz-handling] Remove additional marking of selected items
PHPBB3-9558
This commit is contained in:
parent
14a07b1193
commit
81627e2888
2 changed files with 2 additions and 3 deletions
|
@ -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.',
|
||||
|
|
Loading…
Add table
Reference in a new issue