diff options
author | Joe7 <jozsef.rnagy@site.hu> | 2011-01-11 21:28:25 +0100 |
---|---|---|
committer | Joe7 <jozsef.rnagy@site.hu> | 2011-01-11 21:28:25 +0100 |
commit | df802de6ae3cc0c294a1a3dc76db29ff21949b9f (patch) | |
tree | 662ea7192763bcb25628f48ac34120e84ee19870 /modules/user/views | |
parent | 00b520fffd867389b5a030ddefee9f468cad044c (diff) |
Making good use of Pagination class to reduce code (removed MY_Controller which duplicated some functionality available in Pagination as well)
Diffstat (limited to 'modules/user/views')
-rw-r--r-- | modules/user/views/admin_users.html.php | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php index 028d44eb..74b13ec5 100644 --- a/modules/user/views/admin_users.html.php +++ b/modules/user/views/admin_users.html.php @@ -109,32 +109,8 @@ <? endforeach ?> </table> - <div class="g-right"> - <? if (isset($previous_page_url)): ?> - <a href="<?= $previous_page_url ?>" - class="g-button ui-icon-left ui-state-default ui-corner-all" - title="<?= t("Previous page")->for_html_attr() ?>"> - <? else: ?> - <a class="g-button ui-icon-left ui-state-disabled ui-corner-all" - title="<?= t("Previous page")->for_html_attr() ?>"> - <? endif ?> - <span class="ui-icon ui-icon-circle-plus"></span> - <?= t("Previous") ?> - </a> - - <?= t("Page %current of %total", array("current"=>$page, "total"=>$max_pages)) ?> - - <? if (isset($next_page_url)): ?> - <a href="<?= $next_page_url ?>" - class="g-button ui-icon-left ui-state-default ui-corner-all" - title="<?= t("Next page")->for_html_attr() ?>"> - <? else: ?> - <a class="g-button ui-icon-left ui-state-disabled ui-corner-all" - title="<?= t("Next page")->for_html_attr() ?>"> - <? endif ?> - <span class="ui-icon ui-icon-circle-plus"></span> - <?= t("Next") ?> - </a> + <div class="g-paginator"> + <?= $pager ?> </div> </div> |