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 " >
< h4 > Sécurité de la connexion </ h4 >
< div class = " row " >
< div class = " col4 " >
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 >
< div class = " col4 " >
2021-10-30 18:36:43 +02:00
< ? php echo template :: checkbox ( 'connectCaptchaStrong' , true , 'Captcha complexe' , [
2021-10-30 12:31:24 +02:00
'checked' => $this -> getData ([ 'config' , 'captchaStrong' ]),
'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 >
< div class = " col4 " >
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 " >
< h4 > Journalisation </ h4 >
< 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 >
</ div >