source: trunk/forum/styles/wowred/template/ucp_prefs_personal.html

Last change on this file was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 6.0 KB
Line 
1<!-- INCLUDE ucp_header.html -->
2
3<script type="text/javascript">
4// <![CDATA[
5 /**
6 * Set display of page element
7 * s[-1,0,1] = hide,toggle display,show
8 */
9 function dE(n,s)
10 {
11 var e = document.getElementById(n);
12 if (!s)
13 {
14 s = (e.style.display == '') ? -1 : 1;
15 }
16 e.style.display = (s == 1) ? 'block' : 'none';
17 }
18
19 var default_dateformat = '{A_DEFAULT_DATEFORMAT}';
20// ]]>
21</script>
22
23<table class="tablebg" width="100%" cellspacing="1">
24<tr>
25 <th colspan="2" valign="middle">{L_TITLE}</th>
26</tr>
27<!-- IF ERROR -->
28 <tr>
29 <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td>
30 </tr>
31<!-- ENDIF -->
32<tr>
33 <td class="row1" width="50%"><b class="genmed">{L_SHOW_EMAIL}:</b></td>
34 <td class="row2"><input type="radio" class="radio" name="viewemail" value="1"<!-- IF S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="viewemail" value="0"<!-- IF not S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td>
35</tr>
36<tr>
37 <td class="row1" width="50%"><b class="genmed">{L_ADMIN_EMAIL}:</b></td>
38 <td class="row2"><input type="radio" class="radio" name="massemail" value="1"<!-- IF S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="massemail" value="0"<!-- IF not S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td>
39</tr>
40<tr>
41 <td class="row1" width="50%"><b class="genmed">{L_ALLOW_PM}:</b><br /><span class="gensmall">{L_ALLOW_PM_EXPLAIN}</span></td>
42 <td class="row2"><input type="radio" class="radio" name="allowpm" value="1"<!-- IF S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="allowpm" value="0"<!-- IF not S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td>
43</tr>
44<!-- IF S_CAN_HIDE_ONLINE -->
45 <tr>
46 <td class="row1" width="50%"><b class="genmed">{L_HIDE_ONLINE}:</b><br /><span class="gensmall">{L_HIDE_ONLINE_EXPLAIN}</span></td>
47 <td class="row2"><input type="radio" class="radio" name="hideonline" value="1"<!-- IF S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="hideonline" value="0"<!-- IF not S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td>
48 </tr>
49<!-- ENDIF -->
50<!-- IF S_SELECT_NOTIFY -->
51 <tr>
52 <td class="row1" width="50%"><b class="genmed">{L_NOTIFY_METHOD}:</b><br /><span class="gensmall">{L_NOTIFY_METHOD_EXPLAIN}</span></td>
53 <td class="row2"><input type="radio" class="radio" name="notifymethod" value="0"<!-- IF S_NOTIFY_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NOTIFY_METHOD_EMAIL}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="notifymethod" value="1"<!-- IF S_NOTIFY_IM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NOTIFY_METHOD_IM}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="notifymethod" value="2"<!-- IF S_NOTIFY_BOTH --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NOTIFY_METHOD_BOTH}</span></td>
54 </tr>
55<!-- ENDIF -->
56<tr>
57 <td class="row1" width="50%"><b class="genmed">{L_NOTIFY_ON_PM}:</b></td>
58 <td class="row2"><input type="radio" class="radio" name="notifypm" value="1"<!-- IF S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="notifypm" value="0"<!-- IF not S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td>
59</tr>
60<tr>
61 <td class="row1" width="50%"><b class="genmed">{L_POPUP_ON_PM}:</b></td>
62 <td class="row2"><input type="radio" class="radio" name="popuppm" value="1"<!-- IF S_POPUP_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="popuppm" value="0"<!-- IF not S_POPUP_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td>
63</tr>
64<tr>
65 <td class="row1" width="50%"><b class="genmed">{L_BOARD_LANGUAGE}:</b></td>
66 <td class="row2"><select name="lang">{S_LANG_OPTIONS}</select></td>
67</tr>
68<!-- IF S_STYLE_OPTIONS -->
69<tr>
70 <td class="row1" width="50%"><b class="genmed">{L_BOARD_STYLE}:</b></td>
71 <td class="row2"><select name="style">{S_STYLE_OPTIONS}</select></td>
72</tr>
73<!-- ENDIF -->
74<tr>
75 <td class="row1" width="50%"><b class="genmed">{L_BOARD_TIMEZONE}:</b></td>
76 <td class="row2">
77 <select id="tz" name="tz">{S_TZ_OPTIONS}</select>
78 </td>
79</tr>
80<tr>
81 <td class="row1" width="50%"><b class="genmed">{L_BOARD_DST}:</b></td>
82 <td class="row2"><input type="radio" class="radio" name="dst" value="1"<!-- IF S_DST --> checked="checked"<!-- ENDIF --> /> <span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="dst" value="0"<!-- IF not S_DST --> checked="checked"<!-- ENDIF --> /> <span class="genmed">{L_NO}</span></td>
83</tr>
84<tr>
85 <td class="row1" width="50%"><b class="genmed">{L_BOARD_DATE_FORMAT}:</b><br /><span class="gensmall">{L_BOARD_DATE_FORMAT_EXPLAIN}</span></td>
86 <td class="row2">
87 <select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){dE('custom_date',1);}else{dE('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = default_dateformat; } else { document.getElementById('dateformat').value = this.value; }">
88 {S_DATEFORMAT_OPTIONS}
89 </select>
90 <div id="custom_date"<!-- IF not S_CUSTOM_DATEFORMAT --> style="display:none;"<!-- ENDIF -->><input type="text" name="dateformat" id="dateformat" value="{DATE_FORMAT}" maxlength="30" class="post" style="margin-top: 3px;" /></div>
91 </td>
92</tr>
93<tr>
94 <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" />&nbsp;&nbsp;<input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td>
95</tr>
96</table>
97
98<!-- INCLUDE ucp_footer.html -->
Note: See TracBrowser for help on using the repository browser.