[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  <!-- INCLUDE overall_header.html -->
   2  
   3  <a name="maincontent"></a>
   4  
   5  <!-- IF S_EDIT_BOT -->
   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_BOT_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      <form id="acp_bots" method="post" action="{U_ACTION}">
  21  
  22      <fieldset>
  23          <legend>{L_TITLE}</legend>
  24      <dl>
  25          <dt><label for="bot_name">{L_BOT_NAME}:</label><br /><span>{L_BOT_NAME_EXPLAIN}</span></dt>
  26          <dd><input name="bot_name" type="text" id="bot_name" value="{BOT_NAME}" maxlength="255" /></dd>
  27      </dl>
  28      <dl>
  29          <dt><label for="bot_style">{L_BOT_STYLE}:</label><br /><span>{L_BOT_STYLE_EXPLAIN}</span></dt>
  30          <dd><select id="bot_style" name="bot_style">{S_STYLE_OPTIONS}</select></dd>
  31      </dl>
  32      <dl>
  33          <dt><label for="bot_lang">{L_BOT_LANG}:</label><br /><span>{L_BOT_LANG_EXPLAIN}</span></dt>
  34          <dd><select id="bot_lang" name="bot_lang">{S_LANG_OPTIONS}</select></dd>
  35      </dl>
  36      <dl>
  37          <dt><label for="bot_active">{L_BOT_ACTIVE}:</label></dt>
  38          <dd><select id="bot_active" name="bot_active">{S_ACTIVE_OPTIONS}</select></dd>
  39      </dl>
  40      <dl>
  41          <dt><label for="bot_agent">{L_BOT_AGENT}:</label><br /><span>{L_BOT_AGENT_EXPLAIN}</span></dt>
  42          <dd><input name="bot_agent" type="text" id="bot_agent" value="{BOT_AGENT}" maxlength="255" /></dd>
  43      </dl>
  44      <dl>
  45          <dt><label for="bot_ip">{L_BOT_IP}:</label><br /><span>{L_BOT_IP_EXPLAIN}</span></dt>
  46          <dd><input name="bot_ip" type="text" id="bot_ip" value="{BOT_IP}" maxlength="255" /></dd>
  47      </dl>
  48  
  49      <p class="submit-buttons">
  50          <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
  51          <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
  52          {S_FORM_TOKEN}
  53      </p>
  54      </fieldset>
  55      </form>
  56  
  57  <!-- ELSE -->
  58  
  59      <h1>{L_BOTS}</h1>
  60  
  61      <p>{L_BOTS_EXPLAIN}</p>
  62  
  63      <form id="acp_bots" method="post" action="{U_ACTION}">
  64  
  65      <table cellspacing="1">
  66      <thead>
  67      <tr>
  68          <th>{L_BOT_NAME}</th>
  69          <th>{L_BOT_LAST_VISIT}</th>
  70          <th colspan="3">{L_OPTIONS}</th>
  71          <th>{L_MARK}</th>
  72      </tr>
  73      </thead>
  74      <tbody>
  75      <!-- BEGIN bots -->
  76          <!-- IF bots.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
  77              <td style="width: 50%;">{bots.BOT_NAME}</td>
  78              <td style="width: 15%; white-space: nowrap;" align="center">&nbsp;{bots.LAST_VISIT}&nbsp;</td>
  79              <td style="text-align: center;">&nbsp;<a href="{bots.U_ACTIVATE_DEACTIVATE}">{bots.L_ACTIVATE_DEACTIVATE}</a>&nbsp;</td>
  80              <td style="text-align: center;">&nbsp;<a href="{bots.U_EDIT}">{L_EDIT}</a>&nbsp;</td>
  81              <td style="text-align: center;">&nbsp;<a href="{bots.U_DELETE}">{L_DELETE}</a>&nbsp;</td>
  82              <td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{bots.BOT_ID}" /></td>
  83          </tr>
  84      <!-- END bots -->
  85      </tbody>
  86      </table>
  87  
  88      <fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};">
  89          <input class="button2" name="add" type="submit" value="{L_BOT_ADD}" />
  90      </fieldset>
  91  
  92      <fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
  93          <select name="action">{S_BOT_OPTIONS}</select>
  94          <input class="button2" name="submit" type="submit" value="{L_SUBMIT}" />
  95          <p class="small"><a href="#" onclick="marklist('acp_bots', 'mark', true);">{L_MARK_ALL}</a> &bull; <a href="#" onclick="marklist('acp_bots', 'mark', false);">{L_UNMARK_ALL}</a></p>
  96          {S_FORM_TOKEN}
  97      </fieldset>
  98      </form>
  99  
 100  <!-- ENDIF -->
 101  
 102  <!-- INCLUDE overall_footer.html -->


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