41 lines
1.9 KiB
PHP
Executable File
41 lines
1.9 KiB
PHP
Executable File
<?php echo template::formOpen('searchForm'); ?>
|
|
<div class="row">
|
|
<div class="col10 offset1">
|
|
<div class="row">
|
|
<div class="col9 verticalAlignMiddle">
|
|
<?php echo template::text('searchMotphraseclef', [
|
|
'placeholder' => $this->getData(['module',$this->getUrl(0),'placeHolder']) ? $this->getData(['module',$this->getUrl(0),'placeHolder']) : $module::$defaultPlaceHolder,
|
|
'value' => $module::$motclef
|
|
]); ?>
|
|
</div>
|
|
<div class="col3 verticalAlignMiddle">
|
|
<?php echo template::submit('pageEditSubmit', [
|
|
'value' => $this->getData(['module',$this->getUrl(0),'submitText']) ? $this->getData(['module',$this->getUrl(0),'submitText']) : $module::$defaultButtonText
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col12">
|
|
<?php echo template::checkbox('searchMotentier', true, 'Mot entier uniquement', [
|
|
'checked' => $module::$motentier,
|
|
'help' => 'Pour rechercher une suite de mots-clés, les séparez par le symbole + plutôt que l\'espace.'
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php if ( $module::$resultTitle ): ?>
|
|
<div class="col12">
|
|
<div class="block">
|
|
<?php echo '<h4>'.$module::$resultTitle . '</h4>'; ?>
|
|
<?php if ($module::$resultList )
|
|
echo '<p>'.$module::$resultList.'</p>';
|
|
?>
|
|
<?php if ($module::$resultError )
|
|
echo '<p>'.$module::$resultError.'</p>';
|
|
?>
|
|
</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php echo template::formClose(); ?>
|