ZwiiCMS/module/search/view/result/result.php

37 lines
1.3 KiB
PHP
Raw Normal View History

2020-08-14 15:24:14 +02:00
<?php echo template::formOpen('searchForm'); ?>
<div class="row">
<div class="col10 offset1">
<div class="row">
<div class="col10 verticalAlignBottom">
<?php echo template::text('searchMotphraseclef', [
2020-08-15 10:11:04 +02:00
'placeholder' => 'Saisissez vos mots clés ou une phrase',
2020-08-15 09:35:43 +02:00
'value' => $module::$motclef
2020-08-14 15:24:14 +02:00
]); ?>
</div>
<div class="col2 verticalAlignBottom">
<?php echo template::submit('pageEditSubmit', [
'value' => 'Ok'
]); ?>
</div>
</div>
<div class="row">
<div class="col12">
<?php echo template::checkbox('searchMotentier', true, 'Mot entier uniquement', [
2020-08-15 09:35:43 +02:00
'checked' => $module::$motentier
2020-08-14 15:24:14 +02:00
]); ?>
</div>
</div>
</div>
</div>
<div class="col12">
<div class="block">
2020-08-14 16:00:42 +02:00
<h4><?php echo $module::$resultTitle; ?></h4>
<?php if (!empty($module::$resultList)) {
echo $module::$resultList;
2020-08-14 15:24:14 +02:00
} else {
echo "Rien à afficher";
} ?>
</div>
</div>
<?php echo template::formClose(); ?>