2022-03-01 19:41:31 +01:00
|
|
|
<div id="networkContainer" class="tabContent">
|
2021-10-30 12:31:24 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-09-13 09:46:03 +02:00
|
|
|
<h4><?php echo template::header('Paramètres');?>
|
2021-11-03 16:54:22 +01:00
|
|
|
<span id="specialeHelpButton" class="helpDisplayButton">
|
2022-03-01 19:41:31 +01:00
|
|
|
<a href="https://doc.zwiicms.fr/reseau" target="_blank" title="Cliquer pour consulter l'aide en ligne">
|
2022-08-27 10:17:43 +02:00
|
|
|
<?php echo template::ico('help', ['margin' => 'left']);?>
|
2021-11-04 18:49:15 +01:00
|
|
|
</a>
|
2021-11-03 16:54:22 +01:00
|
|
|
</span>
|
|
|
|
</h4>
|
2021-10-30 12:31:24 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
2021-10-30 18:59:58 +02:00
|
|
|
<?php echo template::select('configProxyType', $module::$proxyType, [
|
2021-10-30 12:31:24 +02:00
|
|
|
'label' => 'Type de proxy',
|
|
|
|
'selected' => $this->getData(['config', 'proxyType'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col8">
|
2021-10-30 18:59:58 +02:00
|
|
|
<?php echo template::text('configProxyUrl', [
|
2021-10-30 12:31:24 +02:00
|
|
|
'label' => 'Adresse du proxy',
|
|
|
|
'placeholder' => 'cache.proxy.fr',
|
|
|
|
'value' => $this->getData(['config', 'proxyUrl'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2021-10-30 18:59:58 +02:00
|
|
|
<?php echo template::text('configProxyPort', [
|
2021-10-30 12:31:24 +02:00
|
|
|
'label' => 'Port du proxy',
|
|
|
|
'placeholder' => '6060',
|
|
|
|
'value' => $this->getData(['config', 'proxyPort'])
|
2021-10-29 16:14:51 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-30 12:31:24 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-09-13 09:46:03 +02:00
|
|
|
<h4><?php echo template::header('SMTP');?>
|
2021-11-03 16:54:22 +01:00
|
|
|
<span id="specialeHelpButton" class="helpDisplayButton">
|
2022-01-07 10:22:08 +01:00
|
|
|
<a href="https://doc.zwiicms.fr/smtp" target="_blank" title="Cliquer pour consulter l'aide en ligne">
|
2022-08-27 10:17:43 +02:00
|
|
|
<?php echo template::ico('help', ['margin' => 'left']);?>
|
2021-11-04 18:49:15 +01:00
|
|
|
</a>
|
2021-11-03 16:54:22 +01:00
|
|
|
</span>
|
|
|
|
</h4>
|
2021-10-29 16:14:51 +02:00
|
|
|
<div class="row">
|
2021-10-30 12:31:24 +02:00
|
|
|
<div class="col12">
|
2021-10-30 18:59:58 +02:00
|
|
|
<?php echo template::checkbox('smtpEnable', true, 'Activer SMTP', [
|
2021-10-30 12:31:24 +02:00
|
|
|
'checked' => $this->getData(['config', 'smtp','enable']),
|
|
|
|
'help' => 'Paramètres à utiliser lorsque votre hébergeur ne propose pas la fonctionnalité d\'envoi de mail.'
|
|
|
|
]); ?>
|
2021-10-29 16:14:51 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-30 18:59:58 +02:00
|
|
|
<div id="smtpParam">
|
2021-10-29 16:14:51 +02:00
|
|
|
<div class="row">
|
2021-10-30 12:31:24 +02:00
|
|
|
<div class="col8">
|
2021-10-30 18:59:58 +02:00
|
|
|
<?php echo template::text('smtpHost', [
|
2021-10-30 12:31:24 +02:00
|
|
|
'label' => 'Adresse SMTP',
|
|
|
|
'placeholder' => 'smtp.fr',
|
|
|
|
'value' => $this->getData(['config', 'smtp','host'])
|
2021-10-29 16:14:51 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2021-10-30 12:31:24 +02:00
|
|
|
<div class="col2">
|
2021-10-30 18:59:58 +02:00
|
|
|
<?php echo template::text('smtpPort', [
|
2021-10-30 12:31:24 +02:00
|
|
|
'label' => 'Port SMTP',
|
|
|
|
'placeholder' => '589',
|
|
|
|
'value' => $this->getData(['config', 'smtp','port'])
|
2021-10-29 16:14:51 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2021-10-30 18:59:58 +02:00
|
|
|
<?php echo template::select('smtpAuth', $module::$SMTPauth, [
|
2021-10-30 12:31:24 +02:00
|
|
|
'label' => 'Authentification',
|
|
|
|
'selected' => $this->getData(['config', 'smtp','auth'])
|
2021-10-29 16:14:51 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-30 18:59:58 +02:00
|
|
|
<div id="smtpAuthParam">
|
2021-10-30 12:31:24 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col5">
|
2021-10-30 18:59:58 +02:00
|
|
|
<?php echo template::text('smtpUsername', [
|
2021-10-30 12:31:24 +02:00
|
|
|
'label' => 'Nom utilisateur',
|
|
|
|
'value' => $this->getData(['config', 'smtp','username' ])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col5">
|
2021-10-30 18:59:58 +02:00
|
|
|
<?php echo template::password('smtpPassword', [
|
2021-10-30 12:31:24 +02:00
|
|
|
'label' => 'Mot de passe',
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'value' => $this->getData(['config', 'smtp','username' ]) ? helper::decrypt ($this->getData(['config', 'smtp','username' ]),$this->getData(['config','smtp','password'])) : ''
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2021-10-30 18:59:58 +02:00
|
|
|
<?php echo template::select('smtpSecure', $module::$SMTPEnc , [
|
2021-10-30 12:31:24 +02:00
|
|
|
'label' => 'Sécurité',
|
|
|
|
'selected' => $this->getData(['config', 'smtp','secure'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-29 16:14:51 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|