summaryrefslogtreecommitdiff
path: root/modules/server_add/views/admin_server_add.html.php
blob: b48a19da6a809bfdd630cabdd4513ab1424b1b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gServerAddAdmin">
  <h2>
    <?= t("Add From Server Admininstration") ?>
  </h2>
  <div id="gAuthorizedPath">
    <h3><?= t("Authorized Paths") ?></h3>
    <ul id="gMessage"<? if (!empty($paths)): ?> style="display: none;"<? endif ?>>
      <li class="gInfo"><?= t("No Authorized image source paths defined yet") ?></li>
    </ul>
    <ul id="gPathList">
      <? foreach ($paths as $id => $path): ?>
      <li class="ui-icon-left">
        <a href="<?= url::site("admin/server_add/remove_path?path=" . urlencode($path) . "&amp;csrf=$csrf") ?>"
           id="icon_<?= $id?>"
           class="gRemoveDir ui-icon ui-icon-trash">
          X
        </a>
        <?= html::clean($path) ?>
      </li>
      <? endforeach ?>
    </ul>
  </div>
  <?= $form ?>
</div>