X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=blobdiff_plain;f=lib%2Foutputrenderers.php;fp=lib%2Foutputrenderers.php;h=9c9c3169bff661fc38f1449cc6065e064f362ab8;hp=607482462a6af2619839633733a7513b14ef4040;hb=707f9beae1df53c5695b0314086dcf8310a5affe;hpb=ed765cfad15c072f2810fcbf49e12ed8a7f4aac8 diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 607482462a6..9c9c3169bff 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -3239,7 +3239,7 @@ EOD; array('role' => 'button', 'tabindex' => 0)); $formattrs = array('class' => 'search-input-form', 'action' => $CFG->wwwroot . '/search/index.php'); $inputattrs = array('type' => 'text', 'name' => 'q', 'placeholder' => get_string('search', 'search'), - 'size' => 13, 'tabindex' => -1, 'id' => 'id_q_' . $id); + 'size' => 13, 'tabindex' => -1, 'id' => 'id_q_' . $id, 'class' => 'form-control'); $contents = html_writer::tag('label', get_string('enteryoursearchquery', 'search'), array('for' => 'id_q_' . $id, 'class' => 'accesshide')) . html_writer::tag('input', '', $inputattrs);