1.1 --- a/styles/cubometry-style/template/ucp_prefs_personal.html Sat Mar 10 00:18:56 2012 +0400
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,144 +0,0 @@
1.4 -<!-- INCLUDE ucp_header.html -->
1.5 -
1.6 -<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
1.7 -
1.8 -<h2>{L_TITLE}</h2>
1.9 -
1.10 -<div class="panel">
1.11 - <div class="inner"><span class="corners-top"><span></span></span>
1.12 -
1.13 - <fieldset>
1.14 - <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
1.15 - <dl>
1.16 - <dt><label for="viewemail0">{L_SHOW_EMAIL}:</label></dt>
1.17 - <dd>
1.18 - <label for="viewemail1"><input type="radio" name="viewemail" id="viewemail1" value="1"<!-- IF S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
1.19 - <label for="viewemail0"><input type="radio" name="viewemail" id="viewemail0" value="0"<!-- IF not S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
1.20 - </dd>
1.21 - </dl>
1.22 - <dl>
1.23 - <dt><label for="massemail1">{L_ADMIN_EMAIL}:</label></dt>
1.24 - <dd>
1.25 - <label for="massemail1"><input type="radio" name="massemail" id="massemail1" value="1"<!-- IF S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
1.26 - <label for="massemail0"><input type="radio" name="massemail" id="massemail0" value="0"<!-- IF not S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
1.27 - </dd>
1.28 - </dl>
1.29 - <dl>
1.30 - <dt><label for="allowpm1">{L_ALLOW_PM}:</label><br /><span>{L_ALLOW_PM_EXPLAIN}</span></dt>
1.31 - <dd>
1.32 - <label for="allowpm1"><input type="radio" name="allowpm" id="allowpm1" value="1"<!-- IF S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
1.33 - <label for="allowpm0"><input type="radio" name="allowpm" id="allowpm0" value="0"<!-- IF not S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
1.34 - </dd>
1.35 - </dl>
1.36 - <!-- IF S_CAN_HIDE_ONLINE -->
1.37 - <dl>
1.38 - <dt><label for="hideonline0">{L_HIDE_ONLINE}:</label><br /><span>{L_HIDE_ONLINE_EXPLAIN}</span></dt>
1.39 - <dd>
1.40 - <label for="hideonline1"><input type="radio" name="hideonline" id="hideonline1" value="1"<!-- IF S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
1.41 - <label for="hideonline0"><input type="radio" name="hideonline" id="hideonline0" value="0"<!-- IF not S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
1.42 - </dd>
1.43 - </dl>
1.44 - <!-- ENDIF -->
1.45 - <!-- IF S_SELECT_NOTIFY -->
1.46 - <dl>
1.47 - <dt><label for="notifymethod0">{L_NOTIFY_METHOD}:</label></dt>
1.48 - <dd>
1.49 - <label for="notifymethod0"><input type="radio" name="notifymethod" id="notifymethod0" value="0"<!-- IF S_NOTIFY_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_EMAIL}</label>
1.50 - <label for="notifymethod1"><input type="radio" name="notifymethod" id="notifymethod1" value="1"<!-- IF S_NOTIFY_IM --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_IM}</label>
1.51 - <label for="notifymethod2"><input type="radio" name="notifymethod" id="notifymethod2" value="2"<!-- IF S_NOTIFY_BOTH --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_BOTH}</label>
1.52 - </dd>
1.53 - </dl>
1.54 - <!-- ENDIF -->
1.55 - <dl>
1.56 - <dt><label for="notifypm1">{L_NOTIFY_ON_PM}:</label></dt>
1.57 - <dd>
1.58 - <label for="notifypm1"><input type="radio" name="notifypm" id="notifypm1" value="1"<!-- IF S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
1.59 - <label for="notifypm0"><input type="radio" name="notifypm" id="notifypm0" value="0"<!-- IF not S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
1.60 - </dd>
1.61 - </dl>
1.62 - <dl>
1.63 - <dt><label for="popuppm0">{L_POPUP_ON_PM}:</label></dt>
1.64 - <dd>
1.65 - <label for="popuppm1"><input type="radio" name="popuppm" id="popuppm1" value="1"<!-- IF S_POPUP_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
1.66 - <label for="popuppm0"><input type="radio" name="popuppm" id="popuppm0" value="0"<!-- IF not S_POPUP_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
1.67 - </dd>
1.68 - </dl>
1.69 - <dl>
1.70 - <dt><label for="lang">{L_BOARD_LANGUAGE}:</label></dt>
1.71 - <dd><select name="lang" id="lang">{S_LANG_OPTIONS}</select></dd>
1.72 - </dl>
1.73 - <!-- IF S_STYLE_OPTIONS -->
1.74 - <dl>
1.75 - <dt><label for="style">{L_BOARD_STYLE}:</label></dt>
1.76 - <dd><select name="style" id="style">{S_STYLE_OPTIONS}</select></dd>
1.77 - </dl>
1.78 - <!-- ENDIF -->
1.79 - <dl>
1.80 - <dt><label for="timezone">{L_BOARD_TIMEZONE}:</label></dt>
1.81 - <dd><select name="tz" id="timezone" class="autowidth">{S_TZ_OPTIONS}</select></dd>
1.82 - </dl>
1.83 - <dl>
1.84 - <dt><label for="dst1">{L_BOARD_DST}:</label></dt>
1.85 - <dd>
1.86 - <label for="dst1"><input type="radio" name="dst" id="dst1" value="1"<!-- IF S_DST --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
1.87 - <label for="dst0"><input type="radio" name="dst" id="dst0" value="0"<!-- IF not S_DST --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
1.88 - </dd>
1.89 - </dl>
1.90 - <dl>
1.91 - <dt><label for="dateformat">{L_BOARD_DATE_FORMAT}:</label><br /><span>{L_BOARD_DATE_FORMAT_EXPLAIN}</span></dt>
1.92 - <dd>
1.93 - <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; }">
1.94 - {S_DATEFORMAT_OPTIONS}
1.95 - </select>
1.96 - </dd>
1.97 - <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>
1.98 - </dl>
1.99 - </fieldset>
1.100 -
1.101 - <span class="corners-bottom"><span></span></span></div>
1.102 -</div>
1.103 -
1.104 -<fieldset class="submit-buttons">
1.105 - {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
1.106 - <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
1.107 - {S_FORM_TOKEN}
1.108 -</fieldset>
1.109 -</form>
1.110 -
1.111 -<script type="text/javascript">
1.112 -// <![CDATA[
1.113 - var date_format = '{A_DATE_FORMAT}';
1.114 - var default_dateformat = '{A_DEFAULT_DATEFORMAT}';
1.115 -
1.116 - function customDates()
1.117 - {
1.118 - var e = document.getElementById('dateoptions');
1.119 -
1.120 - e.selectedIndex = e.length - 1;
1.121 -
1.122 - // Loop and match date_format in menu
1.123 - for (var i = 0; i < e.length; i++)
1.124 - {
1.125 - if (e.options[i].value == date_format)
1.126 - {
1.127 - e.selectedIndex = i;
1.128 - break;
1.129 - }
1.130 - }
1.131 -
1.132 - // Show/hide custom field
1.133 - if (e.selectedIndex == e.length - 1)
1.134 - {
1.135 - dE('custom_date',1);
1.136 - }
1.137 - else
1.138 - {
1.139 - dE('custom_date',-1);
1.140 - }
1.141 - }
1.142 -
1.143 - customDates();
1.144 -// ]]>
1.145 -</script>
1.146 -
1.147 -<!-- INCLUDE ucp_footer.html -->
1.148 \ No newline at end of file