1 | <!-- INCLUDE ucp_header.html -->
|
---|
2 |
|
---|
3 | <form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
---|
4 |
|
---|
5 | <h2>{L_TITLE}</h2>
|
---|
6 |
|
---|
7 | <div class="panel">
|
---|
8 | <div class="inner"><span class="corners-top"><span></span></span>
|
---|
9 |
|
---|
10 | <fieldset>
|
---|
11 | <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
---|
12 | <dl>
|
---|
13 | <dt><label for="viewemail0">{L_SHOW_EMAIL}:</label></dt>
|
---|
14 | <dd>
|
---|
15 | <label for="viewemail1"><input type="radio" name="viewemail" id="viewemail1" value="1"<!-- IF S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
---|
16 | <label for="viewemail0"><input type="radio" name="viewemail" id="viewemail0" value="0"<!-- IF not S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
---|
17 | </dd>
|
---|
18 | </dl>
|
---|
19 | <dl>
|
---|
20 | <dt><label for="massemail1">{L_ADMIN_EMAIL}:</label></dt>
|
---|
21 | <dd>
|
---|
22 | <label for="massemail1"><input type="radio" name="massemail" id="massemail1" value="1"<!-- IF S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
---|
23 | <label for="massemail0"><input type="radio" name="massemail" id="massemail0" value="0"<!-- IF not S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
---|
24 | </dd>
|
---|
25 | </dl>
|
---|
26 | <dl>
|
---|
27 | <dt><label for="allowpm1">{L_ALLOW_PM}:</label><br /><span>{L_ALLOW_PM_EXPLAIN}</span></dt>
|
---|
28 | <dd>
|
---|
29 | <label for="allowpm1"><input type="radio" name="allowpm" id="allowpm1" value="1"<!-- IF S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
---|
30 | <label for="allowpm0"><input type="radio" name="allowpm" id="allowpm0" value="0"<!-- IF not S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
---|
31 | </dd>
|
---|
32 | </dl>
|
---|
33 | <!-- IF S_CAN_HIDE_ONLINE -->
|
---|
34 | <dl>
|
---|
35 | <dt><label for="hideonline0">{L_HIDE_ONLINE}:</label><br /><span>{L_HIDE_ONLINE_EXPLAIN}</span></dt>
|
---|
36 | <dd>
|
---|
37 | <label for="hideonline1"><input type="radio" name="hideonline" id="hideonline1" value="1"<!-- IF S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
---|
38 | <label for="hideonline0"><input type="radio" name="hideonline" id="hideonline0" value="0"<!-- IF not S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
---|
39 | </dd>
|
---|
40 | </dl>
|
---|
41 | <!-- ENDIF -->
|
---|
42 | <!-- IF S_SELECT_NOTIFY -->
|
---|
43 | <dl>
|
---|
44 | <dt><label for="notifymethod0">{L_NOTIFY_METHOD}:</label></dt>
|
---|
45 | <dd>
|
---|
46 | <label for="notifymethod0"><input type="radio" name="notifymethod" id="notifymethod0" value="0"<!-- IF S_NOTIFY_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_EMAIL}</label>
|
---|
47 | <label for="notifymethod1"><input type="radio" name="notifymethod" id="notifymethod1" value="1"<!-- IF S_NOTIFY_IM --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_IM}</label>
|
---|
48 | <label for="notifymethod2"><input type="radio" name="notifymethod" id="notifymethod2" value="2"<!-- IF S_NOTIFY_BOTH --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_BOTH}</label>
|
---|
49 | </dd>
|
---|
50 | </dl>
|
---|
51 | <!-- ENDIF -->
|
---|
52 | <dl>
|
---|
53 | <dt><label for="notifypm1">{L_NOTIFY_ON_PM}:</label></dt>
|
---|
54 | <dd>
|
---|
55 | <label for="notifypm1"><input type="radio" name="notifypm" id="notifypm1" value="1"<!-- IF S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
---|
56 | <label for="notifypm0"><input type="radio" name="notifypm" id="notifypm0" value="0"<!-- IF not S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
---|
57 | </dd>
|
---|
58 | </dl>
|
---|
59 | <dl>
|
---|
60 | <dt><label for="popuppm0">{L_POPUP_ON_PM}:</label></dt>
|
---|
61 | <dd>
|
---|
62 | <label for="popuppm1"><input type="radio" name="popuppm" id="popuppm1" value="1"<!-- IF S_POPUP_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
---|
63 | <label for="popuppm0"><input type="radio" name="popuppm" id="popuppm0" value="0"<!-- IF not S_POPUP_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
---|
64 | </dd>
|
---|
65 | </dl>
|
---|
66 | <dl>
|
---|
67 | <dt><label for="lang">{L_BOARD_LANGUAGE}:</label></dt>
|
---|
68 | <dd><select name="lang" id="lang">{S_LANG_OPTIONS}</select></dd>
|
---|
69 | </dl>
|
---|
70 | <!-- IF S_STYLE_OPTIONS -->
|
---|
71 | <dl>
|
---|
72 | <dt><label for="style">{L_BOARD_STYLE}:</label></dt>
|
---|
73 | <dd><select name="style" id="style">{S_STYLE_OPTIONS}</select></dd>
|
---|
74 | </dl>
|
---|
75 | <!-- ENDIF -->
|
---|
76 | <dl>
|
---|
77 | <dt><label for="timezone">{L_BOARD_TIMEZONE}:</label></dt>
|
---|
78 | <dd><select name="tz" id="timezone" class="autowidth">{S_TZ_OPTIONS}</select></dd>
|
---|
79 | </dl>
|
---|
80 | <dl>
|
---|
81 | <dt><label for="dst1">{L_BOARD_DST}:</label></dt>
|
---|
82 | <dd>
|
---|
83 | <label for="dst1"><input type="radio" name="dst" id="dst1" value="1"<!-- IF S_DST --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
---|
84 | <label for="dst0"><input type="radio" name="dst" id="dst0" value="0"<!-- IF not S_DST --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
---|
85 | </dd>
|
---|
86 | </dl>
|
---|
87 | <dl>
|
---|
88 | <dt><label for="dateformat">{L_BOARD_DATE_FORMAT}:</label><br /><span>{L_BOARD_DATE_FORMAT_EXPLAIN}</span></dt>
|
---|
89 | <dd>
|
---|
90 | <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; }">
|
---|
91 | {S_DATEFORMAT_OPTIONS}
|
---|
92 | </select>
|
---|
93 | </dd>
|
---|
94 | <dd id="custom_date" style="display:none;"><input type="text" name="dateformat" id="dateformat" value="{DATE_FORMAT}" maxlength="30" class="inputbox narrow" style="margin-top: 3px;" /></dd>
|
---|
95 | </dl>
|
---|
96 | </fieldset>
|
---|
97 |
|
---|
98 | <span class="corners-bottom"><span></span></span></div>
|
---|
99 | </div>
|
---|
100 |
|
---|
101 | <fieldset class="submit-buttons">
|
---|
102 | {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
---|
103 | <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
---|
104 | {S_FORM_TOKEN}
|
---|
105 | </fieldset>
|
---|
106 | </form>
|
---|
107 |
|
---|
108 | <script type="text/javascript">
|
---|
109 | // <![CDATA[
|
---|
110 | var date_format = '{A_DATE_FORMAT}';
|
---|
111 | var default_dateformat = '{A_DEFAULT_DATEFORMAT}';
|
---|
112 |
|
---|
113 | function customDates()
|
---|
114 | {
|
---|
115 | var e = document.getElementById('dateoptions');
|
---|
116 |
|
---|
117 | e.selectedIndex = e.length - 1;
|
---|
118 |
|
---|
119 | // Loop and match date_format in menu
|
---|
120 | for (var i = 0; i < e.length; i++)
|
---|
121 | {
|
---|
122 | if (e.options[i].value == date_format)
|
---|
123 | {
|
---|
124 | e.selectedIndex = i;
|
---|
125 | break;
|
---|
126 | }
|
---|
127 | }
|
---|
128 |
|
---|
129 | // Show/hide custom field
|
---|
130 | if (e.selectedIndex == e.length - 1)
|
---|
131 | {
|
---|
132 | dE('custom_date',1);
|
---|
133 | }
|
---|
134 | else
|
---|
135 | {
|
---|
136 | dE('custom_date',-1);
|
---|
137 | }
|
---|
138 | }
|
---|
139 |
|
---|
140 | customDates();
|
---|
141 | // ]]>
|
---|
142 | </script>
|
---|
143 |
|
---|
144 | <!-- INCLUDE ucp_footer.html -->
|
---|