mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-9742 - changed tabs to spaces in a few places where there are one
or two
This commit is contained in:
parent
3ef1be377b
commit
a044c05ddb
24 changed files with 85 additions and 85 deletions
|
@ -554,22 +554,22 @@ function question_delete_course($course, $feedback=true) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function questionbank_navigation_tabs(&$row, $context, $courseid) {
|
function questionbank_navigation_tabs(&$row, $context, $querystring) {
|
||||||
global $CFG;
|
global $CFG;
|
||||||
if (has_capability('moodle/question:manage', $context)) {
|
if (has_capability('moodle/question:manage', $context)) {
|
||||||
$row[] = new tabobject('questions', "$CFG->wwwroot/question/edit.php?courseid=$courseid", get_string('questions', 'quiz'), get_string('editquestions', "quiz"));
|
$row[] = new tabobject('questions', "$CFG->wwwroot/question/edit.php?$querystring", get_string('questions', 'quiz'), get_string('editquestions', "quiz"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (has_capability('moodle/question:managecategory', $context)) {
|
if (has_capability('moodle/question:managecategory', $context)) {
|
||||||
$row[] = new tabobject('categories', "$CFG->wwwroot/question/category.php?courseid=$courseid", get_string('categories', 'quiz'), get_string('editqcats', 'quiz'));
|
$row[] = new tabobject('categories', "$CFG->wwwroot/question/category.php?$querystring", get_string('categories', 'quiz'), get_string('editqcats', 'quiz'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (has_capability('moodle/question:import', $context)) {
|
if (has_capability('moodle/question:import', $context)) {
|
||||||
$row[] = new tabobject('import', "$CFG->wwwroot/question/import.php?courseid=$courseid", get_string('import', 'quiz'), get_string('importquestions', 'quiz'));
|
$row[] = new tabobject('import', "$CFG->wwwroot/question/import.php?$querystring", get_string('import', 'quiz'), get_string('importquestions', 'quiz'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (has_capability('moodle/question:export', $context)) {
|
if (has_capability('moodle/question:export', $context)) {
|
||||||
$row[] = new tabobject('export', "$CFG->wwwroot/question/export.php?courseid=$courseid", get_string('export', 'quiz'), get_string('exportquestions', 'quiz'));
|
$row[] = new tabobject('export', "$CFG->wwwroot/question/export.php?$querystring", get_string('export', 'quiz'), get_string('exportquestions', 'quiz'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue