2009-03-05 02:26:39 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2009-10-18 20:22:10 -06:00
|
|
|
<div class="g-block">
|
2009-10-28 12:15:52 -07:00
|
|
|
<h1> <?= t("Add from server admininstration") ?> </h1>
|
2009-10-18 20:22:10 -06:00
|
|
|
<div class="g-block-content">
|
2009-10-23 22:24:06 -06:00
|
|
|
<?= $form ?>
|
2009-10-28 12:15:52 -07:00
|
|
|
<h2><?= t("Authorized paths") ?></h2>
|
2009-10-23 22:24:06 -06:00
|
|
|
<ul id="g-server-add-paths">
|
|
|
|
|
<? if (empty($paths)): ?>
|
2009-10-28 12:15:52 -07:00
|
|
|
<li class="g-module-status g-info"><?= t("No authorized image source paths defined yet") ?></li>
|
2009-10-23 22:24:06 -06:00
|
|
|
<? endif ?>
|
2009-03-05 02:26:39 +00:00
|
|
|
<? foreach ($paths as $id => $path): ?>
|
2009-10-23 22:24:06 -06:00
|
|
|
<li>
|
2009-10-18 20:22:10 -06:00
|
|
|
<?= html::clean($path) ?>
|
2009-08-29 15:41:02 -07:00
|
|
|
<a href="<?= url::site("admin/server_add/remove_path?path=" . urlencode($path) . "&csrf=$csrf") ?>"
|
2009-10-23 22:24:06 -06:00
|
|
|
id="icon_<?= $id ?>"
|
|
|
|
|
class="g-remove-dir g-button"><span class="ui-icon ui-icon-trash"><?= t("delete") ?></span></a>
|
2009-03-05 02:26:39 +00:00
|
|
|
</li>
|
|
|
|
|
<? endforeach ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|