mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-12 10:07:42 -04:00
Further streamline the code.
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
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<?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 ?>"
|
||||
@@ -16,4 +15,3 @@
|
||||
<? endforeach ?>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user