From cb34dbd05b4107ceed9ceae9e78045585f342517 Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Thu, 6 Apr 2006 20:06:13 +0000 Subject: [PATCH] Remove unnecessary $color parameter from calls to plain_error_message() git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11041 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/compose.php b/src/compose.php index 5915bcc1..9e429b69 100644 --- a/src/compose.php +++ b/src/compose.php @@ -565,7 +565,7 @@ if ($send) { $_FILES['attachfile']['tmp_name'] && $_FILES['attachfile']['tmp_name'] != 'none') { if(saveAttachedFiles($session)) { - plain_error_message(_("Could not move/copy file. File not attached"), $color); + plain_error_message(_("Could not move/copy file. File not attached")); } } /* @@ -580,7 +580,7 @@ if ($send) { displayPageHeader($color, $mailbox); } if (saveAttachedFiles($session)) { - plain_error_message(_("Could not move/copy file. File not attached"), $color); + plain_error_message(_("Could not move/copy file. File not attached")); } showInputForm($session); } @@ -1424,7 +1424,7 @@ function checkInput ($show) { if ($send_to == '' && $send_to_bcc == '') { if ($show) { - plain_error_message(_("You have not filled in the \"To:\" field."), $color); + plain_error_message(_("You have not filled in the \"To:\" field.")); } return false; } @@ -1640,7 +1640,7 @@ function deliverMessage($composeMessage, $draft=false) { return $length; } else { $msg = '
'.sprintf(_("Error: Draft folder %s does not exist."), htmlspecialchars($draft_folder)); - plain_error_message($msg, $color); + plain_error_message($msg); return false; } } @@ -1659,7 +1659,7 @@ function deliverMessage($composeMessage, $draft=false) { _("Server replied:") . ' ' . $deliver->dlv_ret_nr . ' ' . nl2br(htmlspecialchars($deliver->dlv_server_msg)); } - plain_error_message($msg, $color); + plain_error_message($msg); } else { unset ($deliver); $move_to_sent = getPref($data_dir,$username,'move_to_sent'); @@ -1730,5 +1730,4 @@ function deliverMessage($composeMessage, $draft=false) { } return $success; } - ?> \ No newline at end of file -- 2.25.1