Files
archived-comicpress/searchform.php
Kniebremser 9a61003ec0 added escaping functions for output part 1
the first files have no WPCS messages more
2019-07-06 22:53:15 +02:00

22 lines
671 B
PHP

<?php
/**
* Search Form
* by Philip M. Hofer (Frumph)
* http://frumph.net/
*
* Method for the Search form.
*
* @package Comicpress
*/
?>
<form method="get" class="searchform" action="<?php echo esc_html( home_url() ); ?>">
<input type="text" value="<?php esc_html_e( 'Search...', 'comicpress' ); ?>" name="s" class="s-search" onfocus="this.value=(this.value=='<?php esc_html_e( 'Search...', 'comicpress' ); ?>') ? '' : this.value;" onblur="this.value=(this.value=='') ? '<?php esc_html_e( 'Search...', 'comicpress' ); ?>' : this.value;" />
<button type="submit">
<?php esc_html_e( '&raquo;', 'comicpress' ); ?>
</button>
</form>
<div class="clear"></div>