From: nfreear Date: Tue, 14 Mar 2006 12:55:06 +0000 (+0000) Subject: Accessibility: fixed ambiguous asterisk next to 'edit profile', with title and hidden... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ea78c234f95282890f1c5f9cabe61026868f8593;p=moodle.git Accessibility: fixed ambiguous asterisk next to 'edit profile', with title and hidden text (OU-Bugz: 733). --- diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index 14951d8c2c..9eccdda57c 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -113,7 +113,9 @@ class block_admin extends block_list { $fullname = fullname($USER, true); $editmyprofile = ''.get_string('editmyprofile').''; if (empty($USER->description)) { - $this->content->items[]= $editmyprofile." *"; + //Accessibility: replace non-standard with CSS ( makes title visible in IE). + $text = get_string('profile').' '.get_string('missingdescription'); + $this->content->items[]= $editmyprofile.' *'.$text.''; } else { $this->content->items[]= $editmyprofile; } @@ -208,7 +210,9 @@ class block_admin extends block_list { $editmyprofile = ''.get_string('editmyprofile').''; if (empty($USER->description)) { - $this->content->items[]= $editmyprofile." *"; + //Accessibility: replace non-standard with CSS ( makes title visible in IE). + $text = get_string('profile').' '.get_string('missingdescription'); + $this->content->items[]= $editmyprofile.' *'.$text.''; } else { $this->content->items[]= $editmyprofile; } diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index d7e45aaf9b..3e2131e2c2 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -141,6 +141,11 @@ img.resize { acronym, abbr { cursor: help; } +a.useredit, a:hover.useredit, .blink { + color: black; + text-decoration: blink; + cursor: help; +} /*** *** Header