aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-31 02:57:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-31 02:57:09 +0000
commitc685684d47f7c0a1946393ee121551ad67dde3db (patch)
tree73a195fba65149c7878e4415d84ca4366b04e846 /mod
parent14b378536493fd9511833abc3af2bd7007c47f0c (diff)
downloadelgg-c685684d47f7c0a1946393ee121551ad67dde3db.tar.gz
elgg-c685684d47f7c0a1946393ee121551ad67dde3db.tar.bz2
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
Diffstat (limited to 'mod')
-rw-r--r--mod/file/search.php5
-rw-r--r--mod/file/views/default/file/css.php3
2 files changed, 3 insertions, 5 deletions
diff --git a/mod/file/search.php b/mod/file/search.php
index ba6808176..6e63f55f0 100644
--- a/mod/file/search.php
+++ b/mod/file/search.php
@@ -76,7 +76,6 @@
if ($listtype == "gallery") {
$limit = 12;
- elgg_push_context('gallery');
}
if (!empty($tag)) {
@@ -93,10 +92,6 @@
$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'owner_guid' => $owner_guid, 'limit' => $limit, 'offset' => $offset));
}
- if ($listtype == "gallery") {
- elgg_pop_context();
- }
-
elgg_pop_context();
$content = "<div class='files'>".$area1.$area2."</div>";
diff --git a/mod/file/views/default/file/css.php b/mod/file/views/default/file/css.php
index bd2a30c43..d4d1a2c13 100644
--- a/mod/file/views/default/file/css.php
+++ b/mod/file/views/default/file/css.php
@@ -24,6 +24,9 @@
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
}
+.file-gallery-item img {
+ margin: 5px 0;
+}
.files .entity-listing .entity-listing-info {