2022-12-04 08:19:08 +01:00
|
|
|
<?php echo template::formOpen('searchForm');
|
2022-03-06 13:35:21 +01:00
|
|
|
// Lexique
|
2022-07-05 08:16:26 +02:00
|
|
|
include('./module/search/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_search.php');
|
2022-03-06 13:35:21 +01:00
|
|
|
?>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col10 offset1">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col9 verticalAlignMiddle">
|
|
|
|
<?php echo template::text('searchMotphraseclef', [
|
2022-07-05 08:16:26 +02:00
|
|
|
'placeholder' => $this->getData(['module', $this->getUrl(0), 'config', 'placeHolder']) ? $this->getData(['module', $this->getUrl(0), 'config', 'placeHolder']):$text['search_view']['index'][0],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => $module::$motclef
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<?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'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
2022-03-06 13:35:21 +01:00
|
|
|
<?php echo template::checkbox('searchMotentier', true, $this->getData(['module', $this->getUrl(0), 'config', 'nearWordText']), [
|
2022-01-31 09:10:49 +01:00
|
|
|
'checked' => $module::$motentier,
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php if ( $module::$resultTitle ): ?>
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-12-04 08:19:08 +01:00
|
|
|
<?php echo '<div class="blockTitle">'.$module::$resultTitle . '</div>'; ?>
|
2022-01-31 09:10:49 +01:00
|
|
|
<?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(); ?>
|