XPressME Integration Kit

Trac

source: trunk/extras/my_themes/searchform.php @ 756

Last change on this file since 756 was 613, checked in by toemon, 14 years ago

extrasにカスタマイズ用のmy_themesを追加 Fixes#348

File size: 511 bytes
Line 
1<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
2<label class="hidden" for="s"><?php _e('Search for:', 'xpress'); ?></label>
3<?php if(function_exists('the_search_query')) : ?>                     
4        <div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
5<?php else : ?>
6        <div><input type="text" value="<?php echo attribute_escape($s); ?>" name="s" id="s" />
7<?php endif; ?>
8<input type="submit" id="searchsubmit" value="<?php _e('Search', 'xpress'); ?>" />
9</div>
10</form>
Note: See TracBrowser for help on using the repository browser.