diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-05 09:23:32 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-05 09:23:32 -0700 |
| commit | 397468c47b8fc3fefeb54ff19a73980ed1dd8c20 (patch) | |
| tree | 1dd6668463cecb755325f0644945897bdbe98423 /modules/organize/views/organize_thumb_grid.html.php | |
| parent | e37526f94df74a52a9cf36f0a5a5e641958ebbb3 (diff) | |
Revert "Checkpoint the organize module rewrite. At this point, it doesn't really do"
This reverts commit a25f08d433d504a53763feb358a1aa7f5f798de6.
Diffstat (limited to 'modules/organize/views/organize_thumb_grid.html.php')
| -rw-r--r-- | modules/organize/views/organize_thumb_grid.html.php | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/modules/organize/views/organize_thumb_grid.html.php b/modules/organize/views/organize_thumb_grid.html.php index e6b7aec0..c80696ad 100644 --- a/modules/organize/views/organize_thumb_grid.html.php +++ b/modules/organize/views/organize_thumb_grid.html.php @@ -1,19 +1,12 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <? 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 ?>" ref="<?= $child->id ?>"> +<? $item_class = "gPhoto"; ?> +<? if ($child->is_album()): ?> + <? $item_class = "gAlbum"; ?> +<? endif ?> +<li id="thumb_<?= $child->id ?>" class="gMicroThumbContainer" ref="<?= $child->id ?>"> + <div id="gMicroThumb-<?= $child->id ?>" class="gMicroThumb <?= $item_class ?>"> <?= $child->thumb_img(array("class" => "gThumbnail"), $thumbsize, true) ?> - </li> + </div> +</li> <? endforeach ?> -<? if (count($children) >= 25): ?> -<script> - $.get("<?= url::site("organize/content/{$item_id}/$offset") ?>", - function(data) { - $("#gMicroThumbGrid").append(data); - } - ); -</script> -<? endif ?>
\ No newline at end of file |
