mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-19821 Converted calls to print_paging_bar
This commit is contained in:
parent
eecc6a17bc
commit
2b65ce4347
@ -152,10 +152,8 @@ case 'sign':
|
||||
}
|
||||
if (!empty($list['page'])) {
|
||||
// TODO: need a better solution
|
||||
print_paging_bar($list['total'], $list['page']-1,
|
||||
$list['perpage'], $CFG->httpswwwroot
|
||||
.'/repository/filepicker.php?action=list&itemid='
|
||||
.$itemid.'&ctx_id='.$ctx_id.'&repo_id='.$repo_id.'&', 'page', false, false, 1);
|
||||
$pagingurl = new moodle_url("$CFG->httpswwwroot/repository/filepicker.php?action=list&itemid=$itemid&ctx_id=$ctx_id&repo_id=$repo_id");
|
||||
echo $OUTPUT->paging_bar(moodle_paging_bar::make($list['total'], $list['page'] - 1, $list['perpage'], $pagingurl));
|
||||
}
|
||||
echo '<table>';
|
||||
foreach ($list['list'] as $item) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user