mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-26 22:39:10 -04:00
2) Improved drop location determination 3) Add a revert if dropped on an invalid target 4) Add a popup dialog to display ajax errors Still to do progress bar, pause/continue and status messages
40 lines
1.4 KiB
PHP
40 lines
1.4 KiB
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<!-- ?= html::script("modules/organize/js/organize.js") ? -->
|
|
<script>
|
|
var FATAL_ERROR = "<?= t("Fatal Error") ?>";
|
|
var item_id = <?= $item->id ?>;
|
|
var csrf = "<?= $csrf ?>";
|
|
var rearrangeUrl = "<?= url::site("__URI__/{$item->id}__TASK_ID__?csrf=$csrf") ?>";
|
|
$("#doc3").ready(function() {
|
|
organize_dialog_init();
|
|
});
|
|
</script>
|
|
<fieldset style="display: none">
|
|
<legend><?= t("Organize %name", array("name" => $item->title)) ?></legend>
|
|
</fieldset>
|
|
<div id="doc3" class="yui-t1">
|
|
<div id="bd" role="main">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
<a id="gMicroThumbSelectAll" href="#"><?= t("select all") ?></a>
|
|
<a id="gMicroThumbUnselectAll" href="#" style="display: none"><?= t("deselect all") ?></a>
|
|
<div id="gMicroThumbPanel" class="yui-u first"
|
|
ref="<?= url::site("organize/content/__ITEM_ID__?width=__WIDTH__&height=__HEIGHT__&offset=__OFFSET__") ?>">
|
|
<ul id="gMicroThumbGrid">
|
|
</ul>
|
|
</div>
|
|
<!-- div id="gOrganizeEditContainer" class="yui-u">
|
|
< ?= $edit_form ? >
|
|
</div -->
|
|
</div>
|
|
</div>
|
|
<div id="gOrganizeTreeContainer" class="yui-b">
|
|
<h3><?= t("Albums") ?></h3>
|
|
<?= $album_tree ?>
|
|
</div>
|
|
</div>
|
|
<!-- div id="ft">
|
|
<div class="gProgressBar" style="visibility: hidden"></div>
|
|
</div -->
|
|
</div>
|