blob: 6f87c51207bd04f74b8189798c59d0fe2d61bf3e (
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">
<span><?= t("Authorized Paths") ?></span>
<ul id="gPathList">
<? foreach ($paths as $id => $path): ?>
<li class="ui-icon-left">
<a href="<?= url::site("admin/server_add/remove_path?path=$path&csrf=$csrf") ?>"
id="icon_<?= $id?>"
class="gRemoveDir ui-icon ui-icon-trash">
X
</a>
<?= $path ?>
</li>
<? endforeach ?>
</ul>
<div id="gNoAuthorizedPaths" <? if (!empty($paths)): ?>style="display:none"<? endif ?>>
<span class="gWarning"><?= t("No Authorized image source paths defined") ?></span>
</div>
</div>
<?= $form ?>
</div>
|