aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout')
-rw-r--r--views/default/layout/objects/gallery.php2
-rw-r--r--views/default/layout/objects/list.php4
2 files changed, 2 insertions, 4 deletions
diff --git a/views/default/layout/objects/gallery.php b/views/default/layout/objects/gallery.php
index 29534a450..4135de9df 100644
--- a/views/default/layout/objects/gallery.php
+++ b/views/default/layout/objects/gallery.php
@@ -3,6 +3,8 @@
* Gallery view
*
* @uses $vars['items']
+ *
+ * @todo not complete - number of columns
*/
$items = $vars['items'];
diff --git a/views/default/layout/objects/list.php b/views/default/layout/objects/list.php
index 0ab3d5482..6d12c5e55 100644
--- a/views/default/layout/objects/list.php
+++ b/views/default/layout/objects/list.php
@@ -31,10 +31,6 @@ if (isset($vars['list_class'])) {
$list_class = "{$vars['list_class']} $list_class";
}
-if (elgg_in_context('gallery')) {
- $list_class = "$list_class elgg-gallery";
-}
-
$item_class = 'elgg-list-item';
if (isset($vars['item_class'])) {
$item_class = "{$vars['item_class']} $item_class";