summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_thumb_grid.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-04-03 00:50:43 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-04-03 00:50:43 +0000
commitf1cb43430bc84aaa2bcf7bfc99d1ef9dd0138e78 (patch)
treef7f8ae15106ec67d6b10220a6754c2d67353b048 /modules/organize/views/organize_thumb_grid.html.php
parent688376223853bcc07ef0eed9926a2a6fce46ef9e (diff)
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.
Diffstat (limited to 'modules/organize/views/organize_thumb_grid.html.php')
-rw-r--r--modules/organize/views/organize_thumb_grid.html.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/organize/views/organize_thumb_grid.html.php b/modules/organize/views/organize_thumb_grid.html.php
new file mode 100644
index 00000000..1cbc4241
--- /dev/null
+++ b/modules/organize/views/organize_thumb_grid.html.php
@@ -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 ?>
+