mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-23 07:15:50 -04:00
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
This commit is contained in:
@@ -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"> </span>
|
||||
</li>
|
||||
</ul>
|
||||
</div -->
|
||||
|
||||
<span id="gOrganizeFormButtons">
|
||||
<?= form::submit(array("id" => "gOrganizeApplyButton", "name" => "apply", "disabled" => true, "class" => "submit"), t("Apply")) ?>
|
||||
</span>
|
||||
<?= form::close() ?>
|
||||
</div>
|
||||
<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?>
|
||||
|
||||
Reference in New Issue
Block a user