summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_edit.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-05-21 01:31:29 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-05-21 01:31:29 +0000
commita9e3692027dc767b340242ed18fe7184cbfd883d (patch)
tree125e9d3cdb28c5acdd34e1bc15fe80df030bf8e7 /modules/organize/views/organize_edit.html.php
parentf24c8f66ea9673d812c882dd7db6fbe49bd01dfb (diff)
1) This provides the editting functionality for albums and photos in the
organize feature. 2) Remove the tag functionality at this point 3) Added a callback to handle validating conflicting names (only used by organize at this point. 4) Closes #231
Diffstat (limited to 'modules/organize/views/organize_edit.html.php')
-rw-r--r--modules/organize/views/organize_edit.html.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/organize/views/organize_edit.html.php b/modules/organize/views/organize_edit.html.php
index c0fc43e5..1adf290f 100644
--- a/modules/organize/views/organize_edit.html.php
+++ b/modules/organize/views/organize_edit.html.php
@@ -5,6 +5,10 @@
<? endforeach?>
</ul>
-<? foreach ($panes as $idx => $pane): ?>
- <div id="pane-<?= $idx ?>" class="gOrganizeEditPane"><?= $pane["content"] ?></div>
-<? endforeach?>
+<? if (count($panes) > 0): ?>
+ <? foreach ($panes as $idx => $pane): ?>
+ <div id="pane-<?= $idx ?>" class="gOrganizeEditPane ui-tabs-hide"><?= $pane["content"] ?></div>
+ <? endforeach?>
+<? else: ?>
+<div class="gWarning"><?= t("No Edit pages apply to the selected items") ?></div>
+<? endif ?> \ No newline at end of file