From b9fce1b657d0f4101232cf2f3b09391677469459 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 9 Jan 2009 15:53:43 +0000 Subject: Minor variable name and comment change. git-svn-id: https://code.elgg.org/elgg/trunk@2555 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 1 + engine/lib/entities.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index d0a28b2ea..de2329f4a 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -592,6 +592,7 @@ * @param int $limit The number of entities to display per page * @param true|false $fullview Whether or not to display the full view (default: true) * @param true|false $viewtypetoggle Whether or not to allow users to toggle to gallery view + * @param bool $pagination Whether pagination is offered. * @return string The list of entities */ function elgg_view_entity_list($entities, $count, $offset, $limit, $fullview = true, $viewtypetoggle = true, $pagination = true) { diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 2b4403255..ee5a8fd30 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1599,13 +1599,13 @@ * @param true|false $pagination Display pagination? Default: true * @return string A viewable list of entities */ - function list_entities($type= "", $subtype = "", $owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = false, $navigation = true) { + function list_entities($type= "", $subtype = "", $owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = false, $pagination = true) { $offset = (int) get_input('offset'); $count = get_entities($type, $subtype, $owner_guid, "", $limit, $offset, true); $entities = get_entities($type, $subtype, $owner_guid, "", $limit, $offset); - return elgg_view_entity_list($entities, $count, $offset, $limit, $fullview, $viewtypetoggle, $navigation); + return elgg_view_entity_list($entities, $count, $offset, $limit, $fullview, $viewtypetoggle, $pagination); } -- cgit v1.2.3