diff --git a/lang/en_utf8/quiz.php b/lang/en_utf8/quiz.php
index 65a7d3569f0..350c41663b4 100644
--- a/lang/en_utf8/quiz.php
+++ b/lang/en_utf8/quiz.php
@@ -716,6 +716,6 @@ $string['addnewquestionsqbank'] = 'Add questions to the category $a in the \'Que
$string['empty'] = 'Empty';
$string['quizopened'] = 'This quiz is open.';
$string['areyousuredeleteselected'] = 'Are you sure you want to delete the selected questions?';
-$string['questionsperpageselected'] = 'Questions per page has been set so the paging is currently fixed. As a result, the paging controls have been disabled. You can change this in ';
-$string['shufflequestionsselected'] = '* Shuffle questions has been set so question order is random. As a result, the button Reorder questions has been disabled. You can change this in ';
+$string['questionsperpageselected'] = 'Questions per page has been set so the paging is currently fixed. As a result, the paging controls have been disabled. You can change this in $a.';
+$string['shufflequestionsselected'] = '* Shuffle questions has been set so question order is random. As a result, the button Reorder questions has been disabled. You can change this in $a.';
?>
diff --git a/mod/quiz/edit.php b/mod/quiz/edit.php
index 56bb9020eef..89c231a3d37 100644
--- a/mod/quiz/edit.php
+++ b/mod/quiz/edit.php
@@ -780,21 +780,21 @@ if($quiz_has_attempts){
$notifystring.=notify($string,$style='notifyproblem', $align='center', $return=true);
}
if($questionsperpagebool && $quiz_reordertool){
- $string=get_string('questionsperpageselected', 'quiz');
$updateurl=new moodle_url("$CFG->wwwroot/course/mod.php",
array("return"=>"true","update"=>$quiz->cmid, "sesskey"=>sesskey()));
- $string.= '';
- $string.=get_string('updatethis', '', get_string('modulename', 'quiz'));
- $string.='.';
+ $linkstring = '';
+ $linkstring.=get_string('updatethis', '', get_string('modulename', 'quiz'));
+ $linkstring.='';
+ $string=get_string('questionsperpageselected', 'quiz', $linkstring);
$notifystring.=notify($string,$style='notifyproblem', $align='center', $return=true);
}
if($quiz->shufflequestions && $quiz_reordertool){
- $string=get_string('shufflequestionsselected', 'quiz');
$updateurl=new moodle_url("$CFG->wwwroot/course/mod.php",
array("return"=>"true","update"=>$quiz->cmid, "sesskey"=>sesskey()));
- $string.= '';
- $string.=get_string('updatethis', '', get_string('modulename', 'quiz'));
- $string.='.';
+ $linkstring = '';
+ $linkstring.=get_string('updatethis', '', get_string('modulename', 'quiz'));
+ $linkstring.='';
+ $string=get_string('shufflequestionsselected', 'quiz',$linkstring);
$notifystring.=notify($string,$style='notifyproblem', $align='center', $return=true);
}
if(!empty($notifystring)){