mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-06 15:10:44 -04:00
Revert "Checkpoint the organize module rewrite. At this point, it doesn't really do"
This reverts commit a25f08d433.
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<!-- ?= html::script("modules/organize/js/organize.js") ? -->
|
||||
<script>
|
||||
var FATAL_ERROR = "<?= t("Fatal Error") ?>";
|
||||
var PAUSE_BUTTON = "<?= t("Pause") ?>";
|
||||
var RESUME_BUTTON = "<?= t("Resume") ?>";
|
||||
var CANCEL_BUTTON = "<?= t("Cancel") ?>";
|
||||
var INVALID_DROP_TARGET = "<div class=\"gError\"><?= t("Drop cancelled as it would result in a recursive move") ?></div>";
|
||||
var CONFIRM_DELETE = "<?= t("Do you really want to delete the selected albums and/or photos") ?>"
|
||||
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" => p::purify($item->title))) ?></legend>
|
||||
</fieldset>
|
||||
<div id="doc3" class="yui-t7">
|
||||
<div id="bd">
|
||||
<div class="yui-gf">
|
||||
<div class="yui-u first">
|
||||
<h3><?= t("Albums") ?></h3>
|
||||
</div>
|
||||
<div id="gMessage" class="yui-u">
|
||||
<div class="gInfo"><?= t("Select one or more items to edit; drag and drop items to re-order or move between albums") ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="yui-gf">
|
||||
<div id="gOrganizeTreeContainer" class="yui-u first">
|
||||
<?= $album_tree ?>
|
||||
</div>
|
||||
<div id="gMicroThumbPanel" class="yui-u"
|
||||
ref="<?= url::site("organize/content/__ITEM_ID__?width=__WIDTH__&height=__HEIGHT__&offset=__OFFSET__") ?>">
|
||||
<ul id="gMicroThumbGrid"></ul>
|
||||
</div>
|
||||
<div id="gOrganizeEditDrawer" class="yui-u">
|
||||
<div id="gOrganizeEditDrawerPanel" class="yui-gf">
|
||||
<div id="gOrganizeFormThumbs" class="yui-u first">
|
||||
<ul id="gOrganizeFormThumbStack" />
|
||||
</div>
|
||||
<div id="gOrganizeEditForm">
|
||||
</div>
|
||||
</div>
|
||||
<div id="gOrganizeEditDrawerHandle">
|
||||
<?= $button_pane ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user