[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

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">
   9  
  10      <fieldset>
  11      <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
  12      <!-- EVENT ucp_prefs_personal_prepend -->
  13      <dl>
  14          <dt><label for="viewemail0">{L_SHOW_EMAIL}{L_COLON}</label></dt>
  15          <dd>
  16              <label for="viewemail1"><input type="radio" name="viewemail" id="viewemail1" value="1"<!-- IF S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
  17              <label for="viewemail0"><input type="radio" name="viewemail" id="viewemail0" value="0"<!-- IF not S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
  18          </dd>
  19      </dl>
  20      <dl>
  21          <dt><label for="massemail1">{L_ADMIN_EMAIL}{L_COLON}</label></dt>
  22          <dd>
  23              <label for="massemail1"><input type="radio" name="massemail" id="massemail1" value="1"<!-- IF S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
  24              <label for="massemail0"><input type="radio" name="massemail" id="massemail0" value="0"<!-- IF not S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
  25          </dd>
  26      </dl>
  27      <dl>
  28          <dt><label for="allowpm1">{L_ALLOW_PM}{L_COLON}</label><br /><span>{L_ALLOW_PM_EXPLAIN}</span></dt>
  29          <dd>
  30              <label for="allowpm1"><input type="radio" name="allowpm" id="allowpm1" value="1"<!-- IF S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
  31              <label for="allowpm0"><input type="radio" name="allowpm" id="allowpm0" value="0"<!-- IF not S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
  32          </dd>
  33      </dl>
  34      <!-- IF S_CAN_HIDE_ONLINE -->
  35          <dl>
  36              <dt><label for="hideonline0">{L_HIDE_ONLINE}{L_COLON}</label><br /><span>{L_HIDE_ONLINE_EXPLAIN}</span></dt>
  37              <dd>
  38                  <label for="hideonline1"><input type="radio" name="hideonline" id="hideonline1" value="1"<!-- IF S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
  39                  <label for="hideonline0"><input type="radio" name="hideonline" id="hideonline0" value="0"<!-- IF not S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
  40              </dd>
  41          </dl>
  42      <!-- ENDIF -->
  43      <!-- IF S_SELECT_NOTIFY -->
  44          <dl>
  45              <dt><label for="notifymethod0">{L_NOTIFY_METHOD}{L_COLON}</label></dt>
  46              <dd>
  47                  <label for="notifymethod0"><input type="radio" name="notifymethod" id="notifymethod0" value="0"<!-- IF S_NOTIFY_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_EMAIL}</label>
  48                  <label for="notifymethod1"><input type="radio" name="notifymethod" id="notifymethod1" value="1"<!-- IF S_NOTIFY_IM --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_IM}</label>
  49                  <label for="notifymethod2"><input type="radio" name="notifymethod" id="notifymethod2" value="2"<!-- IF S_NOTIFY_BOTH --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_BOTH}</label>
  50              </dd>
  51          </dl>
  52      <!-- ENDIF -->
  53      <!-- IF S_MORE_LANGUAGES -->
  54          <dl>
  55              <dt><label for="lang">{L_BOARD_LANGUAGE}{L_COLON}</label></dt>
  56              <dd><select name="lang" id="lang">{S_LANG_OPTIONS}</select></dd>
  57          </dl>
  58      <!-- ENDIF -->
  59      <!-- IF S_STYLE_OPTIONS and S_MORE_STYLES -->
  60          <dl>
  61              <dt><label for="user_style">{L_BOARD_STYLE}{L_COLON}</label></dt>
  62              <dd><select name="user_style" id="user_style">{S_STYLE_OPTIONS}</select></dd>
  63          </dl>
  64      <!-- ENDIF -->
  65      <!-- INCLUDE timezone_option.html -->
  66      <dl>
  67          <dt><label for="dateformat">{L_BOARD_DATE_FORMAT}{L_COLON}</label><br /><span>{L_BOARD_DATE_FORMAT_EXPLAIN}</span></dt>
  68          <dd>
  69              <select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){phpbb.toggleDisplay('custom_date',1);}else{phpbb.toggleDisplay('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = default_dateformat; } else { document.getElementById('dateformat').value = this.value; }">
  70                  {S_DATEFORMAT_OPTIONS}
  71              </select>
  72          </dd>
  73          <dd id="custom_date" style="display:none;"><input type="text" name="dateformat" id="dateformat" value="{DATE_FORMAT}" maxlength="64" class="inputbox narrow" style="margin-top: 3px;" /></dd>
  74      </dl>
  75      <!-- EVENT ucp_prefs_personal_append -->
  76      </fieldset>
  77  
  78      </div>
  79  </div>
  80  
  81  <fieldset class="submit-buttons">
  82      {S_HIDDEN_FIELDS}
  83      <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
  84      {S_FORM_TOKEN}
  85  </fieldset>
  86  </form>
  87  
  88  <script>
  89      var date_format = '{A_DATE_FORMAT}';
  90      var default_dateformat = '{A_DEFAULT_DATEFORMAT}';
  91  
  92  	function customDates()
  93      {
  94          var e = document.getElementById('dateoptions');
  95  
  96          e.selectedIndex = e.length - 1;
  97  
  98          // Loop and match date_format in menu
  99          for (var i = 0; i < e.length; i++)
 100          {
 101              if (e.options[i].value == date_format)
 102              {
 103                  e.selectedIndex = i;
 104                  break;
 105              }
 106          }
 107  
 108          // Show/hide custom field
 109          if (e.selectedIndex == e.length - 1)
 110          {
 111              phpbb.toggleDisplay('custom_date',1);
 112          }
 113          else
 114          {
 115              phpbb.toggleDisplay('custom_date',-1);
 116          }
 117      }
 118  
 119      window.onload = customDates;
 120  </script>
 121  
 122  <!-- INCLUDE ucp_footer.html -->


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1