Skip to content
Permalink
Browse files

fixing badly indexed messages in awstats reporting

  • Loading branch information...
vincib committed May 22, 2018
1 parent 177d76b commit f5e525d8ad762cad2f094df7614d71b1cec77926
@@ -33,13 +33,13 @@
$r=$aws->delete_stats($val);
$found=true;
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) {
$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");
@@ -45,7 +45,7 @@
$msg->raise('Error', "aws", _("Passwords do not match"));
} else {
if ($aws->change_pass($login,$pass)) {
$msg->raise('Ok', "aws", _("Password successfuly updated"));
$msg->raise('INFO', "aws", _("Password successfuly updated"));
include("aws_users.php");
exit();
}
@@ -38,7 +38,7 @@
$r=$aws->add_login($prefixe.(($login)?"_":"").$login,$pass);
if ($r) {
$msg->raise('Ok', "aws", _("The Awstat account has been successfully created"));
$msg->raise('INFO', "aws", _("The Awstat account has been successfully created"));
}
}
@@ -31,7 +31,7 @@
// Effacement du compte ftp $val
$r=$aws->del_login($val);
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);
}
}
}

0 comments on commit f5e525d

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.