mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
Revert "Revert "Enable the expand/collapse of branches by clicking on the plus/minus""
This reverts commit e37526f94d.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user