mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
36 lines
1.2 KiB
PHP
36 lines
1.2 KiB
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<script type="text/javascript">
|
|
var GET_CHILDREN_URL = "<?= url::site("server_add/children?path=__PATH__") ?>";
|
|
</script>
|
|
|
|
<div id="gServerAdd">
|
|
<h1 style="display: none;"><?= t("Add Photos to '%title'", array("title" => p::clean($item->title))) ?></h1>
|
|
|
|
<p id="gDescription"><?= t("Photos will be added to album:") ?></p>
|
|
<ul class="gBreadcrumbs">
|
|
<? foreach ($item->parents() as $parent): ?>
|
|
<li>
|
|
<?= p::clean($parent->title) ?>
|
|
</li>
|
|
<? endforeach ?>
|
|
<li class="active">
|
|
<?= p::clean($item->title) ?>
|
|
</li>
|
|
</ul>
|
|
|
|
<?= form::open(url::abs_site("server_add/add"), array("method" => "post")) ?>
|
|
<?= access::csrf_form_field(); ?>
|
|
<ul id="gServerAddTree" class="gCheckboxTree">
|
|
<?= $tree ?>
|
|
</ul>
|
|
|
|
<span>
|
|
<input id="gServerAddPauseButton" class="submit ui-state-disabled" disabled="disabled" type="submit"
|
|
value="<?= t("Pause") ?>" style="display: none">
|
|
<input id="gServerAddAddButton" class="submit ui-state-disabled" disabled="disabled" type="submit"
|
|
value="<?= t("Add") ?>">
|
|
</span>
|
|
<?= form::close() ?>
|
|
<div class="gProgressBar" style="visibility: hidden" ></div>
|
|
</div>
|