2019-07-03 19:32:38 +02:00
|
|
|
<?php echo template::formOpen('searchForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2019-07-07 19:33:48 +02:00
|
|
|
<h4>Recherche</h4>
|
2019-07-03 19:32:38 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col10 verticalAlignBottom">
|
|
|
|
<?php echo template::text('searchMotphraseclef', [
|
2019-07-07 19:33:48 +02:00
|
|
|
'label' => 'Mot ou phrase',
|
2019-07-04 12:37:36 +02:00
|
|
|
'value' => isset($_POST['searchMotphraseclef']) === true ? $_POST['searchMotphraseclef'] : '',
|
2019-07-07 19:33:48 +02:00
|
|
|
'help' => 'Tout ou partie d\'un mot ou d\'une phrase, sans guillemets. N\'oubliez pas les accents.'
|
2019-07-03 19:32:38 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 verticalAlignBottom">
|
|
|
|
<?php echo template::submit('pageEditSubmit', [
|
2019-07-07 19:33:48 +02:00
|
|
|
'value' => 'Ok'
|
2019-07-03 19:32:38 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<?php echo template::checkbox('searchMotentier', true, 'Mot entier uniquement', [
|
2019-07-04 12:37:36 +02:00
|
|
|
'checked' => isset($_POST['searchMotentier']) === true ? $_POST['searchMotentier'] : ''
|
2019-07-03 19:32:38 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2019-07-04 12:37:36 +02:00
|
|
|
<h4>Résultat(s)</h4>
|
|
|
|
<?php if (isset($_POST['result'])) {
|
|
|
|
echo $_POST['result'];
|
|
|
|
} else {
|
|
|
|
echo "Rien à afficher";
|
|
|
|
} ?>
|
2019-07-03 19:32:38 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|