blob: 4fd7f257f28b9957e2cee877449789be026de8b4 (
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<? if (!empty($paths)): ?> style="display: none;"<? endif ?>>
<li class="gModuleStatus 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) . "&csrf=$csrf") ?>"
id="icon_<?= $id?>"
class="gRemoveDir ui-icon ui-icon-trash">
X
</a>
<?= html::clean($path) ?>
</li>
<? endforeach ?>
</ul>
</div>
<?= $form ?>
</div>
|