2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::formOpen('redirectionConfig'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('redirectionConfigBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset8">
|
|
|
|
<?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://',
|
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'url'])
|
|
|
|
]); ?>
|
2019-12-01 16:24:38 +01:00
|
|
|
<?php echo template::checkbox('redirectionConfigOpenIn', true , 'Ouvrir dans une popup intégrée', [
|
|
|
|
'checked' => $this->getData(['module', $this->getUrl(0), 'openIn'])
|
|
|
|
]);
|
|
|
|
?>
|
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,
|
|
|
|
'label' => 'Nombre de redirection',
|
|
|
|
'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°
|
2019-02-14 15:17:03 +01:00
|
|
|
<?php echo $module::REDIRECTION_VERSION; ?>
|
2019-02-14 17:54:02 +01:00
|
|
|
</div>
|