diff --git a/bureau/admin/mail_undelete.php b/bureau/admin/mail_undelete.php index 69fff209..55a394f2 100644 --- a/bureau/admin/mail_undelete.php +++ b/bureau/admin/mail_undelete.php @@ -30,7 +30,7 @@ $fields = array ( getFields($fields); if ($mail->undelete($mail_id)) { - $email = $mail->is_it_my_mail($mail_id) + $email = $mail->is_it_my_mail($mail_id); $msg->raise("INFO", "mail", _("The email %s has been undeleted"), $email); } diff --git a/bureau/admin/nowebmail.php b/bureau/admin/nowebmail.php index 3d66821d..4c0b49ad 100644 --- a/bureau/admin/nowebmail.php +++ b/bureau/admin/nowebmail.php @@ -25,7 +25,7 @@ require_once("../class/config.php"); require_once("head.php"); -$msg->raise("INFO", "mail", _("There is currently no webmail configured. If you need one, contact your server administrator"); +$msg->raise("INFO", "mail", _("There is currently no webmail configured. If you need one, contact your server administrator")); include("index.php"); diff --git a/bureau/admin/piwik_useradmin.php b/bureau/admin/piwik_useradmin.php index 44c3e965..595d1f52 100755 --- a/bureau/admin/piwik_useradmin.php +++ b/bureau/admin/piwik_useradmin.php @@ -66,7 +66,8 @@ else { $api_data = $piwik->site_set_user_right($site_id, $user_name, $right); if ($api_data === FALSE) - $msg->raise("ERROR", "piwik", $api_data->message) + $msg->raise("ERROR", "piwik", $api_data->message); + $msg->raise("ERROR", "piwik", $api_data->message); else $msg->raise("INFO", "piwik", _('success')); } diff --git a/bureau/class/m_admin.php b/bureau/class/m_admin.php index b947b260..f5eaa50c 100644 --- a/bureau/class/m_admin.php +++ b/bureau/class/m_admin.php @@ -690,8 +690,8 @@ class m_admin { return false; } if ($db->next_record()) { - // TODO: put that string into gettext ! - $mail = << $L_FQDN, '%creator' => $db->Record['parentlogin'], '%uid' => $db->Record['uid'], diff --git a/src/mail_add.php b/src/mail_add.php index b77a5af2..490dee46 100644 --- a/src/mail_add.php +++ b/src/mail_add.php @@ -30,13 +30,13 @@ function usage() { global $argv; // putting {$argv[0]} or $argv[0] in the heredoc fails $wtfphp = $argv[0]; - $u = <<