Skip to content

Commit

Permalink
quiz navigation: NOBUG link should be imperative, edit quiz, not edit…
Browse files Browse the repository at this point in the history
…ing quiz.
  • Loading branch information
timhunt committed Aug 5, 2010
1 parent 2a1516f commit 1724eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ function quiz_extend_settings_navigation($settings, $quiznode) {

if (has_capability('mod/quiz:manage', $PAGE->cm->context)) {
$url = new moodle_url('/mod/quiz/edit.php', array('cmid'=>$PAGE->cm->id));
$text = get_string("editinga", "moodle", get_string('modulename', 'quiz'));
$text = get_string('editquiz', 'quiz');
$quiznode->add($text, $url, navigation_node::TYPE_SETTING, null,
'mod_quiz_edit', new pix_icon('t/edit', ''));
}
Expand Down

0 comments on commit 1724eb7

Please sign in to comment.