server/core/templates/part.searchbox.php
2011-07-06 19:31:16 +02:00

4 lines
296 B
PHP

<form class="searchbox" action="<?php echo $_['searchurl']?>" method="post">
<input type="text" name="query" value="<?php if(isset($_POST['query'])){echo $_POST['query'];};?>" class="prettybutton" />
<input type="submit" value="<?php echo $l->t( 'Search' ); ?>" class="prettybutton" />
</form>