]> git.mjollnir.org Git - moodle.git/commitdiff
Accessibility: strict, removed unnecessary alt="search" from <input type="text">.
authornfreear <nfreear>
Thu, 16 Mar 2006 11:47:38 +0000 (11:47 +0000)
committernfreear <nfreear>
Thu, 16 Mar 2006 11:47:38 +0000 (11:47 +0000)
blocks/search_forums/block_search_forums.php

index 6914631242bb61b15c561d87eb6aaf7e6f9de276..4bdc9996de6387579f9e3171b75f1ab1189c434f 100644 (file)
@@ -30,7 +30,7 @@ class block_search_forums extends block_base {
         $this->content->text  = '<div class="searchform">';
         $this->content->text .= '<form name="search" action="'.$CFG->wwwroot.'/mod/forum/search.php" style="display:inline">';
         $this->content->text .= '<input name="id" type="hidden" value="'.$this->instance->pageid.'" />';  // course
-        $this->content->text .= '<input name="search" type="text" size="16" value="" alt="search" />';
+        $this->content->text .= '<input name="search" type="text" size="16" value="" />';
         $this->content->text .= '<button type="submit" title="'.get_string('search').'"><img src="'.$CFG->pixpath.'/a/r_go.gif" alt="" class="resize" /><span class="accesshide">'.get_string('search').'</span></button><br />'; 
         $this->content->text .= '<a href="'.$CFG->wwwroot.'/mod/forum/search.php?id='.$this->instance->pageid.'">'.$advancedsearch.'</a>';
         $this->content->text .= helpbutton('search', $advancedsearch, 'moodle', true, false, '', true);