Revert "Enable the expand/collapse of branches by clicking on the plus/minus"

This reverts commit 869c3de961.
This commit is contained in:
Tim Almdal
2009-08-05 09:23:01 -07:00
parent 869c3de961
commit e37526f94d
5 changed files with 27 additions and 80 deletions

View File

@@ -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>