mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-35885 - Wiki - add a legend element to the search wikis form
This commit is contained in:
parent
9da506c2a3
commit
beff3a9dd5
@ -197,6 +197,7 @@ $string['saving'] = 'Saving wiki page';
|
||||
$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';
|
||||
|
@ -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 . '" />';
|
||||
|
Loading…
x
Reference in New Issue
Block a user