Skip to content

Commit

Permalink
fixing badly indexed messages in awstats reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
vincib committed May 22, 2018
1 parent 177d76b commit f5e525d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions awstats/bureau/admin/aws_del.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
$r=$aws->delete_stats($val); $r=$aws->delete_stats($val);
$found=true; $found=true;
if ($r) { if ($r) {
$msg->raise('Ok', "aws", _("The statistics %s has been successfully deleted"),$r); $msg->raise('INFO', "aws", _("The statistics %s has been successfully deleted"),$r);
} }
} }
} }


if (!$found) { if (!$found) {
$msg->raise('Info', "aws", _("Please check the statistics set you want to delete")); $msg->raise('INFO', "aws", _("Please check the statistics set you want to delete"));
} }


include("aws_list.php"); include("aws_list.php");
Expand Down
2 changes: 1 addition & 1 deletion awstats/bureau/admin/aws_pass.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
$msg->raise('Error', "aws", _("Passwords do not match")); $msg->raise('Error', "aws", _("Passwords do not match"));
} else { } else {
if ($aws->change_pass($login,$pass)) { if ($aws->change_pass($login,$pass)) {
$msg->raise('Ok', "aws", _("Password successfuly updated")); $msg->raise('INFO', "aws", _("Password successfuly updated"));
include("aws_users.php"); include("aws_users.php");
exit(); exit();
} }
Expand Down
2 changes: 1 addition & 1 deletion awstats/bureau/admin/aws_useradd.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
$r=$aws->add_login($prefixe.(($login)?"_":"").$login,$pass); $r=$aws->add_login($prefixe.(($login)?"_":"").$login,$pass);


if ($r) { if ($r) {
$msg->raise('Ok', "aws", _("The Awstat account has been successfully created")); $msg->raise('INFO', "aws", _("The Awstat account has been successfully created"));
} }
} }


Expand Down
2 changes: 1 addition & 1 deletion awstats/bureau/admin/aws_userdel.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// Effacement du compte ftp $val // Effacement du compte ftp $val
$r=$aws->del_login($val); $r=$aws->del_login($val);
if ($r) { if ($r) {
$msg->raise('Ok', "aws", _("The awstat account %s has been successfully deleted"),$val); $msg->raise('INFO', "aws", _("The awstat account %s has been successfully deleted"),$val);
} }
} }
} }
Expand Down

0 comments on commit f5e525d

Please sign in to comment.