2020-08-14 15:24:14 +02:00
< ? php echo template :: formOpen ( 'searchForm' ); ?>
2022-10-13 18:21:08 +02:00
< 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 ), 'config' , 'placeHolder' ]) ? $this -> getData ([ 'module' , $this -> getUrl ( 0 ), 'config' , 'placeHolder' ]) : 'Un ou plusieurs mots clef séparés par un espace' ,
'value' => $module :: $motclef
]); ?>
2020-08-14 15:24:14 +02:00
</ div >
2022-10-13 18:21:08 +02:00
< ? php $col = empty ( $this -> getData ([ 'module' , $this -> getUrl ( 0 ), 'config' , 'submitText' ])) ? 'col1' : 'col3' ; ?>
< div class = " <?php echo $col ; ?> verticalAlignMiddle " >
< ? php echo template :: submit ( 'pageEditSubmit' , [
'value' => $this -> getData ([ 'module' , $this -> getUrl ( 0 ), 'config' , 'submitText' ]),
'ico' => 'search'
]); ?>
2020-08-14 15:24:14 +02:00
</ div >
2022-10-13 18:21:08 +02:00
</ div >
< div class = " row " >
< div class = " col12 " >
< ? php echo template :: checkbox ( 'searchMotentier' , true , 'Mots approchants' , [
'checked' => $module :: $motentier ,
]); ?>
2020-08-19 18:16:49 +02:00
</ div >
2020-08-16 15:59:37 +02:00
</ div >
2022-10-13 18:21:08 +02:00
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< ? php if ( $module :: $resultTitle )
echo $module :: $resultTitle ;
?>
< ? php if ( $module :: $resultList )
echo '<p>' . $module :: $resultList . '</p>' ;
?>
< ? php if ( $module :: $resultError )
echo '<p>' . $module :: $resultError . '</p>' ;
?>
</ div >
</ div >
< ? php echo template :: formClose (); ?>