[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  <!-- INCLUDE overall_header.html -->
   2  
   3  <a name="maincontent"></a>
   4  
   5  <!-- IF S_EDIT_REASON -->
   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_REASON_EDIT_EXPLAIN}</p>
  12  
  13      <!-- IF S_ERROR -->
  14          <div class="errorbox">
  15              <h3>{L_WARNING}</h3>
  16              <p>{ERROR_MSG}</p>
  17          </div>
  18      <!-- ENDIF -->
  19  
  20      <!-- IF not S_TRANSLATED -->
  21          <h3>{L_AVAILABLE_TITLES}</h3>
  22  
  23          <p>{S_AVAILABLE_TITLES}</p>
  24      <!-- ENDIF -->
  25  
  26      <form id="acp_reasons" method="post" action="{U_ACTION}">
  27  
  28      <fieldset>
  29          <legend>{L_TITLE}</legend>
  30          <p><!-- IF S_TRANSLATED -->{L_IS_TRANSLATED_EXPLAIN}<!-- ELSE -->{L_IS_NOT_TRANSLATED_EXPLAIN}<!-- ENDIF --></p>
  31      <dl>
  32          <dt><label for="reason_title">{L_REASON_TITLE}:</label></dt>
  33          <dd><input name="reason_title" type="text" id="reason_title" value="{REASON_TITLE}" maxlength="255" /></dd>
  34      </dl>
  35      <!-- IF S_TRANSLATED -->
  36      <dl>
  37          <dt>{L_REASON_TITLE_TRANSLATED}</dt>
  38          <dd>{TRANSLATED_TITLE}</dd>
  39      </dl>
  40      <!-- ENDIF -->
  41      <dl>
  42          <dt><label for="reason_description">{L_REASON_DESCRIPTION}:</label></dt>
  43          <dd><textarea name="reason_description" id="reason_description" rows="8" cols="80">{REASON_DESCRIPTION}</textarea></dd>
  44      </dl>
  45      <!-- IF S_TRANSLATED -->
  46      <dl>
  47          <dt>{L_REASON_DESC_TRANSLATED}</dt>
  48          <dd>{TRANSLATED_DESCRIPTION}</dd>
  49      </dl>
  50      <!-- ENDIF -->
  51  
  52      <p class="submit-buttons">
  53          <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
  54          <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
  55          {S_FORM_TOKEN}
  56      </p>
  57      </fieldset>
  58      </form>
  59  
  60  <!-- ELSE -->
  61  
  62      <h1>{L_ACP_REASONS}</h1>
  63  
  64      <p>{L_ACP_REASONS_EXPLAIN}</p>
  65  
  66      <form id="reasons" method="post" action="{U_ACTION}">
  67      <fieldset class="tabulated">
  68      <legend>{L_ACP_REASONS}</legend>
  69  
  70      <!-- IF .reasons -->
  71          <table cellspacing="1">
  72              <col class="row1" /><col class="row1" /><col class="row2" />
  73          <thead>
  74          <tr>
  75              <th>{L_REASON}</th>
  76              <th>{L_USED_IN_REPORTS}</th>
  77              <th>{L_OPTIONS}</th>
  78          </tr>
  79          </thead>
  80          <tbody>
  81          <!-- BEGIN reasons -->
  82              <tr>
  83                  <td>
  84                      <i style="float: {S_CONTENT_FLOW_END}; font-size: .9em;"><!-- IF reasons.S_TRANSLATED -->{L_IS_TRANSLATED}<!-- ELSE -->{L_IS_NOT_TRANSLATED}<!-- ENDIF --></i>
  85                      <strong>{reasons.REASON_TITLE}<!-- IF reasons.S_OTHER_REASON --> *<!-- ENDIF --></strong>
  86                      <br /><span>{reasons.REASON_DESCRIPTION}</span>
  87                  </td>
  88                  <td style="width: 100px;">{reasons.REASON_COUNT}</td>
  89                  <td style="width: 80px; text-align: right; white-space: nowrap;">
  90                      <!-- IF reasons.S_FIRST_ROW && not reasons.S_LAST_ROW -->
  91                          {ICON_MOVE_UP_DISABLED}
  92                          <a href="{reasons.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
  93                      <!-- ELSEIF not reasons.S_FIRST_ROW && not reasons.S_LAST_ROW-->
  94                          <a href="{reasons.U_MOVE_UP}">{ICON_MOVE_UP}</a> 
  95                          <a href="{reasons.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> 
  96                      <!-- ELSEIF reasons.S_LAST_ROW && not reasons.S_FIRST_ROW -->
  97                          <a href="{reasons.U_MOVE_UP}">{ICON_MOVE_UP}</a>    
  98                          {ICON_MOVE_DOWN_DISABLED}
  99                      <!-- ENDIF -->
 100                      <a href="{reasons.U_EDIT}">{ICON_EDIT}</a> 
 101                      <!-- IF reasons.U_DELETE -->
 102                          <a href="{reasons.U_DELETE}">{ICON_DELETE}</a>
 103                      <!-- ELSE -->
 104                          {ICON_DELETE_DISABLED}
 105                      <!-- ENDIF -->
 106                  </td>
 107              </tr>
 108          <!-- END reasons -->
 109          </tbody>
 110          </table>
 111  
 112      <!-- ENDIF -->
 113  
 114      <p class="quick">
 115          <input type="hidden" name="action" value="add" />
 116  
 117          <input type="text" name="reason_title" /> 
 118          <input class="button2" name="addreason" type="submit" value="{L_ADD_NEW_REASON}" />
 119          {S_FORM_TOKEN}
 120      </p>
 121      </fieldset>
 122      
 123      </form>
 124  
 125  <!-- ENDIF -->
 126  
 127  <!-- INCLUDE overall_footer.html -->


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