mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-18 07:39:54 -04:00
anything, but get the dialog up, populate the album tree and intelligently populate the micro thumb grid. Still to do: 1) get the microthumbs laided out ptoperly 2) expand and collapse functionality in the album tree 3) use the album tree to change the content of the micro thumb grid 4) Actually add some functionality At the moment, it supports a callback "" to allow modules to add icons to the organize drawer label. The close button is added outside of this framework as it will always be last.
21 lines
762 B
PHP
21 lines
762 B
PHP
<?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">
|
|
<?= p::clean($album->title) ?>
|
|
</div>
|
|
<? if (empty($children)): ?>
|
|
<div id="gOrganizeChildren-<?= $album->id ?>"></div>
|
|
<? else: ?>
|
|
<ul id="gOrganizeChildren-<?= $album->id ?>"
|
|
class="<?= $album_icon == "ui-icon-plus" ? "gBranchCollapsed" : "" ?>">
|
|
<?= $children ?>
|
|
</ul>
|
|
<? endif ?>
|
|
</li>
|
|
|