2020-08-16 15:59:37 +02:00
< ? php echo template :: formOpen ( 'searchConfig' ); ?>
< div class = " row " >
< div class = " col2 " >
< ? php echo template :: button ( 'searchConfigBack' , [
'class' => 'buttonGrey' ,
'href' => helper :: baseUrl () . 'page/edit/' . $this -> getUrl ( 0 ),
'ico' => 'left' ,
'value' => 'Retour'
]); ?>
</ div >
< div class = " col2 offset8 " >
< ? php echo template :: submit ( 'searchConfigSubmit' ); ?>
</ div >
2020-08-16 10:43:09 +02:00
</ div >
2020-08-16 15:59:37 +02:00
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Paramètres </ h4 >
< div class = " row " >
2020-08-19 21:08:21 +02:00
< div class = " col3 " >
2020-08-19 18:46:00 +02:00
< ? php echo template :: text ( 'searchKeywordColor' , [
'class' => 'colorPicker' ,
2020-08-19 21:08:21 +02:00
'help' => ' Cette couleur est commune à tous les modules de recherche. Le curseur horizontal règle le niveau de transparence.' ,
'label' => 'Mot-clef en évidence.' ,
'value' => $this -> getData ([ 'theme' , 'search' , 'keywordColor' ])
2020-08-19 18:46:00 +02:00
]); ?>
</ div >
2020-08-19 21:08:21 +02:00
< div class = " col3 " >
2020-08-16 15:59:37 +02:00
< ? php echo template :: text ( 'searchSubmitText' , [
2020-08-18 19:07:28 +02:00
'label' => 'Texte du bouton' ,
2020-08-19 21:08:21 +02:00
'value' => $this -> getData ([ 'module' , $this -> getUrl ( 0 ), 'submitText' ]) ? $this -> getData ([ 'module' , $this -> getUrl ( 0 ), 'submitText' ]) : 'Rechercher'
2020-08-16 15:59:37 +02:00
]); ?>
</ div >
2020-08-19 21:08:21 +02:00
< div class = " col6 " >
2020-08-16 15:59:37 +02:00
< ? php echo template :: text ( 'searchPlaceHolder' , [
2020-08-16 16:24:09 +02:00
'label' => 'Aide dans la zone de saisie' ,
2020-08-19 21:08:21 +02:00
'value' => $this -> getData ([ 'module' , $this -> getUrl ( 0 ), 'placeHolder' ]) ? $this -> getData ([ 'module' , $this -> getUrl ( 0 ), 'placeHolder' ]) : 'Un plusieurs mots-clés séparés par un espace ou par +'
2020-08-16 15:59:37 +02:00
]); ?>
</ div >
</ div >
2020-08-16 16:24:09 +02:00
< div class = " row " >
< div class = " col12 " >
< ? php echo template :: checkbox ( 'searchResultHideContent' , true , 'Résultats : masquer le contenu de la page' , [
'checked' => $this -> getData ([ 'module' , $this -> getUrl ( 0 ), 'resultHideContent' ]),
]); ?>
</ div >
</ div >
2020-08-16 15:59:37 +02:00
</ div >
</ div >
</ div >
< ? php echo template :: formClose (); ?>
< div class = " moduleVersion " > Version n°
< ? php echo $module :: SEARCH_VERSION ; ?>
2020-08-16 10:43:09 +02:00
</ div >