moteur de recherche : trigram+substring, navbar, page resultats
This commit is contained in:
@@ -89,6 +89,15 @@
|
||||
else: ?>
|
||||
<ul class="navbar-nav me-auto"></ul>
|
||||
<?php endif; ?>
|
||||
<form class="search-form d-flex" action="/" method="GET" role="search">
|
||||
<input type="hidden" name="action" value="search">
|
||||
<input class="form-control form-control-sm search-input"
|
||||
type="search" name="q"
|
||||
value="<?= htmlspecialchars($_GET['q'] ?? '') ?>"
|
||||
placeholder="Rechercher…"
|
||||
aria-label="Rechercher">
|
||||
</form>
|
||||
|
||||
<ul class="navbar-nav">
|
||||
<?php if (function_exists('isLoggedIn') && isLoggedIn()): ?>
|
||||
<li class="nav-item"><a class="nav-link" href="/?action=admin">Admin</a></li>
|
||||
|
||||
Reference in New Issue
Block a user