miniflux-legacy/templates/search_form.php
2016-05-03 20:15:20 -04:00

8 lines
512 B
PHP

<div class="search">
<span id="search-opener"<?= isset($opened) && $opened ? ' class="hide"' : '' ?> data-action="show-search">&laquo; <?= t('Search')?></span>
<form id="search-form"<?= isset($opened) && $opened ? '' : ' class="hide"' ?> action="?" method="get">
<?= Helper\form_hidden('action', array('action' => 'search')) ?>
<?= Helper\form_text('text', array('text' => isset($text) ? $text : ''), array(), array('required', 'placeholder="' . t('Search') . '"')) ?>
</form>
</div>