Ticket #9908: multiple-search-forms.diff
| File multiple-search-forms.diff, 668 bytes (added by , 17 years ago) |
|---|
-
general-template.php
115 115 function get_search_form() { 116 116 do_action( 'get_search_form' ); 117 117 118 if ( '' != locate_template(array('searchform.php'), true) ) 118 $search_form_template = locate_template(array('searchform.php')); 119 if ( '' != $search_form_template ) { 120 require($search_form_template); 119 121 return; 122 } 120 123 121 124 $form = '<form role="search" method="get" id="searchform" action="' . get_option('home') . '/" > 122 125 <div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label>