$j++;
}
parseEmail($s);
- if (isset($f)) echo "<nobr><tt><b>$f</b>$s</tt></nobr>";
+ if (isset($f)) {
+ echo "<nobr><tt><b>$f</b>$s</tt></nobr>";
+ }
}
echo "</td></tr></table>\n" .
'</body></html>';
/** FORMAT THE CC STRING **/
$i = 0;
if (isset ($message->header->cc[0]) && trim($message->header->cc[0])) {
- $cc_string = "";
+ $cc_string = '';
$cc_ary = $message->header->cc;
while ($i < count(decodeHeader($cc_ary))) {
$cc_ary[$i] = htmlspecialchars($cc_ary[$i]);
/** FORMAT THE BCC STRING **/
$i = 0;
if (isset ($message->header->bcc[0]) && trim($message->header->bcc[0])){
- $bcc_string = "";
+ $bcc_string = '';
$bcc_ary = $message->header->bcc;
while ($i < count(decodeHeader($bcc_ary))) {
$bcc_ary[$i] = htmlspecialchars($bcc_ary[$i]);
'</TD><TD WIDTH="33%" ALIGN="RIGHT">' .
'<SMALL>' .
'<A HREF="' . $base_uri . "src/compose.php?forward_id=$passed_id&forward_subj=$url_subj&".
- ($default_use_priority?"mailprio=$priority_level&":"")
+ ($default_use_priority?"mailprio=$priority_level&":'')
."mailbox=$urlMailbox&ent_num=$ent_num\"";
if ($compose_new_win == '1') {
echo 'TARGET="compose_window" onClick="comp_in_new()"';
_("Forward") .
'</A> | ' .
'<A HREF="' . $base_uri . "src/compose.php?send_to=$url_replyto&reply_subj=$url_subj&".
- ($default_use_priority?"mailprio=$priority_level&":"").
+ ($default_use_priority?"mailprio=$priority_level&":'').
"reply_id=$passed_id&mailbox=$urlMailbox&ent_num=$ent_num\"";
if ($compose_new_win == '1') {
echo 'TARGET="compose_window" onClick="comp_in_new()"';
_("Reply") .
'</A> | ' .
'<A HREF="' . $base_uri . "src/compose.php?send_to=$url_replytoall&send_to_cc=$url_replytoallcc&reply_subj=$url_subj&".
- ($default_use_priority?"mailprio=$priority_level&":"").
+ ($default_use_priority?"mailprio=$priority_level&":'').
"reply_id=$passed_id&mailbox=$urlMailbox&ent_num=$ent_num\"";
if ($compose_new_win == '1') {
echo 'TARGET="compose_window" onClick="comp_in_new()"';
if ($mdn_user_support) {
// debug gives you the capability to remove mdn-flags
- $MDNDebug = false;
+ // $MDNDebug = false;
$read = sqimap_run_command ($imapConnection, "FETCH $passed_id BODY.PEEK[HEADER.FIELDS (Disposition-Notification-To)]", true,
$response, $readmessage);
$MDN_to = substr($read[1], strpos($read[1], ' '));
if ( $MDN_flag_present && $supportMDN) {
$sendreceipt = 'removeMDN';
$url = "\"read_body.php?mailbox=$mailbox&passed_id=$passed_id&startMessage=$startMessage&show_more=$show_more&sendreceipt=$sendreceipt\"";
- $sendreceipt="";
+ $sendreceipt='';
+ /*
if ($MDNDebug ) {
echo '<TR>' .
"<TD BGCOLOR=\"$color[9]\" ALIGN=RIGHT VALIGN=TOP>" .
'</TD>' .
'</TR>' . "\n";
} else {
- echo '<TR>' .
- "<TD BGCOLOR=\"$color[9]\" ALIGN=RIGHT VALIGN=TOP>" .
- _("Read receipt") . ': ' .
- "</TD><TD BGCOLOR=\"$color[9]\" VALIGN=TOP colspan=2>" .
- '<B>'._("send").'</B>'.
- '</TD>' .
- '</TR>' . "\n";
+ */
+ echo '<TR>' .
+ "<TD BGCOLOR=\"$color[9]\" ALIGN=RIGHT VALIGN=TOP>" .
+ _("Read receipt") . ': ' .
+ "</TD><TD BGCOLOR=\"$color[9]\" VALIGN=TOP colspan=2>" .
+ '<B>'._("send").'</B>'.
+ '</TD>' .
+ '</TR>' . "\n";
+ /*
}
+ */
} // when deleted or draft flag is set don't offer to send a MDN response
else if ( ereg('\\Draft',$read[0] || ereg('\\Deleted',$read[0])) ) {
}
$sendreceipt = 'removeMDN';
$url = "\"read_body.php?mailbox=$mailbox&passed_id=$passed_id&startMessage=$startMessage&show_more=$show_more&sendreceipt=$sendreceipt\"";
- $sendreceipt="";
-
+ $sendreceipt='';
+ /*
if ($MDNDebug && $supportMDN) {
echo " <TR>\n" .
" <TD BGCOLOR=\"$color[9]\" ALIGN=RIGHT VALIGN=TOP>\n" .
' </TD>' . "\n" .
' </TR>' . "\n";
} else {
+ */
echo " <TR>\n" .
" <TD BGCOLOR=\"$color[9]\" ALIGN=RIGHT VALIGN=TOP>\n" .
" "._("Read receipt").": \n".
' <B>'._("send").'</B>'. "\n" .
' </TD>' . "\n" .
' </TR>' . "\n";
+ /*
}
+ */
}
elseif ($sendreceipt == 'removeMDN' ) {
ToggleMDNflag ( false );