[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  <!-- INCLUDE overall_header.html -->
   2  
   3  <a name="maincontent"></a>
   4  
   5  <!-- IF U_BACK -->
   6      <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
   7  <!-- ENDIF -->
   8  
   9  <h1>{L_TITLE}</h1>
  10  
  11  <p>{L_TITLE_EXPLAIN}</p>
  12  
  13  <!-- IF S_WARNING -->
  14      <div class="errorbox">
  15          <h3>{L_WARNING}</h3>
  16          <p>{WARNING_MSG}</p>
  17      </div>
  18  <!-- ENDIF -->
  19  
  20  <!-- IF S_NOTIFY -->
  21      <div class="successbox">
  22          <h3>{L_NOTIFY}</h3>
  23          <p>{NOTIFY_MSG}</p>
  24      </div>
  25  <!-- ENDIF -->
  26  
  27  <!-- IF S_UPLOADING_FILES -->
  28      <h2>{L_UPLOADING_FILES}</h2>
  29  
  30      <!-- BEGIN upload -->
  31          :: {upload.FILE_INFO}<br />
  32          <!-- IF upload.S_DENIED --><span class="error">{upload.DENIED}</span><!-- ELSEIF upload.ERROR_MSG --><span class="error">{upload.ERROR_MSG}</span><!-- ELSE --><span class="success">{L_SUCCESSFULLY_UPLOADED}</span><!-- ENDIF -->
  33          <br /><br />
  34      <!-- END upload -->
  35  
  36  <!-- ENDIF -->
  37  
  38  <!-- IF S_ATTACHMENT_SETTINGS -->
  39  
  40      <!-- IF not S_THUMBNAIL_SUPPORT -->
  41          <div class="errorbox">
  42              <p>{L_NO_THUMBNAIL_SUPPORT}</p>
  43          </div>
  44      <!-- ENDIF -->
  45  
  46      <form id="attachsettings" method="post" action="{U_ACTION}">
  47      <!-- BEGIN options -->
  48          <!-- IF options.S_LEGEND -->
  49              <!-- IF not options.S_FIRST_ROW -->
  50                  </fieldset>
  51              <!-- ENDIF -->
  52              <fieldset>
  53                  <legend>{options.LEGEND}</legend>
  54          <!-- ELSE -->
  55  
  56              <dl>
  57                  <dt><label for="{options.KEY}">{options.TITLE}:</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
  58                  <dd>{options.CONTENT}</dd>
  59              </dl>
  60  
  61          <!-- ENDIF -->
  62      <!-- END options -->
  63      </fieldset>
  64  
  65      <fieldset class="submit-buttons">
  66          <legend>{L_SUBMIT}</legend>
  67          <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
  68          <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
  69      </fieldset>
  70  
  71      <!-- IF not S_SECURE_DOWNLOADS -->
  72          <div class="errorbox">
  73              <p>{L_SECURE_DOWNLOAD_NOTICE}</p>
  74          </div>
  75      <!-- ENDIF -->
  76  
  77      <fieldset>
  78          <legend>{L_SECURE_TITLE}</legend>
  79          <p>{L_DOWNLOAD_ADD_IPS_EXPLAIN}</p>
  80      <dl>
  81          <dt><label for="ip_hostname">{L_IP_HOSTNAME}:</label></dt>
  82          <dd><textarea id="ip_hostname" cols="40" rows="3" name="ips"></textarea></dd>
  83      </dl>
  84      <dl>
  85          <dt><label for="exclude">{L_IP_EXCLUDE}:</label><br /><span>{L_EXCLUDE_ENTERED_IP}</span></dt>
  86          <dd><label><input type="radio" id="exclude" name="ipexclude" value="1" class="radio" /> {L_YES}</label>
  87              <label><input type="radio" name="ipexclude" value="0" checked="checked" class="radio" /> {L_NO}</label></dd>
  88      </dl>
  89  
  90      <p class="quick">
  91          <input class="button1" type="submit" id="securesubmit" name="securesubmit" value="{L_SUBMIT}" />
  92      </p>
  93      </fieldset>
  94  
  95      <fieldset>
  96          <legend>{L_REMOVE_IPS}</legend>
  97      <!-- IF S_DEFINED_IPS -->
  98              <p>{L_DOWNLOAD_REMOVE_IPS_EXPLAIN}</p>
  99          <dl>
 100              <dt><label for="remove_ip_hostname">{L_IP_HOSTNAME}:</label></dt>
 101              <dd><select name="unip[]" id="remove_ip_hostname" multiple="multiple" size="10">{DEFINED_IPS}</select></dd>
 102          </dl>
 103  
 104          <p class="quick">
 105              <input class="button1" type="submit" id="unsecuresubmit" name="unsecuresubmit" value="{L_SUBMIT}" />
 106          </p>
 107          </fieldset>
 108  
 109      <!-- ELSE -->
 110          <p>{L_NO_IPS_DEFINED}</p>
 111      <!-- ENDIF -->
 112      {S_FORM_TOKEN}
 113      </fieldset>
 114      </form>
 115  
 116  <!-- ELSEIF S_EXTENSION_GROUPS -->
 117  
 118      <!-- IF S_EDIT_GROUP -->
 119          <script type="text/javascript" defer="defer">
 120          // <![CDATA[
 121  			function update_image(newimage)
 122              {
 123                  if (newimage == 'no_image')
 124                  {
 125                      document.getElementById('image_upload_icon').src = "{PHPBB_ROOT_PATH}images/spacer.gif";
 126                  }
 127                  else
 128                  {
 129                      document.getElementById('image_upload_icon').src = "{PHPBB_ROOT_PATH}{IMG_PATH}/" + newimage;
 130                  }
 131              }
 132  
 133  			function show_extensions(elem)
 134              {
 135                  var str = '';
 136  
 137                  for (i = 0; i < elem.length; i++)
 138                  {
 139                      var element = elem.options[i];
 140                      if (element.selected)
 141                      {
 142                          if (str)
 143                          {
 144                              str = str + ', ';
 145                          }
 146  
 147                          str = str + element.innerHTML;
 148                      }
 149                  }
 150  
 151                  if (document.all)
 152                  {
 153                      document.all.ext.innerText = str;
 154                  }
 155                  else if (document.getElementById('ext').textContent)
 156                  {
 157                      document.getElementById('ext').textContent = str;
 158                  }
 159                  else if (document.getElementById('ext').firstChild.nodeValue)
 160                  {
 161                      document.getElementById('ext').firstChild.nodeValue = str;
 162                  }
 163              }
 164  
 165          // ]]>
 166          </script>
 167  
 168          <form id="extgroups" method="post" action="{U_ACTION}">
 169          <fieldset>
 170              <input type="hidden" name="action" value="{ACTION}" />
 171              <input type="hidden" name="g" value="{GROUP_ID}" />
 172  
 173              <legend>{L_LEGEND}</legend>
 174          <dl>
 175              <dt><label for="group_name">{L_GROUP_NAME}:</label></dt>
 176              <dd><input type="text" id="group_name" size="20" maxlength="100" name="group_name" value="{GROUP_NAME}" /></dd>
 177          </dl>
 178          <dl>
 179              <dt><label for="category">{L_SPECIAL_CATEGORY}:</label><br /><span>{L_SPECIAL_CATEGORY_EXPLAIN}</span></dt>
 180              <dd>{S_CATEGORY_SELECT}</dd>
 181          </dl>
 182          <dl>
 183              <dt><label for="allowed">{L_ALLOWED}:</label></dt>
 184              <dd><input type="checkbox" class="radio" id="allowed" name="allow_group" value="1"<!-- IF ALLOW_GROUP --> checked="checked"<!-- ENDIF --> /></dd>
 185          </dl>
 186          <dl>
 187              <dt><label for="allow_in_pm">{L_ALLOW_IN_PM}:</label></dt>
 188              <dd><input type="checkbox" class="radio" id="allow_in_pm" name="allow_in_pm" value="1"<!-- IF ALLOW_IN_PM --> checked="checked"<!-- ENDIF --> /></dd>
 189          </dl>
 190          <dl>
 191              <dt><label for="upload_icon">{L_UPLOAD_ICON}:</label></dt>
 192              <dd><select name="upload_icon" id="upload_icon" onchange="update_image(this.options[selectedIndex].value);">
 193                      <option value="no_image"<!-- IF S_NO_IMAGE --> selected="selected"<!-- ENDIF -->>{L_NO_IMAGE}</option>{S_FILENAME_LIST}
 194              </select></dd>
 195              <dd>&nbsp;<img <!-- IF S_NO_IMAGE -->src="{PHPBB_ROOT_PATH}images/spacer.gif"<!-- ELSE -->src="{UPLOAD_ICON_SRC}"<!-- ENDIF --> id="image_upload_icon" alt="" title="" />&nbsp;</dd>
 196          </dl>
 197          <dl>
 198              <dt><label for="extgroup_filesize">{L_MAX_EXTGROUP_FILESIZE}:</label></dt>
 199              <dd><input type="text" id="extgroup_filesize" size="3" maxlength="15" name="max_filesize" value="{EXTGROUP_FILESIZE}" /> <select name="size_select">{S_EXT_GROUP_SIZE_OPTIONS}</select></dd>
 200          </dl>
 201          <dl>
 202              <dt><label for="assigned_extensions">{L_ASSIGNED_EXTENSIONS}:</label></dt>
 203              <dd><div id="ext">{ASSIGNED_EXTENSIONS}</div> <span>[<a href="{U_EXTENSIONS}">{L_GO_TO_EXTENSIONS}</a> ]</span></dd>
 204              <dd><select name="extensions[]" id="assigned_extensions" class="narrow" onchange="show_extensions(this);" multiple="multiple" size="8">{S_EXTENSION_OPTIONS}</select></dd>
 205          </dl>
 206          <dl>
 207              <dt><label for="allowed_forums">{L_ALLOWED_FORUMS}:</label><br /><span>{L_ALLOWED_FORUMS_EXPLAIN}</span></dt>
 208              <dd><label><input type="radio" id="allowed_forums" class="radio" name="forum_select" value="0"<!-- IF not S_FORUM_IDS --> checked="checked"<!-- ENDIF --> /> {L_ALLOW_ALL_FORUMS}</label>
 209                  <label><input type="radio" class="radio" name="forum_select" value="1"<!-- IF S_FORUM_IDS --> checked="checked"<!-- ENDIF --> /> {L_ALLOW_SELECTED_FORUMS}</label></dd>
 210              <dd><select name="allowed_forums[]" multiple="multiple" size="8">{S_FORUM_ID_OPTIONS}</select></dd>
 211          </dl>
 212  
 213          <p class="submit-buttons">
 214              <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
 215              <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
 216          </p>
 217          {S_FORM_TOKEN}
 218          </fieldset>
 219  
 220          </form>
 221      <!-- ELSE -->
 222  
 223          <form id="extgroups" method="post" action="{U_ACTION}">
 224          <fieldset class="tabulated">
 225          <legend>{L_TITLE}</legend>
 226  
 227          <table cellspacing="1">
 228              <col class="row1" /><col class="row1" /><col class="row2" />
 229          <thead>
 230          <tr>
 231              <th>{L_EXTENSION_GROUP}</th>
 232              <th>{L_SPECIAL_CATEGORY}</th>
 233              <th>{L_OPTIONS}</th>
 234          </tr>
 235          </thead>
 236          <tbody>
 237          <!-- BEGIN groups -->
 238              <!-- IF groups.S_ADD_SPACER and not groups.S_FIRST_ROW -->
 239              <tr>
 240                  <td class="spacer" colspan="3">&nbsp;</td>
 241              </tr>
 242              <!-- ENDIF -->
 243              <tr>
 244                  <td><strong>{groups.GROUP_NAME}</strong>
 245                      <!-- IF groups.S_GROUP_ALLOWED and not groups.S_ALLOWED_IN_PM --><br /><span>&raquo; {L_NOT_ALLOWED_IN_PM}</span>
 246                      <!-- ELSEIF groups.S_ALLOWED_IN_PM and not groups.S_GROUP_ALLOWED --><br /><span>&raquo; {L_ONLY_ALLOWED_IN_PM}</span>
 247                      <!-- ELSEIF not groups.S_GROUP_ALLOWED and not groups.S_ALLOWED_IN_PM --><br /><span>&raquo; {L_NOT_ALLOWED_IN_PM_POST}</span>
 248                      <!-- ELSE --><br /><span>&raquo; {L_ALLOWED_IN_PM_POST}</span><!-- ENDIF -->
 249                  </td>
 250                  <td>{groups.CATEGORY}</td>
 251                  <td align="center" valign="middle" style="white-space: nowrap;">&nbsp;<a href="{groups.U_EDIT}">{ICON_EDIT}</a>&nbsp;&nbsp;<a href="{groups.U_DELETE}">{ICON_DELETE}</a>&nbsp;</td>
 252              </tr>
 253          <!-- END groups -->
 254          </tbody>
 255          </table>
 256          <p class="quick">
 257                  {L_CREATE_GROUP}: <input type="text" name="group_name" maxlength="30" />
 258                  <input class="button2" name="add" type="submit" value="{L_SUBMIT}" />
 259          </p>
 260          {S_FORM_TOKEN}
 261          </fieldset>
 262          </form>
 263  
 264      <!-- ENDIF -->
 265  
 266  <!-- ELSEIF S_EXTENSIONS -->
 267  
 268      <form id="add_ext" method="post" action="{U_ACTION}">
 269      <fieldset>
 270          <legend>{L_ADD_EXTENSION}</legend>
 271      <dl>
 272          <dt><label for="add_extension">{L_EXTENSION}</label></dt>
 273          <dd><input type="text" id="add_extension" size="20" maxlength="100" name="add_extension" value="{ADD_EXTENSION}" /></dd>
 274      </dl>
 275      <dl>
 276          <dt><label for="extension_group">{L_EXTENSION_GROUP}</label></dt>
 277          <dd>{GROUP_SELECT_OPTIONS}</dd>
 278      </dl>
 279  
 280      <p class="quick">
 281          <input type="submit" id="add_extension_check" name="add_extension_check" class="button2" value="{L_SUBMIT}" />
 282      </p>
 283      {S_FORM_TOKEN}
 284      </fieldset>
 285      </form>
 286  
 287      <br />
 288  
 289      <form id="change_ext" method="post" action="{U_ACTION}">
 290  
 291      <fieldset class="tabulated">
 292      <legend>{L_TITLE}</legend>
 293  
 294      <table cellspacing="1">
 295          <col class="row1" /><col class="row1" /><col class="row2" />
 296      <thead>
 297      <tr>
 298          <th>{L_EXTENSION}</th>
 299          <th>{L_EXTENSION_GROUP}</th>
 300          <th>{L_DELETE}</th>
 301      </tr>
 302      </thead>
 303      <tbody>
 304      <!-- BEGIN extensions -->
 305          <!-- IF extensions.S_SPACER -->
 306          <tr>
 307              <td class="spacer" colspan="3">&nbsp;</td>
 308          </tr>
 309          <!-- ENDIF -->
 310          <tr>
 311              <td><strong>{extensions.EXTENSION}</strong></td>
 312              <td>{extensions.GROUP_OPTIONS}</td>
 313              <td><input type="checkbox" class="radio" name="extension_id_list[]" value="{extensions.EXTENSION_ID}" /><input type="hidden" name="extension_change_list[]" value="{extensions.EXTENSION_ID}" /></td>
 314          </tr>
 315      <!-- END extensions -->
 316      </tbody>
 317      </table>
 318  
 319      <p class="submit-buttons">
 320          <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
 321          <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
 322      </p>
 323      {S_FORM_TOKEN}
 324      </fieldset>
 325      </form>
 326  
 327  <!-- ELSEIF S_ORPHAN -->
 328  
 329      <form id="orphan" method="post" action="{U_ACTION}">
 330  
 331      <fieldset class="tabulated">
 332      <legend>{L_TITLE}</legend>
 333  
 334      <table cellspacing="1">
 335      <thead>
 336      <tr>
 337          <th>{L_FILENAME}</th>
 338          <th>{L_FILEDATE}</th>
 339          <th>{L_FILESIZE}</th>
 340          <th>{L_ATTACH_POST_ID}</th>
 341          <th>{L_ATTACH_TO_POST}</th>
 342          <th>{L_DELETE}</th>
 343      </tr>
 344      </thead>
 345      <tbody>
 346      <!-- BEGIN orphan -->
 347          <!-- IF orphan.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
 348              <td><a href="{orphan.U_FILE}">{orphan.REAL_FILENAME}</a></td>
 349              <td>{orphan.FILETIME}</td>
 350              <td>{orphan.FILESIZE}</td>
 351              <td><strong>{L_ATTACH_ID}: </strong><input type="text" name="post_id[{orphan.ATTACH_ID}]" size="7" maxlength="10" value="{orphan.POST_ID}" /></td>
 352              <td><input type="checkbox" class="radio" name="add[{orphan.ATTACH_ID}]" /></td>
 353              <td><input type="checkbox" class="radio" name="delete[{orphan.ATTACH_ID}]" /></td>
 354          </tr>
 355      <!-- END orphan -->
 356      <tr class="row4">
 357          <td colspan="4">&nbsp;</td>
 358          <td class="small"><a href="#" onclick="marklist('orphan', 'add', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('orphan', 'add', false); return false;">{L_UNMARK_ALL}</a></td>
 359          <td class="small"><a href="#" onclick="marklist('orphan', 'delete', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('orphan', 'delete', false); return false;">{L_UNMARK_ALL}</a></td>
 360      </tr>
 361      </tbody>
 362      </table>
 363  
 364      <br />
 365  
 366      <p class="submit-buttons">
 367          <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
 368          <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
 369      </p>
 370      {S_FORM_TOKEN}
 371      </fieldset>
 372      </form>
 373  
 374  <!-- ENDIF -->
 375  
 376  <!-- INCLUDE overall_footer.html -->


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