MDL-57510 questionbank: Add horizontal navigation

This commit is contained in:
Ankit Agarwal
2017-03-24 19:08:13 +05:30
parent 80ff09db28
commit 9ec4ffe9be
6 changed files with 84 additions and 0 deletions
+4
View File
@@ -47,6 +47,10 @@ $PAGE->set_title($streditingquestions);
$PAGE->set_heading($COURSE->fullname);
echo $OUTPUT->header();
// Print horizontal nav if needed.
$renderer = $PAGE->get_renderer('core_question', 'bank');
echo $renderer->extra_horizontal_navigation();
echo '<div class="questionbankwindow boxwidthwide boxaligncenter">';
$questionbank->display('questions', $pagevars['qpage'], $pagevars['qperpage'],
$pagevars['cat'], $pagevars['recurse'], $pagevars['showhidden'],