aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-22 14:42:30 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-22 14:42:30 -0500
commit87a511a0c7c96b15d227cf36dd547e1bdff95107 (patch)
tree57e7c32b5a5b5a054d7e94d5cecaef72c0f215c5 /mod
parent6d0991b93c251473bc37a06bd383c362f9d396a9 (diff)
downloadelgg-87a511a0c7c96b15d227cf36dd547e1bdff95107.tar.gz
elgg-87a511a0c7c96b15d227cf36dd547e1bdff95107.tar.bz2
Fixes #4320 updated documentation for base_url in pagination and added backward compatible code
Diffstat (limited to 'mod')
-rw-r--r--mod/search/views/default/search/list.php2
-rw-r--r--mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/search/views/default/search/list.php b/mod/search/views/default/search/list.php
index c5249fe77..1ed40be1b 100644
--- a/mod/search/views/default/search/list.php
+++ b/mod/search/views/default/search/list.php
@@ -39,7 +39,7 @@ $url = elgg_get_site_url() . "search?$query";
// get pagination
if (array_key_exists('pagination', $vars['params']) && $vars['params']['pagination']) {
$nav = elgg_view('navigation/pagination',array(
- 'baseurl' => $url,
+ 'base_url' => $url,
'offset' => $vars['params']['offset'],
'count' => $vars['results']['count'],
'limit' => $vars['params']['limit'],
diff --git a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
index 2afd6022d..cbd13a709 100644
--- a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
+++ b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
@@ -40,7 +40,7 @@ elgg_set_ignore_access($ia);
// setup pagination
$pagination = elgg_view('navigation/pagination',array(
- 'baseurl' => 'admin/users/unvalidated',
+ 'base_url' => 'admin/users/unvalidated',
'offset' => $offset,
'count' => $count,
'limit' => $limit,