ZwiiCMS/module/search/view/index/index.php

40 lines
1.7 KiB
PHP
Raw Normal View History

2020-08-14 15:24:14 +02:00
<?php echo template::formOpen('searchForm'); ?>
<div class="row">
<div class="col10 offset1">
<div class="row">
2020-08-16 15:59:37 +02:00
<div class="col9 verticalAlignMiddle">
2021-01-13 18:47:30 +01:00
<?php echo template::text('searchMotphraseclef', [
2021-04-05 15:32:04 +02:00
'placeholder' => isset($_COOKIE['ZWII_I18N_SITE'] ) ? $this->getData(['module', $this->getUrl(0), 'config', 'placeHolder']):'Un ou plusieurs mots clef séparés par un espace',
2020-08-16 16:24:09 +02:00
'value' => $module::$motclef
2020-08-14 15:24:14 +02:00
]); ?>
</div>
2020-08-16 15:59:37 +02:00
<div class="col3 verticalAlignMiddle">
2020-08-14 15:24:14 +02:00
<?php echo template::submit('pageEditSubmit', [
2021-04-05 15:32:04 +02:00
'value' => $this->getData(['module', $this->getUrl(0), 'config', 'submitText'])
2020-08-14 15:24:14 +02:00
]); ?>
</div>
</div>
<div class="row">
<div class="col12">
<?php echo template::checkbox('searchMotentier', true, 'Mots approchants', [
2020-08-25 21:01:10 +02:00
'checked' => $module::$motentier,
2020-08-14 15:24:14 +02:00
]); ?>
</div>
</div>
</div>
2020-08-19 18:16:49 +02:00
</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>
2020-08-16 15:59:37 +02:00
</div>
2020-08-19 18:16:49 +02:00
<?php endif; ?>
2020-08-14 15:24:14 +02:00
<?php echo template::formClose(); ?>