\n" if ($access{'add'});
+
+ if (scalar @config >= 2 && $access{'view'}) {
+ print "$text{'index_viewall'}
\n";
+ }
+
+ print "
\n";
print "
";
- print "
$text{'index_path'}
";
- print "
$text{'index_create'}
";
- #print "
$text{'index_databasesize'}
";
- print "
$text{'index_update'}
";
- print "
$text{'index_view'}
\n";
+ print "
$text{'index_path'}
";
+ print "
$text{'index_create'}
";
+ print "
$text{'index_update'}
";
+ print "
$text{'index_view'}
";
+ print "\n";
print "
$text{'index_scheduled'}
$text{'index_now'}
\n";
}
# Config file line
- local @files = &all_config_files($l);
- next if (!@files);
+ #local @files = &all_config_files($l);
+ #next if (!@files);
local $lconf = &get_config($l);
my $conf=""; my $dir="";
if ($l =~ /awstats\.(.*)\.conf$/) { $conf=$1; }
@@ -194,15 +201,13 @@ if (@config) {
print "\n";
}
- if ($nbofallowedconffound > 0) { print "
\n"; }
+ if ($nbofallowedconffound > 0) { print "
\n"; }
}
if (! $nbofallowedconffound) {
- print "
$text{'index_noconfig'}
\n";
+ print "
$text{'index_noconfig'}
\n";
}
-print "$text{'index_add'} \n" if ($access{'add'});
-
print "\n";
&footer("/", $text{'index'});
diff --git a/tools/webmin/awstats/lang/en b/tools/webmin/awstats/lang/en
index 6ed2c40d..dc41a5bd 100644
--- a/tools/webmin/awstats/lang/en
+++ b/tools/webmin/awstats/lang/en
@@ -32,6 +32,7 @@ index_hideadvanced=Hide optional directives
index_nodirallowed=Your user $1 has no allowed directory to read/store AWStats configuration files.
index_allowed=Your account $1 is allowed to view/edit config files into (or that are links to)
index_changeallowed=Permissions on directories into which you are allowed to scan/edit AWStats configuration files can be granted to you by a webmin administrator from the Webmin user ACL editor (Menu $1 then clic on $2)
+index_viewall=Show a summary of all available configurations
edit_title1=Add config File
edit_title2=Edit config File
@@ -63,8 +64,8 @@ update_run=Run update process with command
update_finished=Update process finished
update_wait=Please wait
-scheduled_title=Schedule statistic's update
-scheduled_ecannot=You are not allowed to update or schedule update process
+schedule_title=Schedule statistic's update
+schedule_ecannot=You are not allowed to update or schedule update process
log_create_log=Created AWStats config file $1
log_modify_log=Modified AWStats config file $1
@@ -84,4 +85,28 @@ help_title=Help page
help_subtitle=Help for config file parameter $1
help_subtitleplugin=Help for plugin $1
help_notfound=Parameter not found in your sample file $1. May be your AWStats version does not support it, so no help is available.
-help_help=Help
\ No newline at end of file
+help_help=Help
+help_starrequired=required parameters with no default value. They can't be empty.
+
+viewall_title=Summary for all configurations files
+viewall_notallowed=You don't have rights to see statisitics
+viewall_allowed=This page presents a summary of all configurations files found in directories allowed to user $1
+viewall_period=Period
+viewall_u=Unique visitors
+viewall_v=Visits
+viewall_p=Pages
+viewall_h=Hits
+viewall_k=Bandwith
+
+month01=January
+month02=February
+month03=Mars
+month04=April
+month05=May
+month06=June
+month07=July
+month08=August
+month09=September
+month10=October
+month11=November
+month12=December
\ No newline at end of file
diff --git a/tools/webmin/awstats/lang/fr b/tools/webmin/awstats/lang/fr
index fac7981d..7dc49bd1 100644
--- a/tools/webmin/awstats/lang/fr
+++ b/tools/webmin/awstats/lang/fr
@@ -31,6 +31,7 @@ index_hideadvanced=Cacher param
index_allowed=Votre login $1 est autorisé à voir/editer les fichiers de config dans (ou pointant vers)
index_nodirallowed=Votre compte $1 n'a aucun répertoire autorisé en lecture/écriture de fichier de configuration AWStats.
index_changeallowed=Les permissions des répertoires dans lesquels vous pouvez voir/éditer des fichiers de configuration AWStats peuvent vous être accordées par un administrateur Webmin via l'éditeur des ACL utilisateurs Webmin (Menu $1 puis clic sur $2)
+index_viewall=Voir un résumé pour toutes les configurations disponibles
edit_title1=Ajout d'un fichier de config
edit_title2=Edition d'un fichier de config
@@ -62,8 +63,8 @@ update_run=Lancement de la mise
update_finished=Mise a jour terminée
update_wait=Merci de patienter
-scheduled_title=Programmation de mise à jour
-scheduled_ecannot=Vous n'êtes pas autorisé à mettre à jour ou programmer une mise à jour des statistiques
+schedule_title=Programmation de mise à jour
+schedule_ecannot=Vous n'êtes pas autorisé à mettre à jour ou programmer une mise à jour des statistiques
log_create_log=Fichier de config AWStats $1 créé
log_modify_log=Fichier de config AWStats $1 modifié
@@ -83,4 +84,28 @@ help_title=Page d'aide
help_subtitle=Aide sur le paramètre de configuration $1
help_subtitleplugin=Aide sur le plugin $1
help_notfound=Paramètre non trouvé dans votre fichier de configuration modèle $1. Peut-être votre version d'AWStats ne le supporte pas, aussi aucune aide n'est disponible.
-help_help=Aide
\ No newline at end of file
+help_help=Aide
+help_starrequired=paramètres obligatoires sans valeurs par défaut. Ils ne peuvent etre vide.
+
+viewall_title=Résumé pour tout fichier de configuration
+viewall_notallowed=Vous n'avez pas les droits pour voir les stats
+viewall_allowed=Cette page présente un résumé de toutes les configurations trouvés dans les répertoires autorisés à l'utilisateur $1
+viewall_period=Période
+viewall_u=Visiteurs uniques
+viewall_v=Visites
+viewall_p=Pages
+viewall_h=Hits
+viewall_k=Bande passante
+
+month01=Janvier
+month02=Février
+month03=Mars
+month04=Avril
+month05=Mai
+month06=Juin
+month07=Juillet
+month08=Aout
+month09=Septembre
+month10=Octobre
+month11=Novembre
+month12=Décembre
\ No newline at end of file