mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-19825 Converted calls to print_paging_bar
This commit is contained in:
parent
13fb644a09
commit
da9ac19f14
@ -693,7 +693,9 @@
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
print_paging_bar($matchcount, intval($table->get_page_start() / $perpage), $perpage, $baseurl.'&', 'spage');
|
||||
$pagingbar = moodle_paging_bar::make($matchcount, intval($table->get_page_start() / $perpage), $perpage, $baseurl);
|
||||
$pagingbar->pagevar = 'spage';
|
||||
echo $OUTPUT->paging_bar($pagingbar);
|
||||
}
|
||||
|
||||
if ($matchcount > 0) {
|
||||
|
@ -85,9 +85,10 @@ if ($logcount > 0) {
|
||||
);
|
||||
}
|
||||
echo $OUTPUT->heading(get_string('logsummary', 'portfolio'));
|
||||
print_paging_bar($logcount, $page, $perpage, $CFG->wwwroot . '/user/portfoliologs.php?');
|
||||
$pagingbar = moodle_paging_bar::make($logcount, $page, $perpage, $CFG->wwwroot . '/user/portfoliologs.php?');
|
||||
echo $OUTPUT->paging_bar(clone($pagingbar));
|
||||
print_table($table);
|
||||
print_paging_bar($logcount, $page, $perpage, $CFG->wwwroot . '/user/portfoliologs.php?');
|
||||
echo $OUTPUT->paging_bar(clone($pagingbar));
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user