2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::formOpen('redirectionConfig'); ?>
|
|
|
|
<div class="row">
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="col1">
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::button('redirectionConfigBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
2022-02-18 12:43:48 +01:00
|
|
|
'value' => template::ico('left')
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="col2 offset9">
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::submit('redirectionConfigSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Redirection</h4>
|
|
|
|
<?php echo template::text('redirectionConfigUrl', [
|
|
|
|
'label' => 'Lien de redirection',
|
|
|
|
'placeholder' => 'http://',
|
2020-05-08 10:00:05 +02:00
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'url']),
|
2023-01-17 14:21:36 +01:00
|
|
|
'help' => 'Le lien de redirection peut contenir une URL standard, ou pointer vers l\'ancre d\'une page du site'
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Statistiques</h4>
|
|
|
|
<?php echo template::text('redirectionConfigCount', [
|
|
|
|
'disabled' => true,
|
2022-10-03 18:27:39 +02:00
|
|
|
'label' => 'Nombre de redirections',
|
2018-04-02 08:29:19 +02:00
|
|
|
'value' => helper::filter($this->getData(['module', $this->getUrl(0), 'count']), helper::FILTER_INT)
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-02-14 15:17:03 +01:00
|
|
|
<?php echo template::formClose(); ?>
|
2019-11-26 19:09:12 +01:00
|
|
|
<div class="moduleVersion">Version n°
|
2021-02-09 18:04:24 +01:00
|
|
|
<?php echo $module::VERSION; ?>
|
2019-02-14 17:54:02 +01:00
|
|
|
</div>
|