[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/adm/style/ -> acp_profile.html (source)

   1  <!-- INCLUDE overall_header.html -->
   2  
   3  <a name="maincontent"></a>
   4  
   5  <!-- IF S_EDIT -->
   6  
   7      <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
   8  
   9      <h1>{L_TITLE}</h1>
  10  
  11      <p>{L_EXPLAIN}</p>
  12  
  13      <!-- IF ERROR_MSG -->
  14          <div class="errorbox">
  15              <h3>{L_WARNING}</h3>
  16              <p>{ERROR_MSG}</p>
  17          </div>
  18      <!-- ENDIF -->
  19  
  20      <form id="add_profile_field" method="post" action="{U_ACTION}">
  21  
  22      <!-- IF S_STEP_ONE -->
  23  
  24          <fieldset>
  25              <legend>{L_TITLE}</legend>
  26          <dl>
  27              <dt><label>{L_FIELD_TYPE}:</label><br /><span>{L_FIELD_TYPE_EXPLAIN}</span></dt>
  28              <dd><strong>{FIELD_TYPE}</strong></dd>
  29          </dl>
  30          <!-- IF S_EDIT_MODE -->
  31          <dl>
  32              <dt><label>{L_FIELD_IDENT}:</label><br /><span>{L_FIELD_IDENT_EXPLAIN}</span></dt>
  33              <dd><input type="hidden" name="field_ident" value="{FIELD_IDENT}" /><strong>{FIELD_IDENT}</strong></dd>
  34          </dl>
  35          <!-- ELSE -->
  36          <dl>
  37              <dt><label for="field_ident">{L_FIELD_IDENT}:</label><br /><span>{L_FIELD_IDENT_EXPLAIN}</span></dt>
  38              <dd><input class="text medium" type="text" id="field_ident" name="field_ident" value="{FIELD_IDENT}" /></dd>
  39          </dl>
  40          <!-- ENDIF -->
  41          <dl>
  42              <dt><label for="field_no_view">{L_DISPLAY_PROFILE_FIELD}:</label><br /><span>{L_DISPLAY_PROFILE_FIELD_EXPLAIN}</span></dt>
  43              <dd><label><input type="radio" class="radio" id="field_no_view" name="field_no_view" value="0"<!-- IF not S_FIELD_NO_VIEW --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
  44                  <label><input type="radio" class="radio" name="field_no_view" value="1"<!-- IF S_FIELD_NO_VIEW --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
  45          </dl>
  46          </fieldset>
  47  
  48          <fieldset>
  49              <legend>{L_VISIBILITY_OPTION}</legend>
  50          <dl>
  51              <dt><label for="field_show_profile">{L_DISPLAY_AT_PROFILE}:</label><br /><span>{L_DISPLAY_AT_PROFILE_EXPLAIN}</span></dt>
  52              <dd><input type="checkbox" class="radio" id="field_show_profile" name="field_show_profile" value="1"<!-- IF S_SHOW_PROFILE --> checked="checked"<!-- ENDIF --> /></dd>
  53          </dl>
  54          <dl>
  55              <dt><label for="field_show_on_reg">{L_DISPLAY_AT_REGISTER}:</label><br /><span>{L_DISPLAY_AT_REGISTER_EXPLAIN}</span></dt>
  56              <dd><input type="checkbox" class="radio" id="field_show_on_reg" name="field_show_on_reg" value="1"<!-- IF S_SHOW_ON_REG --> checked="checked"<!-- ENDIF --> /></dd>
  57          </dl>
  58          <dl>
  59              <dt><label for="field_show_on_vt">{L_DISPLAY_ON_VT}:</label><br /><span>{L_DISPLAY_ON_VT_EXPLAIN}</span></dt>
  60              <dd><input type="checkbox" class="radio" id="field_show_on_vt" name="field_show_on_vt" value="1"<!-- IF S_SHOW_ON_VT --> checked="checked"<!-- ENDIF --> /></dd>
  61          </dl>
  62          <dl>
  63              <dt><label for="field_required">{L_REQUIRED_FIELD}:</label><br /><span>{L_REQUIRED_FIELD_EXPLAIN}</span></dt>
  64              <dd><input type="checkbox" class="radio" id="field_required" name="field_required" value="1"<!-- IF S_FIELD_REQUIRED --> checked="checked"<!-- ENDIF --> /></dd>
  65          </dl>
  66          <dl>
  67              <dt><label for="field_show_novalue">{L_SHOW_NOVALUE_FIELD}:</label><br /><span>{L_SHOW_NOVALUE_FIELD_EXPLAIN}</span></dt>
  68              <dd><input type="checkbox" class="radio" id="field_show_novalue" name="field_show_novalue" value="1"<!-- IF S_FIELD_SHOW_NOVALUE --> checked="checked"<!-- ENDIF --> /></dd>
  69          </dl>
  70          <dl>
  71              <dt><label for="field_hide">{L_HIDE_PROFILE_FIELD}:</label><br /><span>{L_HIDE_PROFILE_FIELD_EXPLAIN}</span></dt>
  72              <dd><input type="checkbox" class="radio" id="field_hide" name="field_hide" value="1"<!-- IF S_FIELD_HIDE --> checked="checked"<!-- ENDIF --> /></dd>
  73          </dl>
  74          </fieldset>
  75  
  76          <!-- IF S_EDIT_MODE -->
  77              <fieldset class="quick">
  78                  <input class="button1" type="submit" name="save" value="{L_SAVE}" />
  79              </fieldset>
  80          <!-- ENDIF -->
  81  
  82          <fieldset>
  83              <legend>{L_LANG_SPECIFIC}</legend>
  84          <dl>
  85              <dt><label for="lang_name">{L_USER_FIELD_NAME}:</label></dt>
  86              <dd><input class="text medium" type="text" id="lang_name" name="lang_name" value="{LANG_NAME}" /></dd>
  87          </dl>
  88          <dl>
  89              <dt><label for="lang_explain">{L_FIELD_DESCRIPTION}:</label><br /><span>{L_FIELD_DESCRIPTION_EXPLAIN}</span></dt>
  90              <dd><textarea id="lang_explain" name="lang_explain" rows="3" cols="80">{LANG_EXPLAIN}</textarea></dd>
  91          </dl>
  92          <!-- IF S_TEXT or S_STRING -->
  93              <dl>
  94                  <dt><label for="lang_default_value">{L_DEFAULT_VALUE}:</label><br /><span>{L_DEFAULT_VALUE_EXPLAIN}</span></dt>
  95                  <dd><!-- IF S_STRING --><input class="text medium" type="text" id="lang_default_value" name="lang_default_value" value="{LANG_DEFAULT_VALUE}" /><!-- ELSE --><textarea id="lang_default_value" name="lang_default_value" rows="5" cols="80">{LANG_DEFAULT_VALUE}</textarea><!-- ENDIF --></dd>
  96              </dl>
  97          <!-- ENDIF -->
  98          <!-- IF S_BOOL or S_DROPDOWN -->
  99              <dl>
 100                  <dt><label for="lang_options">{L_ENTRIES}:</label>
 101                      <!-- IF S_EDIT_MODE and S_DROPDOWN -->
 102                          <br /><span>{L_EDIT_DROPDOWN_LANG_EXPLAIN}</span>
 103                      <!-- ELSE -->
 104                          <br /><span>{L_LANG_OPTIONS_EXPLAIN}</span>
 105                      <!-- ENDIF -->
 106                  </dt>
 107              <!-- IF S_DROPDOWN -->
 108                  <dd><textarea id="lang_options" name="lang_options" rows="5" cols="80">{LANG_OPTIONS}</textarea></dd>
 109              <!-- ELSE -->
 110                  <dd><input class="medium" id="lang_options" name="lang_options[0]" value="{FIRST_LANG_OPTION}" /> {L_FIRST_OPTION}</dd>
 111                  <dd><input class="medium" name="lang_options[1]" value="{SECOND_LANG_OPTION}" /> {L_SECOND_OPTION}</dd>
 112              <!-- ENDIF -->
 113              </dl>
 114          <!-- ENDIF -->
 115          </fieldset>
 116  
 117          <fieldset class="quick">
 118              {S_HIDDEN_FIELDS}
 119              {S_FORM_TOKEN}
 120              <input class="button1" type="submit" name="next" value="{L_PROFILE_TYPE_OPTIONS}" />
 121          </fieldset>
 122  
 123      <!-- ELSEIF S_STEP_TWO -->
 124  
 125          <fieldset>
 126              <legend>{L_TITLE}</legend>
 127          <!-- BEGIN option -->
 128              <dl>
 129                  <dt><label>{option.TITLE}:</label><!-- IF option.EXPLAIN --><br /><span>{option.EXPLAIN}</span><!-- ENDIF --></dt>
 130                  <dd>{option.FIELD}</dd>
 131              </dl>
 132          <!-- END option -->
 133          </fieldset>
 134  
 135          <fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};">
 136              <input class="button1" type="submit" name="prev" value="{L_PROFILE_BASIC_OPTIONS}" />
 137          </fieldset>
 138  
 139          <fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
 140              {S_HIDDEN_FIELDS}
 141              {S_FORM_TOKEN}
 142              <input class="button1" type="submit" name="next" value="{L_NEXT_STEP}" />
 143          </fieldset>
 144  
 145      <!-- ELSEIF S_STEP_THREE -->
 146  
 147          <!-- BEGIN options -->
 148              <fieldset>
 149                  <legend>{options.LANGUAGE}</legend>
 150              <!-- BEGIN field -->
 151                  <dl>
 152                      <dt><label>{options.field.L_TITLE}:</label><!-- IF options.field.L_EXPLAIN --><br /><span>{options.field.L_EXPLAIN}</span><!-- ENDIF --></dt>
 153                      {options.field.FIELD}
 154                  </dl>
 155              <!-- END field -->
 156              </fieldset>
 157          <!-- END options -->
 158  
 159          <fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};">
 160              <input class="button1" type="submit" name="prev" value="{L_PROFILE_TYPE_OPTIONS}" />
 161          </fieldset>
 162  
 163          <fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
 164              {S_HIDDEN_FIELDS}
 165              <input class="button1" type="submit" name="save" value="{L_SAVE}" />
 166              {S_FORM_TOKEN}
 167          </fieldset>
 168  
 169      <!-- ENDIF -->
 170  
 171      </form>
 172  
 173  <!-- ELSE -->
 174  
 175      <h1>{L_ACP_CUSTOM_PROFILE_FIELDS}</h1>
 176  
 177      <!-- IF S_NEED_EDIT -->
 178          <div class="errorbox">
 179              <h3>{L_WARNING}</h3>
 180              <p>{L_CUSTOM_FIELDS_NOT_TRANSLATED}</p>
 181          </div>
 182      <!-- ENDIF -->
 183  
 184      <table cellspacing="1">
 185      <thead>
 186      <tr>
 187          <th>{L_FIELD_IDENT}</th>
 188          <th>{L_FIELD_TYPE}</th>
 189          <th colspan="2">{L_OPTIONS}</th>
 190      </tr>
 191      </thead>
 192      <tbody>
 193      <!-- BEGIN fields -->
 194          <!-- IF fields.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
 195  
 196          <td>{fields.FIELD_IDENT}</td>
 197          <td>{fields.FIELD_TYPE}</td>
 198          <td style="text-align: center;"><a href="{fields.U_ACTIVATE_DEACTIVATE}">{fields.L_ACTIVATE_DEACTIVATE}</a><!-- IF fields.S_NEED_EDIT --> | <a href="{fields.U_TRANSLATE}" style="color: red;">{L_TRANSLATE}</a><!-- ENDIF --></td>
 199  
 200          <td style="width: 80px; text-align: right; white-space: nowrap;">
 201              <!-- IF fields.S_FIRST_ROW && not fields.S_LAST_ROW -->
 202                  {ICON_MOVE_UP_DISABLED}
 203                  <a href="{fields.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
 204              <!-- ELSEIF not fields.S_FIRST_ROW && not fields.S_LAST_ROW-->
 205                  <a href="{fields.U_MOVE_UP}">{ICON_MOVE_UP}</a>
 206                  <a href="{fields.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
 207              <!-- ELSEIF fields.S_LAST_ROW && not fields.S_FIRST_ROW -->
 208                  <a href="{fields.U_MOVE_UP}">{ICON_MOVE_UP}</a>
 209                  {ICON_MOVE_DOWN_DISABLED}
 210              <!-- ENDIF -->
 211              <!-- IF not fields.S_NEED_EDIT -->
 212                  <a href="{fields.U_EDIT}">{ICON_EDIT}</a>
 213              <!-- ELSE -->
 214                  {ICON_EDIT_DISABLED}
 215              <!-- ENDIF -->
 216              <a href="{fields.U_DELETE}">{ICON_DELETE}</a>
 217          </td>
 218  
 219      </tr>
 220      <!-- BEGINELSE -->
 221      <tr class="row3">
 222          <td colspan="4">{L_ACP_NO_ITEMS}</td>
 223      </tr>
 224      <!-- END fields -->
 225      </tbody>
 226      </table>
 227  
 228      <form id="profile_fields" method="post" action="{U_ACTION}">
 229  
 230      <fieldset class="quick">
 231          <input class="text small" type="text" name="field_ident" /> <select name="field_type">{S_TYPE_OPTIONS}</select>
 232          <input class="button1" type="submit" name="submit" value="{L_CREATE_NEW_FIELD}" />
 233          <input type="hidden" name="create" value="1" />
 234          {S_FORM_TOKEN}
 235      </fieldset>
 236      </form>
 237  
 238  <!-- ENDIF -->
 239  
 240  <!-- INCLUDE overall_footer.html -->


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