mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
merging MOODLE_19_QUESTIONS with HEAD
This commit is contained in:
parent
3bee1ead40
commit
271e6decda
47 changed files with 2807 additions and 1546 deletions
|
@ -21,7 +21,8 @@
|
|||
// Print the header
|
||||
$strquizzes = get_string("modulenameplural", "quiz");
|
||||
$streditquestions = '';
|
||||
if (has_capability('moodle/question:manage', $coursecontext)) {
|
||||
$editqcontexts = new question_edit_contexts($coursecontext);
|
||||
if ($editqcontexts->have_one_edit_tab_cap('questions')) {
|
||||
$streditquestions =
|
||||
"<form target=\"_parent\" method=\"get\" action=\"$CFG->wwwroot/question/edit.php\">
|
||||
<div>
|
||||
|
@ -33,7 +34,7 @@
|
|||
$navlinks = array();
|
||||
$navlinks[] = array('name' => $strquizzes, 'link' => '', 'type' => 'activity');
|
||||
$navigation = build_navigation($navlinks);
|
||||
|
||||
|
||||
print_header_simple($strquizzes, '', $navigation,
|
||||
'', '', true, $streditquestions, navmenu($course));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue