mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
Conflicts: modules/akismet/views/admin_akismet.html.php modules/comment/helpers/comment_rss.php modules/gallery/helpers/gallery_rss.php modules/gallery/libraries/I18n.php modules/gallery/views/permissions_browse.html.php modules/gallery/views/simple_uploader.html.php modules/info/views/info_block.html.php modules/organize/controllers/organize.php modules/organize/views/organize.html.php modules/organize/views/organize_album.html.php themes/default/views/album.html.php themes/default/views/movie.html.php themes/default/views/photo.html.php
58 lines
1.7 KiB
PHP
58 lines
1.7 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__") ?>";
|
|
var START_URL = "<?= url::site("server_add/start?item_id={$item->id}&csrf=$csrf") ?>";
|
|
</script>
|
|
|
|
<div id="gServerAdd">
|
|
<h1 style="display: none;"><?= t("Add Photos to '%title'", array("title" => SafeString::purify($item->title))) ?></h1>
|
|
|
|
<p id="gDescription"><?= t("Photos will be added to album:") ?></p>
|
|
<ul class="gBreadcrumbs">
|
|
<? foreach ($item->parents() as $parent): ?>
|
|
<li>
|
|
<?= SafeString::purify($parent->title) ?>
|
|
</li>
|
|
<? endforeach ?>
|
|
<li class="active">
|
|
<?= SafeString::purify($item->title) ?>
|
|
</li>
|
|
</ul>
|
|
|
|
<ul id="gServerAddTree" class="gCheckboxTree">
|
|
<?= $tree ?>
|
|
</ul>
|
|
|
|
<div id="gServerAddProgress" style="display: none">
|
|
<div class="gProgressBar"></div>
|
|
<div id="gStatus"></div>
|
|
</div>
|
|
|
|
<span>
|
|
<button id="gServerAddAddButton" class="ui-state-default ui-state-disabled ui-corner-all"
|
|
disabled="disabled">
|
|
<?= t("Add") ?>
|
|
</button>
|
|
|
|
<button id="gServerCloseButton" class="ui-state-default ui-corner-all">
|
|
<?= t("Close") ?>
|
|
</button>
|
|
</span>
|
|
|
|
<script type="text/javascript">
|
|
$("#gServerAddAddButton").ready(function() {
|
|
$("#gServerAddAddButton").click(function(event) {
|
|
event.preventDefault();
|
|
$("#gServerAdd .gProgressBar").
|
|
progressbar().
|
|
progressbar("value", 0);
|
|
$("#gServerAddProgress").slideDown("fast", function() { start_add() });
|
|
});
|
|
$("#gServerCloseButton").click(function(event) {
|
|
$("#gDialog").dialog("close");
|
|
});
|
|
});
|
|
</script>
|
|
|
|
</div>
|