mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -04:00
26 lines
800 B
PHP
26 lines
800 B
PHP
<?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=$path&csrf=$csrf") ?>"
|
|
id="icon_<?= $id?>"
|
|
class="gRemoveDir ui-icon ui-icon-trash">
|
|
X
|
|
</a>
|
|
<?= $path ?>
|
|
</li>
|
|
<? endforeach ?>
|
|
</ul>
|
|
</div>
|
|
<?= $form ?>
|
|
</div>
|