summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_edit.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-05-18 19:34:03 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-05-18 19:34:03 +0000
commit762ca225443626b69c94f6d6c833f66de69b2ce1 (patch)
treef2c77401b6b6f018728fc37f0b6fdbb012d75654 /modules/organize/views/organize_edit.html.php
parentad16488643017f293dda6b226024751d15cb4426 (diff)
This takes us the next step closer to providing bulk edit. We still
can't edit, but we are getting closer :-). This change sets up a framework for modules to contribute edit panels to the organize drawer. Currently implemented General (albums and photos), Sort Order (albums only) and Manage Tags
Diffstat (limited to 'modules/organize/views/organize_edit.html.php')
-rw-r--r--modules/organize/views/organize_edit.html.php35
1 files changed, 9 insertions, 26 deletions
diff --git a/modules/organize/views/organize_edit.html.php b/modules/organize/views/organize_edit.html.php
index f3b6eb87..c0fc43e5 100644
--- a/modules/organize/views/organize_edit.html.php
+++ b/modules/organize/views/organize_edit.html.php
@@ -1,27 +1,10 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<div id="gOrganizeForm" class="yui-u">
- <?= form::open(url::site("organize/update/__ITEM_ID__?csrf=__CSRF__&action=__ACTION__"), array("method" => "post")) ?>
-
- <!-- div id="gOrganizeFormInfo" style="display:none"
- ref="<?= url::site("organize/detail/__ITEM_ID__") ?>">
- <ul>
- <li>
- Title: <span id="gOrganizeFormTitle"></span>
- </li>
- <li>
- Owner: <span id="gOrganizeFormOwner"></span>
- </li>
- <li>
- Date: <span id="gOrganizeFormDate"></span>
- </li>
- <li>
- Description: <span id="gOrganizeFormDescription">&nbsp;</span>
- </li>
- </ul>
- </div -->
-
- <span id="gOrganizeFormButtons">
- <?= form::submit(array("id" => "gOrganizeApplyButton", "name" => "apply", "disabled" => true, "class" => "submit"), t("Apply")) ?>
- </span>
- <?= form::close() ?>
-</div> \ No newline at end of file
+<ul>
+<? foreach ($panes as $idx => $pane): ?>
+ <li><a href="#pane-<?= $idx ?>"><?= $pane["label"] ?></a></li>
+<? endforeach?>
+</ul>
+
+<? foreach ($panes as $idx => $pane): ?>
+ <div id="pane-<?= $idx ?>" class="gOrganizeEditPane"><?= $pane["content"] ?></div>
+<? endforeach?>