summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_tree.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-27 16:15:01 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-27 16:15:01 -0700
commit8d2cd12c58508c58520d4df2875a3f7974343d8f (patch)
treebc2c99a5f493d365d0306c855878bad319cc664f /modules/organize/views/organize_tree.html.php
parente0e430bd84d8c82eb425c0bc828dae2b9c0d86be (diff)
parentbfc64685e4ae4bbd2c0308e9520194215ab51469 (diff)
Merge branch 'master' of git@github.com:talmdal/gallery3 into talmdal_branch
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>