Location: PHPKode > projects > Habari > system/themes/charcoal/searchform.php
<?php if ( !defined( 'HABARI_PATH' ) ) { die('No direct access'); } ?>
<form method="get" id="search-form" action="<?php URL::out('display_search'); ?>" onsubmit="if ( document.getElementById('search-box').value == '<?php _e( "Search %s", array(str_replace("'", "\'", Options::get("title"))) ); ?>' ) { return false; }">
	<input type="text" name="criteria" id="search-box" value="<?php if ( isset( $criteria ) ) { echo htmlentities($criteria, ENT_COMPAT, 'UTF-8'); } else { _e( "Search %s", array(Options::get("title")) ); } ?>" onfocus="if (this.value == '<?php _e( "Search %s", array(str_replace("'", "\'", Options::get("title"))) ); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e( "Search %s", array(str_replace("'", "\'", Options::get("title"))) ); ?>';}" >
	<input type="submit" id="search-btn" value="" title="<?php _e( "Go" ); ?>">
</form>
Return current item: Habari