summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_tree.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-05 09:23:01 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-05 09:23:01 -0700
commite37526f94df74a52a9cf36f0a5a5e641958ebbb3 (patch)
treede41b6924d45aaf6186f76bd2ee0dbdbb71aa546 /modules/organize/views/organize_tree.html.php
parent869c3de9612a598dae0ce400991bdbe173a2decc (diff)
Revert "Enable the expand/collapse of branches by clicking on the plus/minus"
This reverts commit 869c3de9612a598dae0ce400991bdbe173a2decc.
Diffstat (limited to 'modules/organize/views/organize_tree.html.php')
-rw-r--r--modules/organize/views/organize_tree.html.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/organize/views/organize_tree.html.php b/modules/organize/views/organize_tree.html.php
index d64410d8..28b45be0 100644
--- a/modules/organize/views/organize_tree.html.php
+++ b/modules/organize/views/organize_tree.html.php
@@ -1,11 +1,11 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<li class="gOrganizeBranch ui-icon-left" ref="<?= $album->id ?>">
+ <span id="gOrganizeIcon-<?= $album->id ?>" ref="<?= $album->id ?>"
+ class="ui-icon <?= $album_icon ?> <?= $album_icon ? "" : "gBranchEmpty" ?>">
+ </span>
<div id="gOrganizeBranch-<?= $album->id ?>" ref="<?= $album->id ?>"
class="<?= $selected ? "gBranchSelected" : "" ?> gBranchText">
- <span id="gOrganizeIcon-<?= $album->id ?>" ref="<?= $album->id ?>"
- class="ui-icon <?= $album_icon ?>">
- </span>
<?= p::clean($album->title) ?>
</div>
<? if (empty($children)): ?>
@@ -13,9 +13,7 @@
<? else: ?>
<ul id="gOrganizeChildren-<?= $album->id ?>"
class="<?= $album_icon == "ui-icon-plus" ? "gBranchCollapsed" : "" ?>">
- <? foreach ($children as $child): ?>
- <?= $child ?>
- <? endforeach ?>
+ <?= $children ?>
</ul>
<? endif ?>
</li>