diff options
author | Andreas Fischer <bantu@phpbb.com> | 2014-07-23 01:27:42 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2014-07-23 01:27:42 +0200 |
commit | b5c847c2ef2daef3f579aeaf755a5dd55de11097 (patch) | |
tree | 2ef3606a373f0986e37e2ee4cd2db4db0ee94c88 /phpBB | |
parent | 9e1802396f7fdc3a9908d7c2c4d3bfb8f6156e75 (diff) | |
download | forums-b5c847c2ef2daef3f579aeaf755a5dd55de11097.tar forums-b5c847c2ef2daef3f579aeaf755a5dd55de11097.tar.gz forums-b5c847c2ef2daef3f579aeaf755a5dd55de11097.tar.bz2 forums-b5c847c2ef2daef3f579aeaf755a5dd55de11097.tar.xz forums-b5c847c2ef2daef3f579aeaf755a5dd55de11097.zip |
[ticket/12887] Fix Typo: offest -> offset
PHPBB3-12887
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 8b9969aced..3402a618b0 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1067,7 +1067,7 @@ function phpbb_timezone_select($user, $default = '', $truncate = false) $offset_string = phpbb_format_timezone_offset($offset); $timezones['GMT' . $offset_string . ' - ' . $timezone] = array( 'tz' => $timezone, - 'offest' => 'GMT' . $offset_string, + 'offset' => 'GMT' . $offset_string, 'current' => $current_time, ); if ($timezone === $default) @@ -1084,14 +1084,14 @@ function phpbb_timezone_select($user, $default = '', $truncate = false) foreach ($timezones as $timezone) { - if ($opt_group != $timezone['offest']) + if ($opt_group != $timezone['offset']) { $tz_select .= ($opt_group) ? '</optgroup>' : ''; - $tz_select .= '<optgroup label="' . $timezone['offest'] . ' - ' . $timezone['current'] . '">'; - $opt_group = $timezone['offest']; + $tz_select .= '<optgroup label="' . $timezone['offset'] . ' - ' . $timezone['current'] . '">'; + $opt_group = $timezone['offset']; - $selected = ($default_offset == $timezone['offest']) ? ' selected="selected"' : ''; - $tz_dates .= '<option value="' . $timezone['offest'] . ' - ' . $timezone['current'] . '"' . $selected . '>' . $timezone['offest'] . ' - ' . $timezone['current'] . '</option>'; + $selected = ($default_offset == $timezone['offset']) ? ' selected="selected"' : ''; + $tz_dates .= '<option value="' . $timezone['offset'] . ' - ' . $timezone['current'] . '"' . $selected . '>' . $timezone['offset'] . ' - ' . $timezone['current'] . '</option>'; } $label = $timezone['tz']; @@ -1099,7 +1099,7 @@ function phpbb_timezone_select($user, $default = '', $truncate = false) { $label = $user->lang['timezones'][$label]; } - $title = $timezone['offest'] . ' - ' . $label; + $title = $timezone['offset'] . ' - ' . $label; if ($truncate) { |