Skip to content
Browse files

Merge branch 'wip-MDL-35885-stable23' of git://github.com/phalacee/mo…

…odle into MOODLE_23_STABLE
  • Loading branch information...
2 parents 7fa6857 + 6df2ead commit 34342983859a427ce4f1563279be3e7f9a6579ba Sam Hemelryk committed Jan 14, 2013
Showing with 3 additions and 1 deletion.
  1. +1 −0 mod/wiki/lang/en/wiki.php
  2. +2 −1 mod/wiki/lib.php
View
1 mod/wiki/lang/en/wiki.php
@@ -197,6 +197,7 @@
$string['savingerror'] = 'Saving error';
$string['searchcontent'] = 'Search in page content';
$string['searchresult'] = 'Search results:';
+$string['searchterms'] = 'Search terms';
$string['searchwikis'] = 'Search wikis';
$string['special'] = 'Special';
$string['tableofcontents'] = 'Table of contents';
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 .= '<label class="accesshide" for="searchwiki">' . get_string("searchwikis", "wiki") . '</label>';
+ $output .= '<legend class="accesshide">'. get_string('searchwikis', 'wiki') .'</legend>';
+ $output .= '<label class="accesshide" for="searchwiki">' . get_string("searchterms", "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 . '" />';

0 comments on commit 3434298

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