2020-08-16 15:59:37 +02:00
|
|
|
<?php echo template::formOpen('searchConfig'); ?>
|
|
|
|
<div class="row">
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="col1">
|
2020-08-16 15:59:37 +02:00
|
|
|
<?php echo template::button('searchConfigBack', [
|
|
|
|
'class' => 'buttonGrey',
|
2024-04-23 17:42:00 +02:00
|
|
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0) . '/' . self::$siteContent,
|
2022-02-18 12:43:48 +01:00
|
|
|
'value' => template::ico('left')
|
2020-08-16 15:59:37 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="col2 offset9">
|
2020-08-16 15:59:37 +02:00
|
|
|
<?php echo template::submit('searchConfigSubmit'); ?>
|
|
|
|
</div>
|
2020-08-16 10:43:09 +02:00
|
|
|
</div>
|
2020-08-20 13:43:40 +02:00
|
|
|
<div class='row'>
|
2020-08-16 15:59:37 +02:00
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2023-01-19 14:58:07 +01:00
|
|
|
<h4><?php echo helper::translate('Paramètres'); ?></h4>
|
2020-08-16 15:59:37 +02:00
|
|
|
<div class="row">
|
2020-08-20 16:11:11 +02:00
|
|
|
<div class="col6">
|
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',
|
2021-04-05 08:59:24 +02:00
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'config', 'submitText'])
|
2020-08-16 15:59:37 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-08-20 16:11:11 +02:00
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('searchPreviewLength', $module::$previewLength, [
|
|
|
|
'label' => 'Dimension de l\'aperçu',
|
2021-04-05 08:59:24 +02:00
|
|
|
'selected' => $this->getData(['module', $this->getUrl(0), 'config', 'previewLength'])
|
2020-08-20 16:11:11 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
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',
|
2021-04-05 08:59:24 +02:00
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'config', 'placeHolder'])
|
2020-08-16 15:59:37 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-08-16 16:24:09 +02:00
|
|
|
<div class="col12">
|
2020-08-20 19:31:11 +02:00
|
|
|
<?php echo template::checkbox('searchResultHideContent', true, 'Masquer le contenu de la page dans les résultats', [
|
2021-04-05 08:59:24 +02:00
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'resultHideContent']),
|
2020-08-16 16:24:09 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-16 15:59:37 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-20 13:43:40 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-10-14 09:36:30 +02:00
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Thème'); ?>
|
2020-08-20 15:56:48 +02:00
|
|
|
</h4>
|
2020-08-20 13:43:40 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('searchKeywordColor', [
|
|
|
|
'class' => 'colorPicker',
|
2020-08-20 15:56:48 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence, le placer tout à la gauche pour un surlignement invisible.',
|
2020-08-20 13:43:40 +02:00
|
|
|
'label' => 'Surlignement',
|
2021-04-08 19:29:40 +02:00
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'theme', 'keywordColor'])
|
2020-08-20 13:43:40 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-16 15:59:37 +02:00
|
|
|
<?php echo template::formClose(); ?>
|
|
|
|
<div class="moduleVersion">Version n°
|
2021-02-09 18:04:24 +01:00
|
|
|
<?php echo $module::VERSION; ?>
|
2020-08-16 10:43:09 +02:00
|
|
|
</div>
|