diff --git a/Controller/GrouperGroupsController.php b/Controller/GrouperGroupsController.php index 3f91687..b81bd38 100644 --- a/Controller/GrouperGroupsController.php +++ b/Controller/GrouperGroupsController.php @@ -44,8 +44,8 @@ class GrouperGroupsController extends GrouperLiteAppController //page navigation unless change record count and go back to lower number on Display record selection!! Sucks! public $paginate = array( //Default records per page. - 'limit' => 20, - 'maxlimit' => 60, + 'limit' => 2, + 'maxlimit' => 4, 'page' => 1 ); diff --git a/Lib/lang.php b/Lib/lang.php index b464443..9067788 100644 --- a/Lib/lang.php +++ b/Lib/lang.php @@ -84,4 +84,6 @@ 'pl.grouperlite.form.group.action.save' => 'Save Group', 'pl.grouperlite.search.tags.text' => 'Search', + + 'pl.grouperlite.pagination.counter' => 'Viewing {:start}-{:end} of {:count}' ); \ No newline at end of file diff --git a/View/Elements/pagination.ctp b/View/Elements/pagination.ctp index 2987efe..50b4069 100644 --- a/View/Elements/pagination.ctp +++ b/View/Elements/pagination.ctp @@ -1,4 +1,5 @@ - + ?> + + +
+ + +

+ + +
+ + \ No newline at end of file diff --git a/View/GrouperGroups/emaillistsoptin.ctp b/View/GrouperGroups/emaillistsoptin.ctp index 05075cc..2554c1d 100644 --- a/View/GrouperGroups/emaillistsoptin.ctp +++ b/View/GrouperGroups/emaillistsoptin.ctp @@ -15,13 +15,13 @@ Html->link( - isset($group['name']) ? $group['domain'].':'.$group['name'] : "No Name", - array( - 'controller' => 'groupergroups', - 'action' => 'emaillistinfo', - '?' => array('groupname' => urlencode($group['name'])) - ) - ) ?> + isset($group['name']) ? $group['domain'] . ':' . $group['name'] : "No Name", + array( + 'controller' => 'groupergroups', + 'action' => 'emaillistinfo', + '?' => array('groupname' => urlencode($group['name'])) + ) + ) ?>