mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update usercp_register.tpl
This commit is contained in:
parent
f85827534a
commit
4b061c4e97
@ -40,14 +40,12 @@ ajax.callback.user_register = function(data){
|
||||
<!-- IF ADM_EDIT -->
|
||||
<input type="hidden" name="u" value="{PR_USER_ID}" />
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not ADM_EDIT -->
|
||||
<!-- IF not EDIT_PROFILE -->
|
||||
<script type="text/javascript">
|
||||
x = new Date();
|
||||
tz = -x.getTimezoneOffset()/60;
|
||||
document.write('<input type="hidden" name="user_timezone" value="'+tz+'" />');
|
||||
</script>
|
||||
<!-- ELSE -->
|
||||
<input type="hidden" name="user_timezone" value="{USER_TIMEZONE}" />
|
||||
<!-- ENDIF -->
|
||||
|
||||
<table class="forumline prof-tbl">
|
||||
@ -156,6 +154,10 @@ document.write('<input type="hidden" name="user_timezone" value="'+tz+'" />');
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF EDIT_PROFILE -->
|
||||
<tr>
|
||||
<td class="prof-title">{L_SYSTEM_TIMEZONE}:</td>
|
||||
<td>{TIMEZONE_SELECT}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{L_PREFERENCES}</th>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user