From 077f3814613e6728dff021c233ed98d3eb0311d3 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Wed, 13 Dec 2006 08:24:23 +0000 Subject: [PATCH] accessiblity, associating with respective row or col --- group/groupui/main-form.html | 6 +++--- lang/en_utf8/help/wiki/wikitype.html | 14 +++++++------- lib/moodlelib.php | 8 ++++---- login/index_form.html | 4 ++-- mod/choice/lib.php | 8 ++++---- mod/data/report.php | 6 +++--- mod/forum/report.php | 8 ++++---- mod/glossary/report.php | 8 ++++---- mod/lesson/action/continue.html | 2 +- mod/lesson/edit.php | 4 ++-- mod/lesson/viewend.html | 2 +- mod/quiz/config.html | 6 +++--- mod/quiz/jstimer.php | 2 +- mod/resource/type/directory/resource.class.php | 6 +++--- question/editlib.php | 6 +++--- question/type/questiontype.php | 6 +++--- theme/index.php | 2 +- 17 files changed, 49 insertions(+), 49 deletions(-) diff --git a/group/groupui/main-form.html b/group/groupui/main-form.html index 32a32da534..5818ebfd92 100644 --- a/group/groupui/main-form.html +++ b/group/groupui/main-form.html @@ -1,9 +1,9 @@
- - - + + +
diff --git a/lang/en_utf8/help/wiki/wikitype.html b/lang/en_utf8/help/wiki/wikitype.html index 835d4e91ed..adb8f0f755 100644 --- a/lang/en_utf8/help/wiki/wikitype.html +++ b/lang/en_utf8/help/wiki/wikitype.html @@ -6,25 +6,25 @@ like any activity, the wiki has the Moodle group modes: "No Groups" &q This leads to the following matrix of nine possibilities: - - - - + + + + - + - + - + diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 567446c3d6..c91d066b0a 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -6254,10 +6254,10 @@ function unzip_show_status ($list,$removepath) { $strmodified = get_string("modified"); $strstatus = get_string("status"); echo "
No GroupsSeparate GroupsVisible GroupsNo GroupsSeparate GroupsVisible Groups
TeacherTeacher There is only one wiki which only the teacher can edit. Students can view the contents. There is one wiki for every group which just the teacher can edit. Students can view the wiki of their group only. There is one wiki for every group which just the teacher can edit. Students can view the wikis for all groups.
GroupsGroups There is only one wiki. The teacher and all students can view and edit this wiki. There is one wiki per group. Students can view and edit the wiki of their own group only. There is one wiki per group. Students can change the wiki of their own group only. They can view the wikis for all groups.
StudentStudent Every student has their own wiki which only they and their teacher can view and edit. Every student has their own wiki, which only they and their teacher can edit. Students can view the wikis of other students in their group. Every student has their own wiki, which only they and their teacher can edit. Students can view the wikis of all other students in the course.
"; - echo ""; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; + echo ""; foreach ($list as $item) { echo ""; $item['filename'] = str_replace(cleardoubleslashes($removepath).'/', "", $item['filename']); diff --git a/login/index_form.html b/login/index_form.html index 6d7f5dc345..8696b391b2 100644 --- a/login/index_form.html +++ b/login/index_form.html @@ -1,10 +1,10 @@
$strname$strsize$strmodified$strstatus
$strname$strsize$strmodified$strstatus
- - diff --git a/mod/choice/lib.php b/mod/choice/lib.php index 5658d87a8c..b74958b4cf 100644 --- a/mod/choice/lib.php +++ b/mod/choice/lib.php @@ -367,9 +367,9 @@ function choice_show_results($choice, $course, $cm, $forcepublish='') { $count = 0; foreach ($useranswer as $optionid => $userlist) { if ($optionid) { - echo "
+ +
"; + echo ""; } else if ($choice->showunanswered) { - echo ""; + echo ""; } else { continue; } @@ -472,9 +472,9 @@ function choice_show_results($choice, $course, $cm, $forcepublish='') { $count = 0; foreach ($useranswer as $optionid => $userlist) { if ($optionid) { - echo ""; + echo ""; } else if ($choice->showunanswered) { - echo ""; + echo ""; } else { continue; } diff --git a/mod/data/report.php b/mod/data/report.php index 197a399447..ebb7668b3b 100755 --- a/mod/data/report.php +++ b/mod/data/report.php @@ -49,9 +49,9 @@ } else { echo ""; echo ""; - echo ""; - echo ""; + echo "'; diff --git a/mod/forum/report.php b/mod/forum/report.php index f889b55307..9efca06dce 100644 --- a/mod/forum/report.php +++ b/mod/forum/report.php @@ -55,10 +55,10 @@ } else { echo "
 $strname"; - echo "$strrating"; + echo " $strname"; + echo "$strrating"; foreach ($ratings as $rating) { if (has_capability('mod/data:manageentries', $context)) { echo '
"; echo ""; - echo ""; - echo ""; + echo "'; echo "
 id&sort=u.firstname\">$strname"; - echo "id&sort=r.rating\">$strrating"; - echo "id&sort=r.time\">$strtime"; + echo " id&sort=u.firstname\">$strname"; + echo "id&sort=r.rating\">$strrating"; + echo "id&sort=r.time\">$strtime"; foreach ($ratings as $rating) { echo '
"; diff --git a/mod/glossary/report.php b/mod/glossary/report.php index 0db6a29aad..c9b17fb0aa 100644 --- a/mod/glossary/report.php +++ b/mod/glossary/report.php @@ -49,10 +49,10 @@ } else { echo ""; echo ""; - echo ""; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; + echo ""; foreach ($ratings as $rating) { if (has_capability('mod/glossary:manageentries', $context)) { echo ''; diff --git a/mod/lesson/action/continue.html b/mod/lesson/action/continue.html index 309b86270c..5506da9573 100644 --- a/mod/lesson/action/continue.html +++ b/mod/lesson/action/continue.html @@ -118,7 +118,7 @@ if ($lesson->displayleft) {
 id&sort=firstname\">$strnameid&sort=rating\">$strratingid&sort=time\">$strtime id&sort=firstname\">$strnameid&sort=rating\">$strratingid&sort=time\">$strtime
- +
diff --git a/mod/lesson/edit.php b/mod/lesson/edit.php index d5f96cfdfd..a342a513f7 100644 --- a/mod/lesson/edit.php +++ b/mod/lesson/edit.php @@ -43,7 +43,7 @@ if (empty($firstpage)) { // There are no pages; give teacher some options if (has_capability('mod/lesson:edit', $context)) { - print_simple_box( "\n
".get_string("whatdofirst", "lesson")."
". + print_simple_box( "\n
".get_string("whatdofirst", "lesson")."
". "id&pageid=0\">". get_string("importquestions", "lesson")."
". "id&pageid=0\">". @@ -113,7 +113,7 @@ $page = $pages[$pageid]; echo "
\n"; - echo "
".format_string($page->title)."  \n"; + echo "\n"; echo "
".format_string($page->title)."  \n"; lesson_print_page_actions($cm->id, $page, $npages); echo "
\n"; diff --git a/mod/lesson/viewend.html b/mod/lesson/viewend.html index 1363ab8faf..3ba1e60119 100644 --- a/mod/lesson/viewend.html +++ b/mod/lesson/viewend.html @@ -25,7 +25,7 @@ - +
diff --git a/mod/quiz/config.html b/mod/quiz/config.html index 96b7fda3c6..0204b148a7 100644 --- a/mod/quiz/config.html +++ b/mod/quiz/config.html @@ -109,11 +109,11 @@ - - + - diff --git a/mod/quiz/jstimer.php b/mod/quiz/jstimer.php index 1a0d7641a3..af93e3cd12 100644 --- a/mod/quiz/jstimer.php +++ b/mod/quiz/jstimer.php @@ -28,7 +28,7 @@ var ec_quiz_finish = ec_page_start + ;
  +   +
- +
diff --git a/mod/resource/type/directory/resource.class.php b/mod/resource/type/directory/resource.class.php index a880f783b1..1a0072f9f5 100644 --- a/mod/resource/type/directory/resource.class.php +++ b/mod/resource/type/directory/resource.class.php @@ -99,9 +99,9 @@ function display() { $strfile = get_string("file"); echo ''; - echo "". - "". - "". + echo "". + "". + "". ""; foreach ($files as $file) { if (is_dir("$CFG->dataroot/$relativepath/$file")) { // Must be a directory diff --git a/question/editlib.php b/question/editlib.php index 543028cbb9..e885ca37b2 100644 --- a/question/editlib.php +++ b/question/editlib.php @@ -330,15 +330,15 @@ function question_list($course, $categoryid, $quizid=0, print_simple_box_start('center', '100%', '#ffffff', 0); echo '
$strname$strsize$strmodified
$strname$strsize$strmodified
'; $actionwidth = $canedit ? 95 : 70; - echo ""; + echo ""; $sortoptions = array('name, qtype ASC' => get_string("sortalpha", "quiz"), 'qtype, name ASC' => get_string("sorttypealpha", "quiz"), 'id ASC' => get_string("sortage", "quiz")); $orderselect = choose_from_menu ($sortoptions, 'sortorder', $sortorder, false, 'this.form.submit();', '0', true); $orderselect .= ''; - echo " - "; + echo " + "; echo "\n"; foreach ($questions as $question) { echo "\n
$straction$straction$strquestionname $orderselect$strtype$strquestionname $orderselect$strtype
\n"; diff --git a/question/type/questiontype.php b/question/type/questiontype.php index b36fd2272d..13740d839c 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -1046,9 +1046,9 @@ class default_questiontype { echo "\n"; echo "\n"; echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; echo "\n"; foreach($quizzes as $quiz) { // work out whethere it should be checked by default diff --git a/theme/index.php b/theme/index.php index df5a70f6ed..ff0cb698f6 100644 --- a/theme/index.php +++ b/theme/index.php @@ -59,7 +59,7 @@ $sesskey = !empty($USER->id) ? $USER->sesskey : ''; echo "
$strquizname$strdoreplace$straffectedstudents$strquizname$strdoreplace$straffectedstudents
"; - echo ""; + echo ""; foreach ($themes as $theme) { unset($THEME); -- 2.39.5
$strtheme$strinfo
$strtheme$strinfo