2021-10-30 18:12:34 +02:00
< div id = " connectContainer " >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
2021-11-21 17:16:47 +01:00
< h4 > Sécurité de la connexion
2021-11-03 16:54:22 +01:00
< span id = " specialeHelpButton " class = " helpDisplayButton " >
2021-11-21 17:16:47 +01:00
< a href = " https://doc.zwiicms.fr/connexion " target = " _blank " >
2021-11-04 18:49:15 +01:00
< ? php echo template :: ico ( 'help' , 'left' ); ?>
</ a >
2021-11-03 16:54:22 +01:00
</ span >
</ h4 >
2021-10-30 12:31:24 +02:00
< div class = " row " >
2021-11-12 18:22:06 +01:00
< div class = " col3 " >
2021-10-30 18:36:43 +02:00
< ? php echo template :: checkbox ( 'connectCaptcha' , true , 'Captcha à la connexion' , [
2021-10-30 12:31:24 +02:00
'checked' => $this -> getData ([ 'config' , 'connect' , 'captcha' ])
2021-10-29 19:25:17 +02:00
]); ?>
2021-10-30 12:31:24 +02:00
</ div >
2021-11-12 18:22:06 +01:00
< div class = " col3 " >
2021-10-30 18:36:43 +02:00
< ? php echo template :: checkbox ( 'connectCaptchaStrong' , true , 'Captcha complexe' , [
2021-11-15 08:15:26 +01:00
'checked' => $this -> getData ([ 'config' , 'connect' , 'captchaStrong' ]),
2021-10-30 12:31:24 +02:00
'help' => 'Option recommandée pour sécuriser la connexion. S\'applique à tous les captchas du site. Le captcha simple se limite à une addition de nombres de 0 à 10. Le captcha complexe utilise quatre opérations de nombres de 0 à 20. Activation recommandée.'
]); ?>
</ div >
2021-11-12 18:22:06 +01:00
< div class = " col3 " >
< ? php echo template :: select ( 'connectCaptchaType' , $module :: $captchaTypes , [
'label' => 'Type de captcha' ,
'selected' => $this -> getData ([ 'config' , 'connect' , 'captchaType' ])
]); ?>
</ div >
< div class = " col3 " >
2021-10-30 18:36:43 +02:00
< ? php echo template :: checkbox ( 'connectAutoDisconnect' , true , 'Déconnexion automatique' , [
2021-10-30 18:48:33 +02:00
'checked' => $this -> getData ([ 'config' , 'connect' , 'autoDisconnect' ]),
2021-10-30 12:31:24 +02:00
'help' => 'Déconnecte les sessions ouvertes précédemment sur d\'autres navigateurs ou terminaux. Activation recommandée.'
]); ?>
</ div >
2021-10-29 19:25:17 +02:00
</ div >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col3 " >
2021-10-30 18:36:43 +02:00
< ? php echo template :: select ( 'connectAttempt' , $module :: $connectAttempt , [
2021-10-30 12:31:24 +02:00
'label' => 'Connexions successives' ,
'selected' => $this -> getData ([ 'config' , 'connect' , 'attempt' ])
]); ?>
</ div >
< div class = " col3 " >
2021-10-30 18:36:43 +02:00
< ? php echo template :: select ( 'connectTimeout' , $module :: $connectTimeout , [
2021-10-30 12:31:24 +02:00
'label' => 'Blocage après échecs' ,
'selected' => $this -> getData ([ 'config' , 'connect' , 'timeout' ])
]); ?>
</ div >
< div class = " col3 verticalAlignBottom " >
< label id = " helpBlacklist " > Liste noire :
< ? php echo template :: help (
' La liste noire énumère les tentatives de connexion à partir de comptes inexistants . Sont stockés : la date , l\ ' heure , le nom du compte et l\ ' IP .
Après le nombre de tentatives autorisées , l\ 'IP et le compte sont bloqués.' );
?>
</ label >
2021-10-30 18:36:43 +02:00
< ? php echo template :: button ( 'ConnectBlackListDownload' , [
2021-10-30 12:31:24 +02:00
'href' => helper :: baseUrl () . 'config/blacklistDownload' ,
'value' => 'Télécharger la liste' ,
'ico' => 'download'
]); ?>
</ div >
< div class = " col3 verticalAlignBottom " >
2021-10-30 18:36:43 +02:00
< ? php echo template :: button ( 'CnnectBlackListReset' , [
2021-10-30 12:31:24 +02:00
'class' => 'buttonRed' ,
'href' => helper :: baseUrl () . 'config/blacklistReset' ,
'value' => 'Réinitialiser la liste' ,
'ico' => 'cancel'
]); ?>
</ div >
2021-10-29 18:34:01 +02:00
</ div >
</ div >
2021-10-29 16:14:51 +02:00
</ div >
</ div >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
2021-11-03 16:54:22 +01:00
< h4 > Journalisation
< span id = " specialeHelpButton " class = " helpDisplayButton " >
2021-11-21 17:16:47 +01:00
< a href = " https://doc.zwiicms.fr/journalisation " target = " _blank " >
2021-11-04 18:49:15 +01:00
< ? php echo template :: ico ( 'help' , 'left' ); ?>
</ a >
2021-11-03 16:54:22 +01:00
</ span >
</ h4 >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col3 " >
2021-10-30 18:36:43 +02:00
< ? php echo template :: checkbox ( 'connectLog' , true , 'Activer la journalisation' , [
2021-10-30 12:31:24 +02:00
'checked' => $this -> getData ([ 'config' , 'connect' , 'log' ])
2021-10-29 16:14:51 +02:00
]); ?>
2021-10-30 12:31:24 +02:00
</ div >
< div class = " col3 " >
2021-10-30 18:36:43 +02:00
< ? php echo template :: select ( 'connectAnonymousIp' , $module :: $anonIP , [
2021-10-30 12:31:24 +02:00
'label' => 'Anonymat des adresses IP' ,
'selected' => $this -> getData ([ 'config' , 'connect' , 'anonymousIp' ]),
'help' => 'La réglementation française impose un anonymat de niveau 2'
]); ?>
</ div >
< div class = " col3 verticalAlignBottom " >
2021-10-30 18:12:34 +02:00
< ? php echo template :: button ( 'ConfigLogDownload' , [
2021-10-30 12:31:24 +02:00
'href' => helper :: baseUrl () . 'config/logDownload' ,
'value' => 'Télécharger le journal' ,
'ico' => 'download'
]); ?>
</ div >
< div class = " col3 verticalAlignBottom " >
2021-10-30 18:36:43 +02:00
< ? php echo template :: button ( 'ConnectLogReset' , [
2021-10-30 12:31:24 +02:00
'class' => 'buttonRed' ,
'href' => helper :: baseUrl () . 'config/logReset' ,
'value' => 'Réinitialiser le journal' ,
'ico' => 'cancel'
]); ?>
</ div >
2021-10-29 16:14:51 +02:00
</ div >
</ div >
</ div >
</ div >
2021-11-21 17:16:47 +01:00
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Cookies
< span id = " specialeHelpButton " class = " helpDisplayButton " >
< a href = " https://doc.zwiicms.fr/cookies " target = " _blank " >
< ? php echo template :: ico ( 'help' , 'left' ); ?>
</ a >
</ span >
</ h4 >
< div class = " row " >
< div class = " col6 " >
2021-11-25 11:05:05 +01:00
< ? php echo template :: checkbox ( 'configCookieConsent' , true , 'Message de consentement aux cookies' , [
2021-11-25 11:16:52 +01:00
'checked' => $this -> getData ([ 'config' , 'cookies' , 'cookieConsent' ]),
2021-11-25 11:05:05 +01:00
'help' => 'Activation obligatoire selon les lois françaises sauf si vous utilisez votre propre système de consentement.'
]); ?>
2021-11-21 17:16:47 +01:00
</ div >
</ div >
2021-11-25 11:05:05 +01:00
< div id = " cookieContainer " >
< div class = " row " >
< div class = " col12 " >
< ? php echo template :: textarea ( 'connectCookiesZwiiText' , [
'help' => 'Saisissez le message pour les cookies déposés par ZwiiCMS, nécessaires au fonctionnement et qui ne nécessitent pas de consentement.' ,
'label' => 'Cookies Zwii' ,
'value' => $this -> getData ([ 'config' , 'cookies' , 'cookiesZwiiText' ])
]); ?>
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< ? php echo template :: textarea ( 'connectCookiesGaText' , [
'help' => 'Saisissez le message pour les cookies déposés par Google Analytics, le consentement est requis.' ,
'label' => 'Cookies Google Analytics' ,
'value' => $this -> getData ([ 'config' , 'cookies' , 'cookiesGaText' ])
]); ?>
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< ? php echo template :: text ( 'connectCookiesTitleText' , [
'help' => 'Saisissez le titre de la fenêtre de gestion des cookies.' ,
'label' => 'Titre de la fenêtre' ,
'value' => $this -> getData ([ 'config' , 'cookies' , 'cookiesTitleText' ])
]); ?>
</ div >
</ div >
< div class = " row " >
< div class = " col6 " >
< ? php echo template :: text ( 'connectCookiesLinkMlText' , [
'help' => 'Saisissez le texte du lien vers les mentions légales.' ,
'label' => 'Lien vers mentions légales' ,
'value' => $this -> getData ([ 'config' , 'cookies' , 'cookiesLinkMlText' ])
]); ?>
</ div >
< div class = " col6 " >
< ? php echo template :: text ( 'connectCookiesCheckboxGaText' , [
'help' => 'Saisissez le texte de la case à cocher Google Analytics.' ,
'label' => 'Checkbox Google Analytics' ,
'value' => $this -> getData ([ 'config' , 'cookies' , 'cookiesCheckboxGaText' ])
]); ?>
</ div >
2021-11-21 17:16:47 +01:00
</ div >
</ div >
</ div >
</ div >
</ div >
2021-10-29 16:14:51 +02:00
</ div >