From: nfreear Date: Tue, 14 Mar 2006 14:05:51 +0000 (+0000) Subject: Accessibility: (strict HTML) remove unnecessary width/height attributes on ... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3182eb7832b78ad598cdc7fc9f1bcc4c3ce8140c;p=moodle.git Accessibility: (strict HTML) remove unnecessary width/height attributes on (OU-Bugz: 697) --- diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index 9eccdda57c..877376cdb6 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -34,39 +34,39 @@ class block_admin extends block_list { if (isadmin()) { $this->content->items[] = ''.get_string('configuration').''; - $this->content->icons[] = ''; + $this->content->icons[] = ''; $this->content->items[] = ''.get_string('users').''; - $this->content->icons[] = ''; + $this->content->icons[] = ''; $this->content->items[]=''.get_string('backup').''; - $this->content->icons[]=''; + $this->content->icons[]=''; $this->content->items[]=''.get_string('restore').''; - $this->content->icons[]=''; + $this->content->icons[]=''; } if (iscreator()) { $this->content->items[] = ''.get_string('courses').''; - $this->content->icons[] = ''; + $this->content->icons[] = ''; } if (isadmin()) { $this->content->items[] = ''.get_string('logs').''; - $this->content->icons[] = ''; + $this->content->icons[] = ''; if (!empty($CFG->enablestats)) { $this->content->items[] = ''.get_string('stats').''; - $this->content->icons[] = ''; + $this->content->icons[] = ''; } $this->content->items[] = ''.get_string('sitefiles').''; - $this->content->icons[] = ''; + $this->content->icons[] = ''; if (file_exists($CFG->dirroot.'/'.$CFG->admin.'/'.$CFG->dbtype)) { $this->content->items[] = ''.get_string('managedatabase').''; - $this->content->icons[] = ''; + $this->content->icons[] = ''; } if ($CFG->enrol == 'authorize') { @@ -76,7 +76,7 @@ class block_admin extends block_list { $paymenturl .= ''.get_string('paymentpending', 'moodle', $cnt).''; } $this->content->items[] = $paymenturl; - $this->content->icons[] = ''; + $this->content->icons[] = ''; } $this->content->footer = ''.get_string('admin').'...'; @@ -99,7 +99,7 @@ class block_admin extends block_list { $isteacheredit = isteacheredit($this->instance->pageid); if ($isteacheredit) { - $this->content->icons[]=''; + $this->content->icons[]=''; if (isediting($this->instance->pageid)) { $this->content->items[]=''.get_string('turneditingoff').''; } else { @@ -107,7 +107,7 @@ class block_admin extends block_list { } $this->content->items[]=''.get_string('settings').''; - $this->content->icons[]=''; + $this->content->icons[]=''; $fullname = fullname($USER, true); @@ -119,7 +119,7 @@ class block_admin extends block_list { } else { $this->content->items[]= $editmyprofile; } - $this->content->icons[]=''; + $this->content->icons[]=''; if (iscreator() || !empty($CFG->teacherassignteachers)) { @@ -127,7 +127,7 @@ class block_admin extends block_list { $course->teachers = get_string('defaultcourseteachers'); } $this->content->items[]=''.$course->teachers.''; - $this->content->icons[]=''; + $this->content->icons[]=''; } if (!$course->students) { @@ -135,46 +135,46 @@ class block_admin extends block_list { } if (!$course->metacourse) { $this->content->items[]=''.$course->students.''; - $this->content->icons[]=''; + $this->content->icons[]=''; } else { $strchildcourses = get_string('childcourses'); $this->content->items[]=''.$strchildcourses.''; - $this->content->icons[]=''; + $this->content->icons[]=''; } if ($course->groupmode || !$course->groupmodeforce) { $strgroups = get_string('groups'); $this->content->items[]=''.$strgroups.''; - $this->content->icons[]=''; + $this->content->icons[]=''; } $this->content->items[]=''.get_string('backup').''; - $this->content->icons[]=''; + $this->content->icons[]=''; $this->content->items[]=''.get_string('restore').''; - $this->content->icons[]=''; + $this->content->icons[]=''; $this->content->items[]=''.get_string('import').''; - $this->content->icons[]=''; + $this->content->icons[]=''; $this->content->items[]=''.get_string('reports').''; - $this->content->icons[]=''; + $this->content->icons[]=''; $this->content->items[]=''.get_string('questions', 'quiz').''; - $this->content->icons[]=''; + $this->content->icons[]=''; $this->content->items[]=''.get_string('scales').''; - $this->content->icons[]=''; + $this->content->icons[]=''; } $this->content->items[]=''.get_string('grades').''; - $this->content->icons[]=''; + $this->content->icons[]=''; $this->content->items[]=''.get_string('logs').''; - $this->content->icons[]=''; + $this->content->icons[]=''; if ($isteacheredit) { $this->content->items[]=''.get_string('files').''; - $this->content->icons[]=''; + $this->content->icons[]=''; } if ($course->enrol == 'authorize' || (empty($course->enrol) && $CFG->enrol == 'authorize')) { @@ -184,26 +184,26 @@ class block_admin extends block_list { $paymenturl .= ''.get_string('paymentpending', 'moodle', $cnt).''; } $this->content->items[] = $paymenturl; - $this->content->icons[] = ''; + $this->content->icons[] = ''; } $this->content->items[]=''.get_string('help').''; - $this->content->icons[]=''; + $this->content->icons[]=''; if ($teacherforum = forum_get_course_forum($this->instance->pageid, 'teacher')) { $this->content->items[]=''.get_string('nameteacher', 'forum').''; - $this->content->icons[]=''; + $this->content->icons[]=''; } } else if (!isguest()) { // Students menu if ($course->showgrades) { $this->content->items[]=''.get_string('grades').''; - $this->content->icons[]=''; + $this->content->icons[]=''; } if ($course->showreports) { $this->content->items[]=''.get_string('activityreport').''; - $this->content->icons[]=''; + $this->content->icons[]=''; } $fullname = fullname($USER, true); @@ -216,18 +216,18 @@ class block_admin extends block_list { } else { $this->content->items[]= $editmyprofile; } - $this->content->icons[]=''; + $this->content->icons[]=''; if (is_internal_auth() && !is_restricted_user($USER->username)) { $this->content->items[]=''.get_string('changepassword').''; - $this->content->icons[]=''; + $this->content->icons[]=''; } else if ($CFG->changepassword && !is_restricted_user($USER->username)) { $this->content->items[]=''.get_string('changepassword').''; - $this->content->icons[]=''; + $this->content->icons[]=''; } if ($CFG->allowunenroll && !$course->metacourse) { $this->content->items[]=''.get_string('unenrolme', '', $course->shortname).''; - $this->content->icons[]=''; + $this->content->icons[]=''; } } } diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index b7c257d0c5..a7445ff273 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -431,6 +431,11 @@ a.skip-block, .skip-block { font-size:1px; } +.sideblock .icon img { + width:16px; + height:16px; +} + ul.list, ul.list li { list-style-type:none; padding:0%;