2022-03-06 13:35:21 +01:00
|
|
|
<?php
|
|
|
|
// Lexique
|
2022-07-05 08:16:26 +02:00
|
|
|
include('./module/redirection/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_redirection.php');
|
|
|
|
|
|
|
|
echo template::formOpen('redirectionConfig'); ?>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('redirectionConfigBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
|
|
|
'ico' => 'left',
|
2022-07-05 08:16:26 +02:00
|
|
|
'value' => $text['redirection_view']['config'][0]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-12-13 07:49:28 +01:00
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('redirectionIndexHelp', [
|
|
|
|
'class' => 'buttonHelp',
|
|
|
|
'ico' => 'help',
|
|
|
|
'value' => $text['redirection_view']['config'][8]
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset6">
|
2022-12-04 08:19:08 +01:00
|
|
|
<?php echo template::submit('redirectionConfigSubmit', [
|
2022-07-05 08:16:26 +02:00
|
|
|
'value' => $text['redirection_view']['config'][1]
|
2022-03-06 13:35:21 +01:00
|
|
|
]); ?>
|
2022-01-31 09:10:49 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-02-02 12:01:51 +01:00
|
|
|
<!-- Aide à propos de la configuration de redirection, view config -->
|
2022-12-13 07:49:28 +01:00
|
|
|
<div class="helpDisplayContent">
|
|
|
|
<?php echo file_get_contents( $text['redirection_view']['config'][9]) ;?>
|
|
|
|
</div>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
2022-12-04 08:19:08 +01:00
|
|
|
<div class="blockTitle"><?php echo $text['redirection_view']['config'][4]; ?></div>
|
2022-01-31 09:10:49 +01:00
|
|
|
<?php echo template::text('redirectionConfigUrl', [
|
2022-07-05 08:16:26 +02:00
|
|
|
'label' => $text['redirection_view']['config'][2],
|
2022-01-31 09:10:49 +01:00
|
|
|
'placeholder' => 'http://',
|
|
|
|
'value' => $this->getData(['module', $this->getUrl(0), 'url']),
|
2022-07-05 08:16:26 +02:00
|
|
|
'help' => $text['redirection_view']['config'][3]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
2022-12-04 08:19:08 +01:00
|
|
|
<div class="blockTitle"><?php echo $text['redirection_view']['config'][5]; ?></div>
|
2022-01-31 09:10:49 +01:00
|
|
|
<?php echo template::text('redirectionConfigCount', [
|
|
|
|
'disabled' => true,
|
2022-07-05 08:16:26 +02:00
|
|
|
'label' => $text['redirection_view']['config'][6],
|
2022-01-31 09:10:49 +01:00
|
|
|
'value' => helper::filter($this->getData(['module', $this->getUrl(0), 'count']), helper::FILTER_INT)
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|
2022-07-05 08:16:26 +02:00
|
|
|
<div class="moduleVersion"><?php echo $text['redirection_view']['config'][7].$module::VERSION; ?>
|
2022-12-04 08:19:08 +01:00
|
|
|
</div>
|