Files
rockowa.com/templates/site-search-form.php
2023-05-08 09:03:09 +02:00

9 lines
481 B
PHP

<?
global $lang;
?>
<div class="search">
<form method="POST" action="wyszukiwarka" id="wyszukiwarka" class="form_designer">
<input type="text" name="s_text" id="s_text" value="<? if ( isset( $this -> _text ) ) echo $this -> _text; else echo 'Szukaj...';?>" onFocus="$( this ).val( '' );" onBlur="if ( $( this ).val() == '' ) $( this ).val( '<?=$lang -> getTrans( 'T_SZUKAJ' );?>..' );">
<input type="submit" value="<?=$lang -> getTrans( 'T_SZUKAJ' );?>">
</form>
</div>