mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Revert "MDL-71915 question: Update the tertiary nav"
This reverts commit 26eabeccf4
.
This commit is contained in:
parent
ae377f6940
commit
73aeabab0b
7 changed files with 13 additions and 197 deletions
|
@ -48,13 +48,11 @@ $PAGE->set_title($strexportquestions);
|
|||
$PAGE->set_heading($COURSE->fullname);
|
||||
$PAGE->activityheader->disable();
|
||||
|
||||
// Print horizontal nav if needed.
|
||||
$renderer = $PAGE->get_renderer('core_question', 'bank');
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
$qbankaction = new \core_question\output\qbank_actionbar($thispageurl);
|
||||
echo $renderer->qbank_action_menu($qbankaction);
|
||||
// Print horizontal nav if needed.
|
||||
$renderer = $PAGE->get_renderer('core_question', 'bank');
|
||||
echo $renderer->extra_horizontal_navigation();
|
||||
|
||||
$exportform = new export_form($thispageurl,
|
||||
['contexts' => $contexts->having_one_edit_tab_cap('export'), 'defaultcategory' => $pagevars['cat']]);
|
||||
|
|
|
@ -75,13 +75,12 @@ $PAGE->set_title($txt->importquestions);
|
|||
$PAGE->set_heading($COURSE->fullname);
|
||||
$PAGE->activityheader->disable();
|
||||
|
||||
// Print horizontal nav if needed.
|
||||
$renderer = $PAGE->get_renderer('core_question', 'bank');
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
$qbankaction = new \core_question\output\qbank_actionbar($thispageurl);
|
||||
echo $renderer->qbank_action_menu($qbankaction);
|
||||
// Print horizontal nav if needed.
|
||||
$renderer = $PAGE->get_renderer('core_question', 'bank');
|
||||
echo $renderer->extra_horizontal_navigation();
|
||||
|
||||
|
||||
// File upload form submitted.
|
||||
if ($form = $importform->get_data()) {
|
||||
|
|
|
@ -152,13 +152,11 @@ $PAGE->set_title(get_string('editcategories', 'question'));
|
|||
$PAGE->set_heading($COURSE->fullname);
|
||||
$PAGE->activityheader->disable();
|
||||
|
||||
// Print horizontal nav if needed.
|
||||
$renderer = $PAGE->get_renderer('core_question', 'bank');
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
$qbankaction = new \core_question\output\qbank_actionbar($url);
|
||||
echo $renderer->qbank_action_menu($qbankaction);
|
||||
// Print horizontal nav if needed.
|
||||
$renderer = $PAGE->get_renderer('core_question', 'bank');
|
||||
echo $renderer->extra_horizontal_navigation();
|
||||
|
||||
// Display the UI.
|
||||
if (!empty($param->edit)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue