Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-34569 - add label for search wiki input text

  • Loading branch information...
commit 01dbe1fdadb6de18b8a1c0ee40a4f9c400d6176d 1 parent 93dbb62
rwijaya authored August 17, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  mod/wiki/lib.php
3  mod/wiki/lib.php
@@ -474,7 +474,8 @@ function wiki_search_form($cm, $search = '') {
474 474
     $output = '<div class="wikisearch">';
475 475
     $output .= '<form method="post" action="' . $CFG->wwwroot . '/mod/wiki/search.php" style="display:inline">';
476 476
     $output .= '<fieldset class="invisiblefieldset">';
477  
-    $output .= '<input name="searchstring" type="text" size="18" value="' . s($search, true) . '" alt="search" />';
  477
+    $output .= '<label class="accesshide" for="searchwiki">' . get_string("searchwikis", "wiki") . '</label>';
  478
+    $output .= '<input id="searchwiki" name="searchstring" type="text" size="18" value="' . s($search, true) . '" alt="search" />';
478 479
     $output .= '<input name="courseid" type="hidden" value="' . $cm->course . '" />';
479 480
     $output .= '<input name="cmid" type="hidden" value="' . $cm->id . '" />';
480 481
     $output .= '<input name="searchwikicontent" type="hidden" value="1" />';

0 notes on commit 01dbe1f

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