2020-08-14 15:24:14 +02:00
|
|
|
<?php echo template::formOpen('searchForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col10 offset1">
|
|
|
|
<div class="row">
|
2020-08-16 15:59:37 +02:00
|
|
|
<div class="col9 verticalAlignMiddle">
|
2020-08-14 15:24:14 +02:00
|
|
|
<?php echo template::text('searchMotphraseclef', [
|
2020-08-16 16:24:09 +02:00
|
|
|
'placeholder' => $this->getData(['module',$this->getUrl(0),'placeHolder']) ? $this->getData(['module',$this->getUrl(0),'placeHolder']) : $module::$defaultPlaceHolder,
|
|
|
|
'value' => $module::$motclef
|
2020-08-14 15:24:14 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-08-16 15:59:37 +02:00
|
|
|
<div class="col3 verticalAlignMiddle">
|
2020-08-14 15:24:14 +02:00
|
|
|
<?php echo template::submit('pageEditSubmit', [
|
2020-08-16 16:24:09 +02:00
|
|
|
'value' => $this->getData(['module',$this->getUrl(0),'submitText']) ? $this->getData(['module',$this->getUrl(0),'submitText']) : $module::$defaultButtonText
|
2020-08-14 15:24:14 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::checkbox('searchMotentier', true, 'Mot entier uniquement', [
|
2020-08-16 21:02:26 +02:00
|
|
|
'checked' => $module::$motentier
|
2020-08-14 15:24:14 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-16 15:59:37 +02:00
|
|
|
<?php if ($module::$resultTitle && $module::$resultList): ?>
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4><?php echo $module::$resultTitle; ?></h4>
|
|
|
|
<?php if (!empty($module::$resultList)) {
|
2020-08-17 10:39:44 +02:00
|
|
|
echo( $module::$resultList );
|
2020-08-16 15:59:37 +02:00
|
|
|
} else {
|
|
|
|
echo "Rien à afficher";
|
|
|
|
} ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php endif;?>
|
2020-08-14 15:24:14 +02:00
|
|
|
<?php echo template::formClose(); ?>
|