Skip to content
Browse files

MDL-34569 - add label for search wiki input text

  • Loading branch information...
1 parent 93dbb62 commit 01dbe1fdadb6de18b8a1c0ee40a4f9c400d6176d @rwijaya rwijaya committed Aug 17, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/wiki/lib.php
View
3 mod/wiki/lib.php
@@ -474,7 +474,8 @@ function wiki_search_form($cm, $search = '') {
$output = '<div class="wikisearch">';
$output .= '<form method="post" action="' . $CFG->wwwroot . '/mod/wiki/search.php" style="display:inline">';
$output .= '<fieldset class="invisiblefieldset">';
- $output .= '<input name="searchstring" type="text" size="18" value="' . s($search, true) . '" alt="search" />';
+ $output .= '<label class="accesshide" for="searchwiki">' . get_string("searchwikis", "wiki") . '</label>';
+ $output .= '<input id="searchwiki" name="searchstring" type="text" size="18" value="' . s($search, true) . '" alt="search" />';
$output .= '<input name="courseid" type="hidden" value="' . $cm->course . '" />';
$output .= '<input name="cmid" type="hidden" value="' . $cm->id . '" />';
$output .= '<input name="searchwikicontent" type="hidden" value="1" />';

0 comments on commit 01dbe1f

Please sign in to comment.
Something went wrong with that request. Please try again.