Files
gallery3/modules/organize/views/organize_album.html.php
Tim Almdal 475b8fe9ff Dragging from the thumbgrid to an album in the tree now works.
Refactored the javascript to minimize duplication.
2009-04-22 16:09:57 +00:00

16 lines
690 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<li class="gOrganizeBranch ui-icon-left" ref="<?= $album->id ?>">
<span id="gOrganizeIcon-<?= $album->id ?>" ref="<?= $album->id ?>"
class="ui-icon <?= $album_icon ?><? if (empty($album_icon)): ?> gBranchEmpty<? endif ?>">> </span>
<div id="gOrganizeBranch-<?= $album->id ?>" ref="<?= $album->id ?>"
class="<? if ($selected): ?>gBranchSelected <? endif ?>gBranchText">
<?= $album->title ?>
</div>
<div id="gOrganizeChildren-<?= $album->id ?>"
class="<? if ($album_icon == "ui-icon-plus"): ?>gBranchCollapsed<? endif ?>">
<?= $children ?>
<div>
</li>
</ul>