2009-03-05 02:26:39 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2009-10-04 00:27:22 -06:00
|
|
|
<div id="g-server-add-admin">
|
2009-03-05 02:26:39 +00:00
|
|
|
<h2>
|
|
|
|
|
<?= t("Add From Server Admininstration") ?>
|
|
|
|
|
</h2>
|
2009-10-04 00:27:22 -06:00
|
|
|
<div id="g-authorized-path">
|
2009-06-23 23:44:08 -06:00
|
|
|
<h3><?= t("Authorized Paths") ?></h3>
|
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-04 00:27:22 -06:00
|
|
|
<ul id="g-path-list">
|
2009-03-05 02:26:39 +00:00
|
|
|
<? foreach ($paths as $id => $path): ?>
|
|
|
|
|
<li class="ui-icon-left">
|
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-04 00:27:22 -06:00
|
|
|
class="g-remove-dir ui-icon ui-icon-trash">
|
2009-03-05 02:26:39 +00:00
|
|
|
X
|
|
|
|
|
</a>
|
2009-08-29 22:54:20 -07:00
|
|
|
<?= html::clean($path) ?>
|
2009-03-05 02:26:39 +00:00
|
|
|
</li>
|
|
|
|
|
<? endforeach ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<?= $form ?>
|
|
|
|
|
</div>
|