Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-35889 blocks: Adding a legend to the fieldset

  • Loading branch information...
commit 777417d1711e8fe2195d2d05f8a4742e81a8bbe2 1 parent 61bfc2c
Ankit Agarwal ankitagarwal authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  blocks/search_forums/block_search_forums.php
1  blocks/search_forums/block_search_forums.php
View
@@ -27,6 +27,7 @@ function get_content() {
$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" />';
Please sign in to comment.
Something went wrong with that request. Please try again.