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">
|
|
|
|
|
<h1> <?= t("Add From Server Admininstration") ?> </h1>
|
|
|
|
|
<div class="g-block-content">
|
|
|
|
|
<h2><?= t("Authorized Paths") ?></h2>
|
2009-09-30 22:48:05 -06:00
|
|
|
<ul<? if (!empty($paths)): ?> style="display: none;"<? endif ?>>
|
2009-10-04 00:27:22 -06:00
|
|
|
<li class="g-module-status g-info"><?= t("No Authorized image source paths defined yet") ?></li>
|
2009-06-23 23:44:08 -06:00
|
|
|
</ul>
|
2009-10-18 20:22:10 -06:00
|
|
|
<ul>
|
2009-03-05 02:26:39 +00:00
|
|
|
<? foreach ($paths as $id => $path): ?>
|
|
|
|
|
<li class="ui-icon-left">
|
2009-10-18 20:22:10 -06:00
|
|
|
<span class="ui-icon ui-icon-folder-open"></span>
|
|
|
|
|
<?= 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-03-05 02:26:39 +00:00
|
|
|
id="icon_<?= $id?>"
|
2009-10-18 20:22:10 -06:00
|
|
|
class="g-remove-dir"><span class="ui-icon ui-icon-trash">X</span></a>
|
2009-03-05 02:26:39 +00:00
|
|
|
</li>
|
|
|
|
|
<? endforeach ?>
|
|
|
|
|
</ul>
|
2009-10-18 20:22:10 -06:00
|
|
|
<?= $form ?>
|
2009-03-05 02:26:39 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|