[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/styles/prosilver/template/ -> ucp_prefs_personal.html (source)

   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      <!-- IF S_MORE_LANGUAGES -->
  67          <dl>
  68              <dt><label for="lang">{L_BOARD_LANGUAGE}:</label></dt>
  69              <dd><select name="lang" id="lang">{S_LANG_OPTIONS}</select></dd>
  70          </dl>
  71      <!-- ENDIF -->
  72      <!-- IF S_STYLE_OPTIONS and S_MORE_STYLES -->
  73          <dl>
  74              <dt><label for="style">{L_BOARD_STYLE}:</label></dt>
  75              <dd><select name="style" id="style">{S_STYLE_OPTIONS}</select></dd>
  76          </dl>
  77      <!-- ENDIF -->
  78      <dl>
  79          <dt><label for="timezone">{L_BOARD_TIMEZONE}:</label></dt>
  80          <dd><select name="tz" id="timezone" class="autowidth">{S_TZ_OPTIONS}</select></dd>
  81      </dl>
  82      <dl>
  83          <dt><label for="dst1">{L_BOARD_DST}:</label></dt>
  84          <dd>
  85              <label for="dst1"><input type="radio" name="dst" id="dst1" value="1"<!-- IF S_DST --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> 
  86              <label for="dst0"><input type="radio" name="dst" id="dst0" value="0"<!-- IF not S_DST --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
  87          </dd>
  88      </dl>
  89      <dl>
  90          <dt><label for="dateformat">{L_BOARD_DATE_FORMAT}:</label><br /><span>{L_BOARD_DATE_FORMAT_EXPLAIN}</span></dt>
  91          <dd>
  92              <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; }">
  93                  {S_DATEFORMAT_OPTIONS}
  94              </select>
  95          </dd>
  96          <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>
  97      </dl>
  98      </fieldset>
  99  
 100      <span class="corners-bottom"><span></span></span></div>
 101  </div>
 102      
 103  <fieldset class="submit-buttons">
 104      {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp; 
 105      <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
 106      {S_FORM_TOKEN}
 107  </fieldset>
 108  </form>
 109  
 110  <script type="text/javascript">
 111  // <![CDATA[
 112      var date_format = '{A_DATE_FORMAT}';
 113      var default_dateformat = '{A_DEFAULT_DATEFORMAT}';
 114  
 115  	function customDates()
 116      {
 117          var e = document.getElementById('dateoptions');
 118      
 119          e.selectedIndex = e.length - 1;
 120      
 121          // Loop and match date_format in menu
 122          for (var i = 0; i < e.length; i++)
 123          {
 124              if (e.options[i].value == date_format)
 125              {
 126                  e.selectedIndex = i;
 127                  break;
 128              }
 129          }
 130      
 131          // Show/hide custom field
 132          if (e.selectedIndex == e.length - 1)
 133          {
 134              dE('custom_date',1);
 135          }
 136          else
 137          {
 138              dE('custom_date',-1);
 139          }
 140      }
 141  
 142      customDates();
 143  // ]]>
 144  </script>
 145  
 146  <!-- INCLUDE ucp_footer.html -->


Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1