diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-17 02:06:00 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-17 02:06:00 +0000 |
| commit | d8e91338734185d1bf67f0c84f429d33effce142 (patch) | |
| tree | 39f8c47370efe12eeecd74a778c4826d053dd5a9 /modules/organize/views | |
| parent | 6fae077b52cc44dee15b2befd1862ea65da50730 (diff) | |
Another iteration in the quest for the perfect organize module. At
this point you can select microthumbs, by clicking on them, ctrl-click
will add to the selection. You can select by drawing a lasso around
images. Holding the ctrl will add the lassoed thumbs to the selection.
Once slected, thumbs can be dragged and dropped within the current
At this point no background processing takes place
Diffstat (limited to 'modules/organize/views')
| -rw-r--r-- | modules/organize/views/organize.html.php | 2 | ||||
| -rw-r--r-- | modules/organize/views/organize_thumb_grid.html.php | 11 |
2 files changed, 5 insertions, 8 deletions
diff --git a/modules/organize/views/organize.html.php b/modules/organize/views/organize.html.php index 5f26603e..6b9eb3c6 100644 --- a/modules/organize/views/organize.html.php +++ b/modules/organize/views/organize.html.php @@ -16,7 +16,7 @@ <div class="yui-b"> <a id="gMicroThumbSelectAll" href="#"><?= t("select all") ?></a> <a id="gMicroThumbUnselectAll" href="#" style="display: none"><?= t("deselect all") ?></a> - <div id="gMicroThumbContainer" class="yui-u first" + <div id="gMicroThumbPanel" class="yui-u first" ref="<?= url::site("organize/content/__ITEM_ID__?width=__WIDTH__&height=__HEIGHT__&offset=__OFFSET__") ?>"> <ul id="gMicroThumbGrid"> </ul> diff --git a/modules/organize/views/organize_thumb_grid.html.php b/modules/organize/views/organize_thumb_grid.html.php index cdfd00bb..34b8058f 100644 --- a/modules/organize/views/organize_thumb_grid.html.php +++ b/modules/organize/views/organize_thumb_grid.html.php @@ -1,18 +1,15 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <script> - $(".gMicroThumb").click(toggle_select); + //$(".gMicroThumb").click(toggle_select); </script> <? foreach ($children as $i => $child): ?> <? $item_class = "gPhoto"; ?> <? if ($child->is_album()): ?> <? $item_class = "gAlbum"; ?> <? endif ?> -<li> - <div> - <div class="gOrganizeReorderDropTarget" ref="<?= $child->id ?>"> </div> - <div id="gMicroThumb-<?= $child->id ?>" class="gMicroThumb <?= $item_class ?>"> - <?= $child->thumb_tag(array("class" => "gThumbnail"), $thumbsize, true) ?> - </div> +<li id="thumb_<?= $child->id ?>" class="gMicroThumbContainer" ref="<?= $child->id ?>"> + <div id="gMicroThumb-<?= $child->id ?>" class="gMicroThumb <?= $item_class ?>"> + <?= $child->thumb_tag(array("class" => "gThumbnail"), $thumbsize, true) ?> </div> </li> <? endforeach ?> |
