mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-21 11:59:13 -04:00
First iteration of the organize functionality (orginally called bulk
edit). There is limited functionality in no edits work. This is primary a chance for the team to review the ui. It is in a separate module to isolate the changes. Eventually, it will be moved back into core.
This commit is contained in:
14
modules/organize/views/organize_thumb_grid.html.php
Normal file
14
modules/organize/views/organize_thumb_grid.html.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<script>
|
||||
$(".gMicroThumb").click(toggle_select);
|
||||
</script>
|
||||
<? foreach ($children as $i => $child): ?>
|
||||
<? $item_class = "gPhoto"; ?>
|
||||
<? if ($child->is_album()): ?>
|
||||
<? $item_class = "gAlbum"; ?>
|
||||
<? endif ?>
|
||||
<li id="gMicroThumb-<?= $child->id ?>" class="gMicroThumb <?= $item_class ?>">
|
||||
<?= $child->micro_thumb_tag(array("class" => "gThumbnail"), $thumbsize) ?>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
|
||||
Reference in New Issue
Block a user