miniflux-legacy/app/templates/common/search.php

8 lines
565 B
PHP
Raw Normal View History

2016-05-04 02:15:20 +02:00
<div class="search">
<span id="search-opener"<?php echo isset($opened) && $opened ? ' class="hide"' : '' ?> data-action="show-search">&laquo; <?php echo t('Search')?></span>
<form id="search-form"<?php echo isset($opened) && $opened ? '' : ' class="hide"' ?> action="?" method="get">
<?php echo Miniflux\Helper\form_hidden('action', array('action' => 'search')) ?>
<?php echo Miniflux\Helper\form_text('text', array('text' => isset($text) ? $text : ''), array(), array('required', 'placeholder="' . t('Search') . '"')) ?>
2016-05-04 02:15:20 +02:00
</form>
</div>