add extended search mode option

This commit is contained in:
ghost 2023-12-01 20:05:38 +02:00
parent 2f2eea6821
commit f0da3caaf5
2 changed files with 74 additions and 27 deletions

View file

@ -244,10 +244,9 @@ foreach ($config->snap->storage->remote->ftp as $i => $ftp)
label {
font-size: 14px;
color: #fff;
float: left;
margin-left: 16px;
margin-bottom: 14px;
position: absolute;
right: 80px;
top: 18px;
}
label > input {
@ -303,6 +302,10 @@ foreach ($config->snap->storage->remote->ftp as $i => $ftp)
<form name="search" method="GET" action="search.php">
<h1><a href="./"><?php echo _('Yo!') ?></a></h1>
<input type="text" name="q" placeholder="<?php echo $placeholder ?>" value="" />
<label for="e">
<input type="checkbox" name="e" id="e" value="true" />
<?php echo _('Extended') ?>
</label>
<button type="submit">
<sub>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="white" class="bi bi-search" viewBox="0 0 16 16">