From c685684d47f7c0a1946393ee121551ad67dde3db Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 31 Dec 2010 02:57:09 +0000 Subject: added a proper gallery view - still need to wire up the elgg_view_list_item functions and remove the use of context git-svn-id: http://code.elgg.org/elgg/trunk@7784 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layout/objects/gallery.php | 73 ++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 views/default/layout/objects/gallery.php (limited to 'views/default/layout/objects/gallery.php') diff --git a/views/default/layout/objects/gallery.php b/views/default/layout/objects/gallery.php new file mode 100644 index 000000000..29534a450 --- /dev/null +++ b/views/default/layout/objects/gallery.php @@ -0,0 +1,73 @@ + $offset, + 'count' => $count, + 'limit' => $limit, + 'offset_key' => $offset_key, + )); +} + +if ($position == 'before' || $position == 'both') { + echo $nav; +} + +?> + +'; + } + $col++; + + echo '"; + + if ($col == $num_columns) { + echo ''; + $col = 0; + } +} + +if ($col > 0) { + echo ''; +} + +?> + + + +