First iteration of the organize functionality (orginally called bulk

edit).  There is limited functionality in no edits work.  This is
primary a chance for the team to review the ui.  It is in a separate
module to isolate the changes.  Eventually, it will be moved back into core.
This commit is contained in:
Tim Almdal
2009-04-03 00:50:43 +00:00
parent 6883762238
commit f1cb43430b
14 changed files with 630 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<!-- ?= html::script("modules/organize/js/organize.js") ? -->
<script>
var item_id = <?= $item->id ?>;
var csrf = "<?= $csrf ?>";
$("#doc3").ready(function() {
organize_dialog_init();
$("#gMicroThumbContainer").scroll(function() {
get_more_data();
});
});
</script>
<fieldset style="display: none">
<legend><?= t("Organize %name", array("name" => $item->title)) ?></legend>
</fieldset>
<div id="doc3" class="yui-t6">
<div id="hd" ref="<?= url::site("organize/header/__ITEM_ID__") ?>">
<h2 id="gOrganizeAlbumTitle"><?= $item->title ?></h2>
<p id="gOrganizeAlbumDescription"><?= $item->description ?></p>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<div class="yui-gf">
<div id="gOrganizeTreeContainer" class="yui-u first" style="border: 1px solid">
<?= $album_tree ?>
</div>
<div id="gMicroThumbContainer" class="yui-u" style="border: 1px solid"
ref="<?= url::site("organize/content/__ITEM_ID__?width=__WIDTH__&height=__HEIGHT__&offset=__OFFSET__") ?>">
<ul id="gMicroThumbGrid">
</ul>
</div>
</div>
</div>
</div>
<div id="gOrganizeEditContainer" class="yui-b" style="border: 1px solid">
<?= $edit_form ?>
</div>
</div>
<div id="ft">
<div class="gProgressBar" style="visibility: hidden" ></div>
</div>
</div>