fixing badly indexed messages in awstats reporting
This commit is contained in:
parent
177d76bd85
commit
f5e525d8ad
|
@ -33,13 +33,13 @@ while (list($key,$val)=each($_POST)) {
|
||||||
$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");
|
||||||
|
|
|
@ -45,7 +45,7 @@ if ($confirm == 1) {
|
||||||
$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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@ if ($pass != $passconf) {
|
||||||
$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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ while (list($key,$val)=each($_POST)) {
|
||||||
// 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue