From: gustav_delius Date: Sun, 19 Mar 2006 19:23:07 +0000 (+0000) Subject: Show All link below question list. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3abfa3a013a1146a64fd8c292552c304655bf49a;p=moodle.git Show All link below question list. --- diff --git a/question/editlib.php b/question/editlib.php index 5bf392bc92..8eac65f4a0 100644 --- a/question/editlib.php +++ b/question/editlib.php @@ -249,8 +249,11 @@ function question_list($course, $categoryid, $quizid, echo "\n"; echo "\n"; } - echo ''; + echo ''; print_paging_bar($totalnumber, $page, $perpage, "edit.php?courseid={$course->id}&perpage=$perpage&"); + if ($totalnumber > $perpage) { + echo ''.get_string('showall', 'moodle', $totalnumber).''; + } echo "\n"; print_simple_box_end();