summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_dialog.html.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-08-29 14:02:29 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-08-29 14:02:29 -0600
commita9fcec755a835e284465bafcc9aba9ec9c2f0f62 (patch)
tree1b6a6029d18ee7cb350f47dd5be54a9bbbbebd17 /modules/organize/views/organize_dialog.html.php
parent5db0b68a70434a16d8881a6e560a9526530a8a60 (diff)
parent6b633e87489acbe79d65fc5e089d35cc27ee691c (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/organize/views/organize_dialog.html.php')
-rw-r--r--modules/organize/views/organize_dialog.html.php28
1 files changed, 12 insertions, 16 deletions
diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php
index 7c09266f..b03c066c 100644
--- a/modules/organize/views/organize_dialog.html.php
+++ b/modules/organize/views/organize_dialog.html.php
@@ -1,10 +1,11 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript">
- var move_url = "<?= url::site("organize/move/__TARGET_ID__?csrf=$csrf") ?>";
+ var move_url = "<?= url::site("organize/move_to/__ALBUM_ID__?csrf=$csrf") ?>";
var rearrange_url = "<?= url::site("organize/rearrange/__TARGET_ID__/__BEFORE__?csrf=$csrf") ?>";
+ var sort_order_url = "<?= url::site("organize/sort_order/__ALBUM_ID__/__COL__/__DIR__?csrf=$csrf") ?>";
</script>
<div id="gOrganize" class="gDialogPanel">
- <h1 style="display:none"><?= t("Organize %name", array("name" => p::purify($title))) ?></h1>
+ <h1 style="display:none"><?= t("Organize %name", array("name" => p::purify($album->title))) ?></h1>
<div id="bd">
<div class="yui-gf">
<div class="yui-u first">
@@ -22,24 +23,19 @@
</div>
<div id="gOrganizeDetail" class="yui-u">
<div id="gMicroThumbPanel"
- ref="<?= url::site("organize/content/__ITEM_ID__/__OFFSET__") ?>">
+ ref="<?= url::site("organize/album/__ITEM_ID__/__OFFSET__") ?>">
<ul id="gMicroThumbGrid">
<?= $micro_thumb_grid ?>
</ul>
</div>
- <div id="gOrganizeEditDrawer" class="yui-u">
- <div id="gOrganizeEditDrawerPanel" class="yui-gf">
- </div>
- <div id="gOrganizeEditDrawerHandle">
- <div id="gOrganizeEditHandleButtonsRight">
- <a id="gMicroThumbDone" href="#" ref="done"
- class="gButtonLink ui-corner-all ui-state-default"><?= t("Close") ?></a>
- </div>
- </div>
- </div>
- <div id="gOrganizeProgress" style="display: none">
- <div class="gProgressBar"></div>
- <div id="gStatus"></div>
+ <div id="gOrganizeControls">
+ <a id="gOrganizeClose" href="#" ref="done"
+ class="gButtonLink ui-corner-all ui-state-default"><?= t("Close") ?></a>
+ <form>
+ <?= t("Sort order") ?>
+ <?= form::dropdown(array("id" => "gOrganizeSortColumn"), album::get_sort_order_options(), $album->sort_column) ?>
+ <?= form::dropdown(array("id" => "gOrganizeSortOrder"), array("ASC" => "Ascending", "DESC" => "Descending"), $album->sort_order) ?>
+ </form>
</div>
</div>
</div>