XPressME Integration Kit

Trac

source: branches/Ver2.3/xpressme_integration_kit/wp-content/themes/xpress_default/searchform.php

Last change on this file was 252, checked in by toemon, 15 years ago

WordPressME2.0.11への対応,(ブロック周りは未完)

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.