From 54926e7818e071986d1f808b1d77534b1c811f6d Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Wed, 13 Dec 2006 03:03:43 +0000 Subject: [PATCH] various accessbility fixes --- admin/roles/manage.html | 12 ++++++------ admin/roles/override.html | 12 ++++++------ calendar/preferences.html | 10 +++++----- calendar/view.php | 2 +- course/category.php | 10 +++++----- course/index.php | 8 ++++---- course/lib.php | 12 ++++++------ course/search.php | 8 ++++---- files/index.php | 12 ++++++------ filter/tex/filterconfig.html | 2 +- grade/exceptions.html | 4 ++-- grade/lib.php | 4 ++-- 12 files changed, 48 insertions(+), 48 deletions(-) diff --git a/admin/roles/manage.html b/admin/roles/manage.html index a5878a5d60..7748d8f3ce 100755 --- a/admin/roles/manage.html +++ b/admin/roles/manage.html @@ -67,12 +67,12 @@ - - - - - - + + + + + + - - - - - - + + + + + + - + - + - + - + - + '; + echo ''; } echo ''; // End of day names; prepare for day numbers diff --git a/course/category.php b/course/category.php index a87c13dac1..c65431bb14 100644 --- a/course/category.php +++ b/course/category.php @@ -221,7 +221,7 @@ $subcategorieswereshown = true; if ($firstentry) { echo '
::
::
::
::
:: get_string('no'), 1 => get_string('yes')), 'persistflt', $prefs->persistflt, '', '', ''); ?>

diff --git a/calendar/view.php b/calendar/view.php index 07f6285617..677c92c942 100644 --- a/calendar/view.php +++ b/calendar/view.php @@ -359,7 +359,7 @@ function calendar_show_month_detailed($m, $y, $courses, $groups, $users) { for($i = $display->minwday; $i <= $display->maxwday; ++$i) { // This uses the % operator to get the correct weekday no matter what shift we have // applied to the $display->minwday : $display->maxwday range from the default 0 : 6 - echo '
'.get_string($CALENDARDAYS[$i % 7], 'calendar').''.get_string($CALENDARDAYS[$i % 7], 'calendar').'
'; - echo ''; + echo ''; echo '
'.get_string('subcategories').'
'.get_string('subcategories').'
'; $firstentry = false; } @@ -277,14 +277,14 @@ echo '
'; echo ''; echo ''; - echo ''; + echo ''; if ($creatorediting) { - echo ''; + echo ''; if ($adminediting) { - echo ''; + echo ''; } } else { - echo ''; + echo ''; } echo ''; diff --git a/course/index.php b/course/index.php index 93291cf398..bd6dee0c41 100644 --- a/course/index.php +++ b/course/index.php @@ -302,10 +302,10 @@ make_categories_list($displaylist, $parentlist, ""); echo "
'.$strcourses.''.$strcourses.''.$stredit.''.$stredit.''.$strselect.''.$strselect.'  
"; - echo ""; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; + echo ""; echo ""; print_category_edit(NULL, $displaylist, $parentlist); diff --git a/course/lib.php b/course/lib.php index 305462136b..0bad374566 100644 --- a/course/lib.php +++ b/course/lib.php @@ -378,13 +378,13 @@ function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $per echo "
$strcategories$strcourses$stredit$strmovecategoryto$strcategories$strcourses$stredit$strmovecategoryto
\n"; echo ""; if ($course->id == SITEID) { - echo "\n"; + echo "\n"; } - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; echo "\n"; if (empty($logs['logs'])) { diff --git a/course/search.php b/course/search.php index 15fd9636d5..a3fc8cf7a5 100644 --- a/course/search.php +++ b/course/search.php @@ -159,10 +159,10 @@ echo ""; echo ""; echo "
".get_string('course')."".get_string('course')."".get_string('time')."".get_string('ip_address')."".get_string('fullname')."".get_string('action')."".get_string('info')."".get_string('time')."".get_string('ip_address')."".get_string('fullname')."".get_string('action')."".get_string('info')."
"; - echo ""; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; + echo ""; foreach ($courses as $course) { $coursecontext = get_context_instance(CONTEXT_COURSE, $course->id); diff --git a/files/index.php b/files/index.php index c6f6cf0280..9b96c390be 100644 --- a/files/index.php +++ b/files/index.php @@ -528,7 +528,7 @@ } else { echo "
$strcourses$strcategory$strselect$stredit$strcourses$strcategory$strselect$stredit
"; - echo ""; + echo ""; foreach ($list as $item) { echo ""; print_cell("left", s($item['filename']), 'name'); @@ -701,11 +701,11 @@ function displaydir ($wdir) { echo "
"; echo "
$strname$strsize$strmodified
$strname$strsize$strmodified
"; echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; echo "\n"; if ($wdir != "/") { diff --git a/filter/tex/filterconfig.html b/filter/tex/filterconfig.html index 1d4c0ee78e..b6eb57fe19 100644 --- a/filter/tex/filterconfig.html +++ b/filter/tex/filterconfig.html @@ -26,7 +26,7 @@
$strname$strsize$strmodified$straction$strname$strsize$strmodified$straction
- + diff --git a/grade/exceptions.html b/grade/exceptions.html index ff6231fd21..8820dbec85 100644 --- a/grade/exceptions.html +++ b/grade/exceptions.html @@ -90,12 +90,12 @@ function updateMembers(selectgrade_item) {
latexsettings; ?>latexsettings; ?>  
- diff --git a/grade/lib.php b/grade/lib.php index 6c194fd884..f8bbc0bbf0 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -2072,7 +2072,7 @@ function grade_view_all_grades($view_by_student) { // if mode=='grade' then we a } // only print the category headers if something is displayed for them if ($preferences->show_weighted || $preferences->show_percent || $preferences->show_points) { - $stats_link = ''.get_string('statslink','grades').''; + $stats_link = ''.get_string('statslink','grades').''; $header .= ''; if (has_capability('moodle/course:viewcoursegrades', $context) && $view_by_student == -1) { if ($preferences->show_points) { -- 2.39.5
+ - +
'.get_string('percentdescending','grades').''; $percent_sort_link .= ''.get_string('percentascending','grades').''; } - $stats_link = ''.get_string('statslink','grades').''; + $stats_link = ''.get_string('statslink','grades').''; $header .= ''.get_string('total','grades').' '.$stats_link.'