]> git.mjollnir.org Git - moodle.git/commitdiff
accessibility / lang strings: MDL-17359 remove > being used as an arrow - screen...
authortjhunt <tjhunt>
Tue, 25 Nov 2008 13:15:53 +0000 (13:15 +0000)
committertjhunt <tjhunt>
Tue, 25 Nov 2008 13:15:53 +0000 (13:15 +0000)
lang/en_utf8/moodle.php
lang/en_utf8/quiz.php
mod/quiz/editlib.php

index b400be7c8fccd197ab4ea52020db1d9e56b76e9e..a0d0f5582a9a105da031296b4ff17cb82298523d 100644 (file)
@@ -285,7 +285,7 @@ $string['coursehelpcategory'] = 'Position the course on the course listing and m
 $string['coursehelpformat'] = 'The course main page will be displayed in this format.';
 $string['coursehelpnumberweeks'] = 'Number of weeks/topics displayed on the course main page.';
 $string['coursehelphiddensections'] = 'How the hidden sections in the course are displayed to students.';
-$string['coursehelpnewsitemsnumber'] = 'Number of recent items appearing on the course home page, in a news box down the right-hand side <br/>(0 => the news box won\'t appear).';
+$string['coursehelpnewsitemsnumber'] = 'Number of recent items appearing on the course home page, in a news box down the right-hand side <br/>(0 means the news box won\'t appear).';
 $string['coursehelpshowgrades'] = 'Enable the display of the gradebook. It does not prevent grades from being displayed within the individual activities.';
 $string['coursehelpmaximumupload'] = 'Define the largest size of file that can be uploaded by students in this course, limited by the site wide setting.';
 $string['coursehelpmetacourse'] = 'Set the course a metacourse. A meta course takes enrolments (and other role assignments) from a \"child\" course or courses.';
index cc00cb7f2f2f026952f4556612827e475447ffa1..f5bfc43abb0c1569b11a30f86e94f050cf6986dd 100644 (file)
@@ -26,7 +26,7 @@ $string['addingshortanswer'] = 'Adding a Short-Answer question';
 $string['addingtruefalse'] = 'Adding a True/False question';
 $string['addmoreoverallfeedbacks'] = 'Add {no} more feedback fields';
 $string['addnewpagesafterselected'] = 'Add new pages after selected questions';
-$string['addnewquestionsqbank'] = 'Add questions to the category $a in the \'Question bank contents\' tool >>';
+$string['addnewquestionsqbank'] = 'Add questions to the category $a->catname in the \'Question bank contents\' tool $a->arrow';
 $string['addpagehere'] = 'Add page here';
 $string['addquestion'] = 'Add question';
 $string['addquestions'] = 'Add questions';
index 1705d0fb911fda68481a848ae64736a1f60cf425..36dd83d9df1084d4e374c9f1bd02c3a2f7a698fa 100644 (file)
@@ -786,7 +786,8 @@ function quiz_print_singlequestion(&$question, &$questionurl, &$quiz){
  * @param boolean $quiz_qbanktool Indicate to this function if the question bank window open 
  */
 function quiz_print_randomquestion(&$question, &$pageurl, &$quiz,$quiz_qbanktool){
-    global $DB;
+    global $DB, $THEME;
+    check_theme_arrows();
     echo '<div class="quiz_randomquestion">';
 
     //TODO: Tim? I left this out from the below get_record call:, , 'contextid' => $contextid
@@ -828,8 +829,10 @@ function quiz_print_randomquestion(&$question, &$pageurl, &$quiz,$quiz_qbanktool
                 "cat"=>$category->id.','.$category->contextid)).
                  '">';
         }
-        echo get_string("addnewquestionsqbank","quiz",
-                "<strong>$category->name</strong>");
+        $a = new stdClass;
+        $a->catname = '<strong>' . $category->name . '</strong>';
+        $a->arrow = $THEME->rarrow;
+        echo get_string('addnewquestionsqbank','quiz', $a);
         if(!$quiz_qbanktool){
             echo '</a>';
         }