diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2012-06-12 19:50:55 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2012-06-18 15:09:12 +0200 |
| commit | 4fbee37752f8b854a98f60f4f7befc09f33e604c (patch) | |
| tree | da1091768f3857b0ab30626be6757509cf6f7128 /phpBB/styles/prosilver/template/ucp_prefs_personal.html | |
| parent | 66f7d45603417df7619323977de62aebce0bf676 (diff) | |
| download | forums-4fbee37752f8b854a98f60f4f7befc09f33e604c.tar forums-4fbee37752f8b854a98f60f4f7befc09f33e604c.tar.gz forums-4fbee37752f8b854a98f60f4f7befc09f33e604c.tar.bz2 forums-4fbee37752f8b854a98f60f4f7befc09f33e604c.tar.xz forums-4fbee37752f8b854a98f60f4f7befc09f33e604c.zip | |
[feature/new-tz-handling] Move timezone option into its own template file
This should make it much easier for extensions to change the handling of the timezone selection
PHPBB3-9558
Diffstat (limited to 'phpBB/styles/prosilver/template/ucp_prefs_personal.html')
| -rw-r--r-- | phpBB/styles/prosilver/template/ucp_prefs_personal.html | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_prefs_personal.html b/phpBB/styles/prosilver/template/ucp_prefs_personal.html index c798b1a1f2..29c01e03b9 100644 --- a/phpBB/styles/prosilver/template/ucp_prefs_personal.html +++ b/phpBB/styles/prosilver/template/ucp_prefs_personal.html @@ -73,22 +73,7 @@ <dd><select name="style" id="style">{S_STYLE_OPTIONS}</select></dd> </dl> <!-- ENDIF --> - <dl> - <dt><label for="timezone">{L_BOARD_TIMEZONE}:</label></dt> - <dd id="tz_select_date" style="display: none;"> - <select name="tz_date" id="tz_date" class="autowidth tz_select" onchange="phpbb_switch_tz_date(false);"> - <option value="">{L_SELECT_CURRENT_TIME}</option> - {S_TZ_DATE_OPTIONS} - </select> - <a id="tz_select_date_suggest" style="display: none;" href="javascript: phpbb_preselect_tz_select(true, '');">{L_TIMEZONE_DATE_SUGGESTION}</a> - </dd> - <dd> - <select name="tz" id="timezone" class="autowidth tz_select"> - <option value="">{L_SELECT_TIMEZONE}</option> - {S_TZ_OPTIONS} - </select> - </dd> - </dl> + <!-- INCLUDE timezone_option.html --> <dl> <dt><label for="dateformat">{L_BOARD_DATE_FORMAT}:</label><br /><span>{L_BOARD_DATE_FORMAT_EXPLAIN}</span></dt> <dd> @@ -146,8 +131,4 @@ // ]]> </script> -<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/timezone.js"></script> -<script type="text/javascript">phpbb_enable_tz_dates();</script> -<script type="text/javascript">phpbb_preselect_tz_select(false, '{L_TIMEZONE_DATE_SUGGESTION}');</script> - <!-- INCLUDE ucp_footer.html --> |
