edit user

This commit is contained in:
Yasder5 2026-02-19 20:33:24 +01:00
parent 216de9c8df
commit 09ec39c7bb
11 changed files with 293 additions and 68 deletions

View file

@ -1,18 +1,18 @@
<?php
/* Smarty version 5.7.0, created on 2026-02-14 17:35:40
/* Smarty version 5.7.0, created on 2026-02-19 17:49:46
from 'file:views/search.tpl' */
/* @var \Smarty\Template $_smarty_tpl */
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
'version' => '5.7.0',
'unifunc' => 'content_6990b26c035cd6_15007530',
'unifunc' => 'content_69974d3a2fa051_88043479',
'has_nocache_code' => false,
'file_dependency' =>
array (
'72e5e5c0ee2729980deadb1687a6d7b7b3c501bb' =>
array (
0 => 'views/search.tpl',
1 => 1770649781,
1 => 1771519241,
2 => 'file',
),
),
@ -21,18 +21,18 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
'file:views/_partial/preview.tpl' => 1,
),
))) {
function content_6990b26c035cd6_15007530 (\Smarty\Template $_smarty_tpl) {
function content_69974d3a2fa051_88043479 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'D:\\projetphp\\views';
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
?>
<?php
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_19164984906990b26c022a65_59433489', "content");
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_129547300169974d3a2e7e19_65257480', "content");
$_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir);
}
/* {block "content"} */
class Block_19164984906990b26c022a65_59433489 extends \Smarty\Runtime\Block
class Block_129547300169974d3a2e7e19_65257480 extends \Smarty\Runtime\Block
{
public function callBlock(\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'D:\\projetphp\\views';
@ -57,7 +57,7 @@ $_smarty_current_dir = 'D:\\projetphp\\views';
class="form-control"
id="keywords"
name="keywords"
placeholder="Ex: JavaScript, CSS..."
placeholder="Design, IA, back-end"
aria-describedby="keywords-help">
<small id="keywords-help" class="form-text text-muted">
Recherchez dans les titres et contenus
@ -91,7 +91,7 @@ $_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
<div class="col-6">
<fieldset>
<legend class="form-label">Type de recherche par date</legend>
<legend class="form-label">Recherche par date</legend>
<div class="form-check form-check-inline">
<input
class="form-check-input"
@ -123,7 +123,7 @@ $_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
<!-- AJOUT RECHERCHE PAR CATEGORIE -->
<div class="col-6">
<fieldset>
<legend class="form-label">Type de recherche par catégories</legend>
<legend class="form-label">Recherche par catégories</legend>
<div class="col-md-6">
<label for="author" class="form-label">Catégorie</label>
<select class="form-select" id="category" name="category">
@ -194,10 +194,10 @@ $_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>
<i class="fas fa-search me-2" aria-hidden="true"></i>
Rechercher
</button>
<button type="reset" class="btn btn-secondary ms-2">
<a href="index.php?ctrl=project&action=search" class="btn btn-secondary ms-2">
<i class="fas fa-redo me-2" aria-hidden="true"></i>
Réinitialiser
</button>
</a>
</div>
</div>
</form>