aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-06-24 20:25:34 -0400
committercash <cash.costello@gmail.com>2011-06-24 20:25:34 -0400
commitefff3471e09a864948feadb989d2ac9f5f2e0fc5 (patch)
treeb11bff8918e3659f612ffe6a4267e4eeb3db0efd /mod
parent43e2672f65d12a36d75ad9257a936dc93a2108f3 (diff)
downloadelgg-efff3471e09a864948feadb989d2ac9f5f2e0fc5.tar.gz
elgg-efff3471e09a864948feadb989d2ac9f5f2e0fc5.tar.bz2
Refs #1253 using 'list_type' string instead of boolean 'gallery' for entity listing
Diffstat (limited to 'mod')
-rw-r--r--mod/custom_index/index.php2
-rw-r--r--mod/file/views/default/file/typecloud.php2
-rw-r--r--mod/groups/views/default/groups/sidebar/members.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/custom_index/index.php b/mod/custom_index/index.php
index e39e6ef29..831114127 100644
--- a/mod/custom_index/index.php
+++ b/mod/custom_index/index.php
@@ -35,7 +35,7 @@ $newest_members = elgg_list_entities_from_metadata(array(
'limit' => 10,
'full_view' => false,
'pagination' => false,
- 'gallery' => true,
+ 'list_type' => 'gallery',
'size' => 'small',
));
diff --git a/mod/file/views/default/file/typecloud.php b/mod/file/views/default/file/typecloud.php
index ce4d6c127..4253bf674 100644
--- a/mod/file/views/default/file/typecloud.php
+++ b/mod/file/views/default/file/typecloud.php
@@ -15,7 +15,7 @@ function file_type_cloud_get_url($type, $friends) {
}
if ($type->tag == "image") {
- $url .= "&listtype=gallery";
+ $url .= "&list_type=gallery";
}
if (elgg_get_page_owner_guid()) {
diff --git a/mod/groups/views/default/groups/sidebar/members.php b/mod/groups/views/default/groups/sidebar/members.php
index 28111554f..3026c05f2 100644
--- a/mod/groups/views/default/groups/sidebar/members.php
+++ b/mod/groups/views/default/groups/sidebar/members.php
@@ -21,7 +21,7 @@ $body = elgg_list_entities_from_relationship(array(
'inverse_relationship' => true,
'types' => 'user',
'limit' => $limit,
- 'gallery' => true,
+ 'list_type' => 'gallery',
));
$body .= "<div class='center mts'>$all_link</div>";