mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 20:50:21 +01:00
MDL-35889 blocks: Adding a legend to the fieldset
This commit is contained in:
parent
61bfc2c13b
commit
777417d171
@ -27,6 +27,7 @@ class block_search_forums extends block_base {
|
||||
|
||||
$this->content->text = '<div class="searchform">';
|
||||
$this->content->text .= '<form action="'.$CFG->wwwroot.'/mod/forum/search.php" style="display:inline"><fieldset class="invisiblefieldset">';
|
||||
$this->content->text .= '<legend class="accesshide">'.$strsearch.'</legend>';
|
||||
$this->content->text .= '<input name="id" type="hidden" value="'.$this->page->course->id.'" />'; // course
|
||||
$this->content->text .= '<label class="accesshide" for="searchform_search">'.$strsearch.'</label>'.
|
||||
'<input id="searchform_search" name="search" type="text" size="16" />';
|
||||
|
Loading…
x
Reference in New Issue
Block a user