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.