From: moodler Date: Thu, 18 Jan 2007 12:06:36 +0000 (+0000) Subject: Added some lables and formatting to fix MDL-8176 Accessibility X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2ee1f30bb2a95365cb2431ba498451ad610679de;p=moodle.git Added some lables and formatting to fix MDL-8176 Accessibility --- diff --git a/blocks/search_forums/block_search_forums.php b/blocks/search_forums/block_search_forums.php index 340a52eb6a..3630c6dd5a 100644 --- a/blocks/search_forums/block_search_forums.php +++ b/blocks/search_forums/block_search_forums.php @@ -26,19 +26,22 @@ class block_search_forums extends block_base { $advancedsearch = get_string('advancedsearch', 'block_search_forums'); + $search = get_string('search'); + //Accessibility: replaced with configurable text/'silent' character. check_theme_arrows(); // Theme config, $CFG->block_search_button = $THEME->rarrow .''.get_string('search').''; $button = (isset($CFG->block_search_button)) ? $CFG->block_search_button : get_string('go'); $this->content->text = '
'; - $this->content->text .= '
'; + $this->content->text .= '
'; $this->content->text .= ''; // course - $this->content->text .= ''; - $this->content->text .= '
'; + $this->content->text .= ''. + ''; + $this->content->text .= '
'; $this->content->text .= ''.$advancedsearch.''; $this->content->text .= helpbutton('search', $advancedsearch, 'moodle', true, false, '', true); - $this->content->text .= '
'; + $this->content->text .= ''; return $this->content; }