mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-31 00:39:11 -04:00
Organize_Controller: * Remove unnecessary constants * Rename index() to dialog() * Simplify _get_micro_thumb_grid organize.js: * Move sizing code in here from organize_dialog.html.php organize_dialog.html.php: * Move CSS and JS links in here so that we only load them when we need them. * Move sizing code into organize.js organize_thumb_grid.html.php: * Move pagination logic in here, since it's view centric * Collapse the css class determination code and inline it
18 lines
704 B
PHP
18 lines
704 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<li class="gOrganizeBranch ui-icon-left" ref="<?= $album->id ?>">
|
|
<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>
|
|
<ul id="gOrganizeChildren-<?= $album->id ?>"
|
|
class="<?= $album_icon == "ui-icon-plus" ? "gBranchCollapsed" : "" ?>">
|
|
<li style="display:none"> </li>
|
|
<? foreach ($children as $child): ?>
|
|
<?= $child ?>
|
|
<? endforeach ?>
|
|
</ul>
|
|
</li>
|