diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-05 10:26:49 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-05 10:26:49 -0700 |
| commit | 63f3efef37839ffba8cd75b9098d56cd03b06376 (patch) | |
| tree | 4a366cf137c6d1c91e85401943b7573bb7615540 /modules/organize/views/organize_tree.html.php | |
| parent | 65c850c393ce6159289e3fd05056c33e7d62e961 (diff) | |
Revert "Revert "Enable the expand/collapse of branches by clicking on the plus/minus""
This reverts commit e37526f94df74a52a9cf36f0a5a5e641958ebbb3.
Diffstat (limited to 'modules/organize/views/organize_tree.html.php')
| -rw-r--r-- | modules/organize/views/organize_tree.html.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/organize/views/organize_tree.html.php b/modules/organize/views/organize_tree.html.php index 28b45be0..d64410d8 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,7 +13,9 @@ <? else: ?> <ul id="gOrganizeChildren-<?= $album->id ?>" class="<?= $album_icon == "ui-icon-plus" ? "gBranchCollapsed" : "" ?>"> - <?= $children ?> + <? foreach ($children as $child): ?> + <?= $child ?> + <? endforeach ?> </ul> <? endif ?> </li> |
