[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  <!-- INCLUDE overall_header.html -->
   2  
   3  <a name="maincontent"></a>
   4  
   5  <!-- IF S_SETTINGS -->
   6      <h1>{L_ACP_SEARCH_SETTINGS}</h1>
   7  
   8      <p>{L_ACP_SEARCH_SETTINGS_EXPLAIN}</p>
   9  
  10      <form id="acp_search" method="post" action="{U_ACTION}">
  11  
  12      <fieldset>
  13          <legend>{L_GENERAL_SEARCH_SETTINGS}</legend>
  14      <dl>
  15          <dt><label for="load_search">{L_YES_SEARCH}:</label><br /><span>{L_YES_SEARCH_EXPLAIN}</span></dt>
  16          <dd><label><input type="radio" class="radio" id="load_search" name="config[load_search]" value="1"<!-- IF S_YES_SEARCH --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
  17              <label><input type="radio" class="radio" name="config[load_search]" value="0"<!-- IF not S_YES_SEARCH --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
  18      </dl>
  19      <dl>
  20          <dt><label for="search_interval">{L_SEARCH_INTERVAL}:</label><br /><span>{L_SEARCH_INTERVAL_EXPLAIN}</span></dt>
  21          <dd><input id="search_interval" type="text" size="4" maxlength="4" name="config[search_interval]" value="{SEARCH_INTERVAL}" /> {L_SECONDS}</dd>
  22      </dl>
  23      <dl>
  24          <dt><label for="search_anonymous_interval">{L_SEARCH_GUEST_INTERVAL}:</label><br /><span>{L_SEARCH_GUEST_INTERVAL_EXPLAIN}</span></dt>
  25          <dd><input id="search_anonymous_interval" type="text" size="4" maxlength="4" name="config[search_anonymous_interval]" value="{SEARCH_GUEST_INTERVAL}" /> {L_SECONDS}</dd>
  26      </dl>
  27      <dl>
  28          <dt><label for="limit_search_load">{L_LIMIT_SEARCH_LOAD}:</label><br /><span>{L_LIMIT_SEARCH_LOAD_EXPLAIN}</span></dt>
  29          <dd><input id="limit_search_load" type="text" size="4" maxlength="4" name="config[limit_search_load]" value="{LIMIT_SEARCH_LOAD}" /></dd>
  30      </dl>
  31      <dl>
  32          <dt><label for="min_search_author_chars">{L_MIN_SEARCH_AUTHOR_CHARS}:</label><br /><span>{L_MIN_SEARCH_AUTHOR_CHARS_EXPLAIN}</span></dt>
  33          <dd><input id="min_search_author_chars" type="text" size="4" maxlength="4" name="config[min_search_author_chars]" value="{MIN_SEARCH_AUTHOR_CHARS}" /></dd>
  34      </dl>
  35      <dl>
  36          <dt><label for="max_num_search_keywords">{L_MAX_NUM_SEARCH_KEYWORDS}:</label><br /><span>{L_MAX_NUM_SEARCH_KEYWORDS_EXPLAIN}</span></dt>
  37          <dd><input id="max_num_search_keywords" type="text" size="4" maxlength="4" name="config[max_num_search_keywords]" value="{MAX_NUM_SEARCH_KEYWORDS}" /></dd>
  38      </dl>
  39      <dl>
  40          <dt><label for="search_store_results">{L_SEARCH_STORE_RESULTS}:</label><br /><span>{L_SEARCH_STORE_RESULTS_EXPLAIN}</span></dt>
  41          <dd><input id="search_store_results" type="text" size="4" maxlength="6" name="config[search_store_results]" value="{SEARCH_STORE_RESULTS}" /> {L_SECONDS}</dd>
  42      </dl>
  43      </fieldset>
  44  
  45      <fieldset>
  46          <legend>{L_SEARCH_TYPE}</legend>
  47      <dl>
  48          <dt><label for="search_type">{L_SEARCH_TYPE}:</label><br /><span>{L_SEARCH_TYPE_EXPLAIN}</span></dt>
  49          <dd><select id="search_type" name="config[search_type]">{S_SEARCH_TYPES}</select></dd>
  50      </dl>
  51      </fieldset>
  52  
  53      <!-- BEGIN backend -->
  54  
  55          <fieldset>
  56              <legend>{backend.NAME}</legend>
  57          {backend.SETTINGS}
  58          </fieldset>
  59  
  60      <!-- END backend -->
  61  
  62      <fieldset class="submit-buttons">
  63          <legend>{L_SUBMIT}</legend>
  64          <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
  65          <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
  66          {S_FORM_TOKEN}
  67      </fieldset>
  68      </form>
  69  
  70  <!-- ELSEIF S_INDEX -->
  71  
  72      <script type="text/javascript">
  73      // <![CDATA[
  74          /**
  75          * Popup search progress bar
  76          */
  77  		function popup_progress_bar(progress_type)
  78          {
  79              close_waitscreen = 0;
  80              // no scrollbars
  81              popup('{UA_PROGRESS_BAR}&amp;type=' + progress_type, 400, 240, '_index');
  82          }
  83      // ]]>
  84      </script>
  85  
  86      <h1>{L_ACP_SEARCH_INDEX}</h1>
  87  
  88      <!-- IF S_CONTINUE_INDEXING -->
  89          <p>{L_CONTINUE_EXPLAIN}</p>
  90  
  91          <form id="acp_search_continue" method="post" action="{U_CONTINUE_INDEXING}">
  92              <fieldset class="submit-buttons">
  93                  <legend>{L_SUBMIT}</legend>
  94                  <input class="button1" type="submit" id="continue" name="continue" value="{L_CONTINUE}" onclick="popup_progress_bar('{S_CONTINUE_INDEXING}');" />&nbsp;
  95                  <input class="button2" type="submit" id="cancel" name="cancel" value="{L_CANCEL}" />
  96                  {S_FORM_TOKEN}
  97              </fieldset>
  98          </form>
  99      <!-- ELSE -->
 100  
 101          <p>{L_ACP_SEARCH_INDEX_EXPLAIN}</p>
 102  
 103          <!-- BEGIN backend -->
 104  
 105              <!-- IF backend.S_STATS -->
 106  
 107              <form id="acp_search_index_{backend.NAME}" method="post" action="{U_ACTION}">
 108  
 109                  <fieldset class="tabulated">
 110  
 111                  {backend.S_HIDDEN_FIELDS}
 112  
 113                  <legend>{L_INDEX_STATS}: {backend.L_NAME} <!-- IF backend.S_ACTIVE -->({L_ACTIVE}) <!-- ENDIF --></legend>
 114  
 115                  <table cellspacing="1">
 116                      <caption>{backend.L_NAME} <!-- IF backend.S_ACTIVE -->({L_ACTIVE}) <!-- ENDIF --></caption>
 117                      <col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
 118                  <thead>
 119                  <tr>
 120                      <th>{L_STATISTIC}</th>
 121                      <th>{L_VALUE}</th>
 122                      <th>{L_STATISTIC}</th>
 123                      <th>{L_VALUE}</th>
 124                  </tr>
 125                  </thead>
 126                  <tbody>
 127                  <!-- BEGIN data -->
 128                      <tr>
 129                          <td>{backend.data.STATISTIC_1}:</td>
 130                          <td>{backend.data.VALUE_1}</td>
 131                          <td>{backend.data.STATISTIC_2}<!-- IF backend.data.STATISTIC_2 -->:<!-- ENDIF --></td>
 132                          <td>{backend.data.VALUE_2}</td>
 133                      </tr>
 134                  <!-- END data -->
 135                  </tbody>
 136                  </table>
 137  
 138              <!-- ENDIF -->
 139  
 140              <p class="quick">
 141              <!-- IF backend.S_INDEXED -->
 142                  <input class="button2" type="submit" name="action[delete]" value="{L_DELETE_INDEX}" onclick="popup_progress_bar('delete');" />
 143              <!-- ELSE -->
 144                  <input class="button2" type="submit" name="action[create]" value="{L_CREATE_INDEX}" onclick="popup_progress_bar('create');" />
 145              <!-- ENDIF -->
 146              </p>
 147              {S_FORM_TOKEN}
 148              </fieldset>
 149  
 150              </form>
 151          <!-- END backend -->
 152  
 153      <!-- ENDIF -->
 154  
 155  <!-- ENDIF -->
 156  
 157  <!-- INCLUDE overall_footer.html -->


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