From 7797b0df31f23c627f34e5e0f43b61d5adba64b9 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 4 Feb 2009 08:21:18 +0000 Subject: [PATCH] weblib: MDL-17525 Give previous and next links in paging bars class names, so they can be themed. Thanks to Daniel Neis for the patch. I checked the standard theme, and I don't see any rules there that would erroneously apply to these class names in paging bars. --- lib/weblib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 310cdd3fbc..6bce8def58 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -6345,9 +6345,9 @@ function print_paging_bar($totalcount, $page, $perpage, $baseurl, $pagevar='page if ($page > 0) { $pagenum = $page - 1; if (!is_a($baseurl, 'moodle_url')){ - $output .= ' ('. get_string('previous') .') '; + $output .= ' () '; } else { - $output .= ' ('. get_string('previous') .') '; + $output .= ' () '; } } if ($perpage > 0) { @@ -6393,9 +6393,9 @@ function print_paging_bar($totalcount, $page, $perpage, $baseurl, $pagevar='page $pagenum = $page + 1; if ($pagenum != $displaypage) { if (!is_a($baseurl, 'moodle_url')){ - $output .= '  ('. get_string('next') .')'; + $output .= '  ()'; } else { - $output .= '  ('. get_string('next') .')'; + $output .= '  ()'; } } $output .= ''; -- 2.39.5