aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/objects/list.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 22:53:36 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 22:53:36 +0000
commitd325c3c77f7931ceba6babd8741febf4f33151f0 (patch)
tree01ea2918e29be7734672e985909775fb5ba7d4a9 /views/default/layout/objects/list.php
parent22d64456008cd8d2aaab35f6d8005cc112d93567 (diff)
downloadelgg-d325c3c77f7931ceba6babd8741febf4f33151f0.tar.gz
elgg-d325c3c77f7931ceba6babd8741febf4f33151f0.tar.bz2
added gallery css for the file plugin
git-svn-id: http://code.elgg.org/elgg/trunk@7782 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/objects/list.php')
-rw-r--r--views/default/layout/objects/list.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/default/layout/objects/list.php b/views/default/layout/objects/list.php
index 6d12c5e55..0ab3d5482 100644
--- a/views/default/layout/objects/list.php
+++ b/views/default/layout/objects/list.php
@@ -31,6 +31,10 @@ 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";