]> git.mjollnir.org Git - moodle.git/commitdiff
Added a summary to layout tables "layout tables" for further accessibility
authormoodler <moodler>
Tue, 23 Jan 2007 08:28:55 +0000 (08:28 +0000)
committermoodler <moodler>
Tue, 23 Jan 2007 08:28:55 +0000 (08:28 +0000)
course/format/lams/format.php
course/format/scorm/format.php
course/format/social/format.php
course/format/topics/format.php
course/format/weeks/format.php
lang/en_utf8/moodle.php

index 34250d1bd8f725a174587c796e5a434387448bb1..b8166d6d7feb299d8c63b279c263f97231e9a5fe 100644 (file)
@@ -60,7 +60,7 @@ if ($editing) {
 
 
 /// Layout the whole page as three big columns.
-echo '<table id="layout-table" cellspacing="0"><tr>';
+echo '<table id="layout-table" cellspacing="0" summary="'.get_string('layouttable').'"><tr>';
 
 /// The left column ...
 
@@ -75,7 +75,7 @@ echo '<td id="middle-column"><a name="startofcontent"></a>';
 
 print_heading_block(get_string('lamsoutline','lams'), 'outline');
 
-echo '<table class="topics" width="100%" height="100%">';
+echo '<table class="topics" width="100%" height="100%" summary="'.get_string('layouttable').'">';
 
 /// If currently moving a file then show the current clipboard
 if (ismoving($course->id)) {
index 64ae5afe47dc51d432eb1da51e5f5935f8660747..1241f0d312bae2b9af03f3332999cecba04eddc2 100644 (file)
@@ -21,7 +21,7 @@
     $strgroupmy = get_string('groupmy');
     $editing    = $PAGE->user_is_editing();
 
-    echo '<table id="layout-table" cellspacing="0">';
+    echo '<table id="layout-table" cellspacing="0" summary="'.get_string('layouttable').'">';
     echo '<tr>';
 
     if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
index ddb2512bf3debdee0ce4be3b94071bfa2881232a..88e2a8cfadc3596bad67471c8ccc517a8e9225ba 100644 (file)
@@ -19,7 +19,7 @@
     $strgroupmy = get_string('groupmy');
     $editing    = $PAGE->user_is_editing();
 
-    echo '<table id="layout-table" cellspacing="0">';
+    echo '<table id="layout-table" cellspacing="0" summary="'.get_string('layouttable').'">';
     echo '<tr>';
 
     if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
index 16322fd5a44134432755ad17bca945d0388a32cb..922f84b8c73e2047efbb472c8cc5876312e05eeb 100644 (file)
@@ -65,7 +65,7 @@
 
 
 /// Layout the whole page as three big columns.
-    echo '<table id="layout-table" cellspacing="0"><tr>';
+    echo '<table id="layout-table" cellspacing="0" summary="'.get_string('layouttable').'"><tr>';
 
 /// The left column ...
 // uh-changes start
 
     print_heading_block(get_string('topicoutline'), 'outline');
 
-    echo '<table class="topics" width="100%">';
+    echo '<table class="topics" width="100%" summary="'.get_string('layouttable').'">';
 
 /// If currently moving a file then show the current clipboard
     if (ismoving($course->id)) {
index 9cf019ba9bf253c9cb53be5d152ae4140c930918..3093ef5ec59aa76e9ff12e9e2660fba02fbd979e 100644 (file)
@@ -51,7 +51,7 @@
 
     $context = get_context_instance(CONTEXT_COURSE, $course->id);
 /// Layout the whole page as three big columns.
-    echo '<table id="layout-table" cellspacing="0"><tr>';
+    echo '<table id="layout-table" cellspacing="0" summary="'.get_string('layouttable').'"><tr>';
 
 /// The left column ...
 
@@ -66,7 +66,7 @@
 
     print_heading_block(get_string('weeklyoutline'), 'outline');
 
-    echo '<table class="weeks" width="100%">';
+    echo '<table class="weeks" width="100%" summary="'.get_string('layouttable').'">';
 
 /// If currently moving a file then show the current clipboard
     if (ismoving($course->id)) {
index 7472cc9220679e2420702893129c7e09b49f43ac..e19c12d84600afe8a92fc0deca820278816fe1fb 100644 (file)
@@ -750,6 +750,7 @@ $string['lastname'] = 'Surname';
 $string['lastyear'] = 'Last year';
 $string['latestlanguagepack'] = 'Check for latest language pack on moodle.org';
 $string['latestnews'] = 'Latest News';
+$string['layouttable'] = 'Layout table';
 $string['leavetokeep'] = 'Leave blank to keep current password';
 $string['license'] = 'GPL License';
 $string['liketologin'] = 'Would you like to log in now with a full user account?';