summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_tree.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-28 11:42:54 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-28 11:42:54 -0700
commit16fc4465d0e773239bfe11681f7303b46e6419f0 (patch)
treefd67e408d9b3a7905553ce220ef948124d29c069 /modules/organize/views/organize_tree.html.php
parentc0c65c6fcc971b1ea9c0afb75854aec502591d56 (diff)
parent430b57578b048366f054743e47de1b66cebb574e (diff)
Merge branch 'master' of git@github.com:talmdal/gallery3
Diffstat (limited to 'modules/organize/views/organize_tree.html.php')
-rw-r--r--modules/organize/views/organize_tree.html.php19
1 files changed, 16 insertions, 3 deletions
diff --git a/modules/organize/views/organize_tree.html.php b/modules/organize/views/organize_tree.html.php
index d2cdd957..823301fc 100644
--- a/modules/organize/views/organize_tree.html.php
+++ b/modules/organize/views/organize_tree.html.php
@@ -1,4 +1,17 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<? foreach ($children as $i => $child): ?>
-<? endforeach ?>
-
+<li class="gOrganizeBranch ui-icon-left <?= $can_edit ? "" : "gViewOnly" ?>" ref="<?= $album->id ?>">
+ <div id="gOrganizeBranch-<?= $album->id ?>" ref="<?= $album->id ?>"
+ class="<?= $selected ? "gBranchSelected" : "" ?>">
+ <span id="gOrganizeIcon-<?= $album->id ?>" ref="<?= $album->id ?>"
+ class="ui-icon <?= $album_icon ?>">
+ </span>
+ <span class="gBranchText" ref="<?= $album->id ?>"><?= p::clean($album->title) ?></span>
+ </div>
+ <ul id="gOrganizeChildren-<?= $album->id ?>"
+ class="<?= $album_icon == "ui-icon-plus" ? "gBranchCollapsed" : "" ?>">
+ <li style="display:none">&nbsp;</li>
+ <? foreach ($children as $child): ?>
+ <?= $child ?>
+ <? endforeach ?>
+ </ul>
+</li>