2022-03-18 07:50:13 +01:00
< ? php
// Lexique
$text = [];
$val = $this -> getData ([ 'config' , 'i18n' , 'langAdmin' ]);
switch ( $val ) {
case 'fr' :
$text [ 0 ] = 'Retour' ;
$text [ 1 ] = 'Aide' ;
$text [ 2 ] = 'Enregistrer' ;
$text [ 3 ] = 'module/statislite/view/advanced/advanced.help.html' ;
$text [ 4 ] = 'Filtrage des IP' ;
$text [ 5 ] = 'Liste des adresses IP filtrées' ;
$text [ 6 ] = 'IP à filtrer' ;
$text [ 7 ] = 'Saisir une adresse IP V4 au format décimal pointé, celle qui apparaît par défaut est votre adresse IP.' ;
$text [ 8 ] = 'Ajouter à la liste' ;
$text [ 9 ] = 'Cochez pour ajouter l\'adresse IP saisie à la liste' ;
$text [ 10 ] = 'Cochez pour supprimer de la liste l\'adresse IP saisie' ;
$text [ 11 ] = 'Filtrage des pages' ;
$text [ 12 ] = 'Filtrage des robots' ;
$text [ 13 ] = 'Liste des pages à exclure' ;
$text [ 14 ] = 'Les pages ajoutées à la liste seront exclues des statistiques' ;
$text [ 15 ] = 'Page à filtrer' ;
$text [ 16 ] = 'Ajouter à la liste' ;
$text [ 17 ] = 'Cochez pour ajouter la page saisie à la liste' ;
$text [ 18 ] = 'Supprimer de la liste' ;
$text [ 19 ] = 'Cochez pour supprimer de la liste la page saisie' ;
$text [ 20 ] = 'Liste des robots à exclure' ;
$text [ 21 ] = 'Robot à filtrer' ;
$text [ 22 ] = 'Les robots sont filtrés grâce à un fichier complexe fourni avec le module. S\'il s\'avérait insuffisant vous pouvez ajouter ici des robots à filtrer.' ;
$text [ 23 ] = 'Ajouter à la liste' ;
$text [ 24 ] = 'Cochez pour ajouter le robot saisi à la liste' ;
$text [ 25 ] = 'Supprimer de la liste' ;
$text [ 26 ] = 'Cochez pour supprimer de la liste le robot' ;
$text [ 27 ] = 'Module Statislite version n°' ;
break ;
case 'en' :
$text [ 0 ] = 'Back' ;
$text [ 1 ] = 'Help' ;
$text [ 2 ] = 'Submit' ;
$text [ 3 ] = 'module/statislite/view/advanced/advanced.help_en.html' ;
$text [ 4 ] = 'IP filtering' ;
$text [ 5 ] = 'List of filtered IP addresses' ;
$text [ 6 ] = 'IP to filter' ;
$text [ 7 ] = 'Enter a V4 IP address in dotted decimal format, the default is your IP address' ;
$text [ 8 ] = 'Add to list' ;
$text [ 9 ] = 'Check to add the entered IP address to the list' ;
$text [ 10 ] = 'Check to remove the entered IP address from the list' ;
$text [ 11 ] = 'Filter pages' ;
$text [ 12 ] = 'Robot filtering' ;
$text [ 13 ] = 'List of pages to exclude' ;
$text [ 14 ] = 'Pages added to the list will be excluded from the statistics' ;
$text [ 15 ] = 'Page to filter' ;
$text [ 16 ] = 'Add to list' ;
$text [ 17 ] = 'Check to add the entered page to the list' ;
$text [ 18 ] = 'Remove from list' ;
$text [ 19 ] = 'Check to remove the entered page from the list' ;
$text [ 20 ] = 'List of robots to exclude' ;
$text [ 21 ] = 'Robot to filter' ;
$text [ 22 ] = 'Robots are filtered using a complex file provided with the module. If it is insufficient you can add robots to be filtered here' ;
$text [ 23 ] = 'Add to list' ;
$text [ 24 ] = 'Check to add the entered robot to the list' ;
$text [ 25 ] = 'Remove from list' ;
$text [ 26 ] = 'Check to remove the robot from the list' ;
$text [ 27 ] = 'Statislite module version #' ;
break ;
}
?>
2022-01-31 09:10:49 +01:00
< ? php echo template :: formOpen ( 'advancedForm' ); ?>
< div class = " row " >
< div class = " col2 " >
< ? php echo template :: button ( 'statisliteAdvancedBack' , [
'class' => 'buttonGrey' ,
'href' => helper :: baseUrl () . $this -> getUrl ( 0 ),
'ico' => 'left' ,
2022-03-18 07:50:13 +01:00
'value' => $text [ 0 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col2 " >
< ? php echo template :: button ( 'addonIndexHelp' , [
'class' => 'buttonHelp' ,
'ico' => 'help' ,
2022-03-18 07:50:13 +01:00
'value' => $text [ 1 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col2 offset6 " >
2022-03-18 07:50:13 +01:00
< ? php echo template :: submit ( 'statisliteAdvancedSubmit' ,[
'value' => $text [ 2 ]
]); ?>
2022-01-31 09:10:49 +01:00
</ div >
</ div >
<!-- Aide à propos de la configuration de Statislite , view advanced -->
< div class = " helpDisplayContent " >
2022-03-18 07:50:13 +01:00
< ? php echo file_get_contents ( $text [ 3 ]) ; ?>
2022-01-31 09:10:49 +01:00
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
2022-03-18 07:50:13 +01:00
< h4 >< ? php echo $text [ 4 ]; ?> </h4>
2022-01-31 09:10:49 +01:00
< div class = " row " >
< div class = " col4 " >
< ? php echo template :: textarea ( 'statisliteAdvancedIP' ,[
'value' => $module :: $listeIP ,
2022-03-18 07:50:13 +01:00
'help' => $text [ 5 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col4 " >
< div class = " row " >
< ? php echo template :: text ( 'statisliteEditIP' , [
'autocomplete' => 'off' ,
2022-03-18 07:50:13 +01:00
'label' => $text [ 6 ],
'help' => $text [ 7 ],
2022-01-31 09:10:49 +01:00
'value' => $module :: $yourIP
]); ?>
</ div >
< div class = " row statisliteCheckboxAddIP " >
2022-03-18 07:50:13 +01:00
< ? php echo template :: checkbox ( 'statisliteAddIp' , true , $text [ 8 ], [
2022-01-31 09:10:49 +01:00
'checked' => false ,
2022-03-18 07:50:13 +01:00
'help' => $text [ 9 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< ? php if ( $module :: $listeIP !== " " ){ ?>
< div class = " row statisliteSupCheckboxIP " >
< ? php echo template :: checkbox ( 'statisliteSupIp' , true , 'Supprimer de la liste' , [
'checked' => false ,
2022-03-18 07:50:13 +01:00
'help' => $text [ 10 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< ? php } ?>
</ div >
</ div >
</ div >
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
2022-03-18 07:50:13 +01:00
< h4 >< ? php echo $text [ 11 ]; ?> </h4>
2022-01-31 09:10:49 +01:00
< div class = " row " >
< div class = " col4 " >
< ? php echo template :: textarea ( 'statisliteAdvancedQS' ,[
'value' => $module :: $listeQS ,
2022-03-18 07:50:13 +01:00
'help' => $text [ 13 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col4 " >
< div class = " row " >
< ? php echo template :: select ( 'statisliteEditQS' , $module :: $listePages ,[
2022-03-18 07:50:13 +01:00
'help' => $text [ 14 ],
'label' => $text [ 15 ],
2022-01-31 09:10:49 +01:00
'selected' => $module :: $listePages [ 0 ]
]); ?>
</ div >
< div class = " row statisliteCheckboxAddQS " >
2022-03-18 07:50:13 +01:00
< ? php echo template :: checkbox ( 'statisliteAddQS' , true , $text [ 16 ], [
2022-01-31 09:10:49 +01:00
'checked' => false ,
2022-03-18 07:50:13 +01:00
'help' => $text [ 17 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< ? php if ( $module :: $listeQS !== " " ){ ?>
< div class = " row statisliteSupCheckboxQS " >
2022-03-18 07:50:13 +01:00
< ? php echo template :: checkbox ( 'statisliteSupQS' , true , $text [ 18 ], [
2022-01-31 09:10:49 +01:00
'checked' => false ,
2022-03-18 07:50:13 +01:00
'help' => $text [ 19 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< ? php } ?>
</ div >
</ div >
</ div >
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
2022-03-18 07:50:13 +01:00
< h4 >< ? php echo $text [ 12 ]; ?> </h4>
2022-01-31 09:10:49 +01:00
< div class = " row " >
< div class = " col4 " >
< ? php echo template :: textarea ( 'statisliteAdvancedBot' ,[
'value' => $module :: $listeBot ,
2022-03-18 07:50:13 +01:00
'help' => $text [ 20 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col4 " >
< div class = " row " >
< ? php echo template :: text ( 'statisliteEditBot' , [
2022-03-18 07:50:13 +01:00
'label' => $text [ 21 ],
'help' => $text [ 22 ],
2022-01-31 09:10:49 +01:00
'value' => ''
]); ?>
</ div >
< div class = " row statisliteCheckboxAddBot " >
2022-03-18 07:50:13 +01:00
< ? php echo template :: checkbox ( 'statisliteAddBot' , true , $text [ 23 ], [
2022-01-31 09:10:49 +01:00
'checked' => false ,
2022-03-18 07:50:13 +01:00
'help' => $text [ 24 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< ? php if ( $module :: $listeBot !== " " ){ ?>
< div class = " row statisliteSupCheckboxBot " >
2022-03-18 07:50:13 +01:00
< ? php echo template :: checkbox ( 'statisliteSupBot' , true , $text [ 25 ], [
2022-01-31 09:10:49 +01:00
'checked' => false ,
2022-03-18 07:50:13 +01:00
'help' => $text [ 26 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< ? php } ?>
</ div >
</ div >
</ div >
</ div >
</ div >
< ? php echo template :: formClose (); ?>
2022-03-18 07:50:13 +01:00
< div class = " moduleVersion " >
< ? php echo $text [ 27 ]; echo $module :: VERSION ; ?>
2022-01-31 09:10:49 +01:00
</ div >