MDL-71915 question: Update the tertiary nav
Update the tertiary navigation activity for question.
This commit is contained in:
+5
-2
@@ -42,11 +42,14 @@ $context = $contexts->lowest();
|
||||
$streditingquestions = get_string('editquestions', 'question');
|
||||
$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 $OUTPUT->header();
|
||||
// Render the selection action.
|
||||
$qbankaction = new \core_question\output\qbank_actionbar($url);
|
||||
echo $renderer->qbank_action_menu($qbankaction);
|
||||
|
||||
// Print the question area.
|
||||
$questionbank->display($pagevars, 'questions');
|
||||
|
||||
Reference in New Issue
Block a user