git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1802
7612ce4b-ef26-0410-bec9-
ea0150e637f0
'</TD></TR>'.
"<TR><TD BGCOLOR=\"$color[0]\">\n".
"<FORM name=messageList method=post action=\"$moveURL\">\n".
'</TD></TR>'.
"<TR><TD BGCOLOR=\"$color[0]\">\n".
"<FORM name=messageList method=post action=\"$moveURL\">\n".
- "<TABLE BGCOLOR=\"$color[0]\" COLS=2 BORDER=0 cellpadding=0 cellspacing=0 width=100%>\n".
+ "<TABLE BGCOLOR=\"$color[0]\" COLS=2 BORDER=0 cellpadding=0 cellspacing=0 width=\"100%\">\n".
" <TR>\n" .
" <TD ALIGN=LEFT VALIGN=CENTER NOWRAP>\n" .
' <SMALL> ' . _("Move selected to:") . "</SMALL>\n" .
" <TR>\n" .
" <TD ALIGN=LEFT VALIGN=CENTER NOWRAP>\n" .
' <SMALL> ' . _("Move selected to:") . "</SMALL>\n" .
$ret .= '<b>' . _("Title:") . " </b>$title<br>\n";
$ret .= "<TABLE";
$i += 5;
$ret .= '<b>' . _("Title:") . " </b>$title<br>\n";
$ret .= "<TABLE";
$i += 5;
- if (! isset($base))
- $base = '';
- $ret .= stripEvent( $i, $j, $body, $id, $base );
- $ret .= " bgcolor=$bgcolor width=100%><tr>";
+ if (! isset($base))
+ $base = '';
+ $ret .= stripEvent( $i, $j, $body, $id, $base );
+ $ret .= " bgcolor=$bgcolor width=\"100%\"><tr>";
if( $leftmargin <> '' )
$ret .= "<td width=$leftmargin> </td>";
$ret .= '<td>';
if( $leftmargin <> '' )
$ret .= "<td width=$leftmargin> </td>";
$ret .= '<td>';
- if (strtolower($bgcolor) == 'ffffff' ||
- strtolower($bgcolor) == '#ffffff')
- $ret .= '<font color=#000000>';
+ if (strtolower($bgcolor) == 'ffffff' ||
+ strtolower($bgcolor) == '#ffffff')
+ $ret .= '<font color=#000000>';
break;
case 'BASE':
$i += 5;
break;
case 'BASE':
$i += 5;
if ($target != '')
$target = " target=\"$target\"";
if ($target != '')
$target = " target=\"$target\"";
echo '<a href="'.$base_uri.$path.'"'.$target.'>'.$text.'</a>';
}
echo '<a href="'.$base_uri.$path.'"'.$target.'>'.$text.'</a>';
}
/** Here is the header and wrapping table **/
$shortBoxName = readShortMailboxName($mailbox, $delimiter);
echo "<A NAME=pagetop></A>\n".
/** Here is the header and wrapping table **/
$shortBoxName = readShortMailboxName($mailbox, $delimiter);
echo "<A NAME=pagetop></A>\n".
- // "<table cellpadding=1 cellspacing=1 BGCOLOR=\"$color[4]\" width=100%><tr><td>".
"<TABLE BGCOLOR=\"$color[4]\" BORDER=0 WIDTH=\"100%\" CELLSPACING=0 CELLPADDING=2>\n".
" <TR BGCOLOR=\"$color[9]\" >\n".
" <TD ALIGN=left><b>\n";
"<TABLE BGCOLOR=\"$color[4]\" BORDER=0 WIDTH=\"100%\" CELLSPACING=0 CELLPADDING=2>\n".
" <TR BGCOLOR=\"$color[9]\" >\n".
" <TD ALIGN=left><b>\n";
function Mail_Fetch_Status($msg) {
function Mail_Fetch_Status($msg) {
- echo '<table width=90%><tr><td>' .
+ echo '<table width="90%"><tr><td>' .
htmlspecialchars( $msg ) .
'</td></tr></table>';
flush();
htmlspecialchars( $msg ) .
'</td></tr></table>';
flush();
$pop3 = new POP3($mailfetch_server, 60);
$pop3 = new POP3($mailfetch_server, 60);
- echo "<br><table width=90%><tr bgcolor=\"$color[9]\"><td><b>" .
+ echo "<br><table width=\"90%\"><tr bgcolor=\"$color[9]\"><td><b>" .
_("Fetching from ") .
(($mailfetch_alias_[$i_loop] == '')?$mailfetch_server:$mailfetch_alias_[$i_loop]) .
"</b></td></tr></table>";
_("Fetching from ") .
(($mailfetch_alias_[$i_loop] == '')?$mailfetch_server:$mailfetch_alias_[$i_loop]) .
"</b></td></tr></table>";
if (isset($view_hdr)) {
fputs ($imapConnection, sqimap_session_id() . " FETCH $passed_id BODY[HEADER]\r\n");
if (isset($view_hdr)) {
fputs ($imapConnection, sqimap_session_id() . " FETCH $passed_id BODY[HEADER]\r\n");
- $read = sqimap_read_data ($imapConnection, sqimap_session_id(), true, $a, $b);
-
+ $read = sqimap_read_data ($imapConnection, sqimap_session_id(), true, $a, $b);
+
echo '<BR>' .
'<TABLE WIDTH="100%" CELLPADDING="2" CELLSPACING="0" BORDER="0" ALIGN="CENTER">' . "\n" .
echo '<BR>' .
'<TABLE WIDTH="100%" CELLPADDING="2" CELLSPACING="0" BORDER="0" ALIGN="CENTER">' . "\n" .
- " <TR><TD BGCOLOR=\"$color[9]\" WIDTH=100%><CENTER><B>" . _("Viewing Full Header") . '</B> - ';
+ " <TR><TD BGCOLOR=\"$color[9]\" WIDTH=\"100%\"><CENTER><B>" . _("Viewing Full Header") . '</B> - ';
if (isset($where) && isset($what)) {
// Got here from a search
echo "<a href=\"read_body.php?mailbox=".urlencode($mailbox)."&passed_id=$passed_id&where=".urlencode($where)."&what=".urlencode($what).'">';
if (isset($where) && isset($what)) {
// Got here from a search
echo "<a href=\"read_body.php?mailbox=".urlencode($mailbox)."&passed_id=$passed_id&where=".urlencode($where)."&what=".urlencode($what).'">';
RemoveAddress($url_replytoall_extra_addrs, $cur_email_address);
}
}
RemoveAddress($url_replytoall_extra_addrs, $cur_email_address);
}
}
// 7) Smoosh back into one nice line
$url_replytoallcc = getLineOfAddrs($url_replytoall_extra_addrs);
// 7) Smoosh back into one nice line
$url_replytoallcc = getLineOfAddrs($url_replytoall_extra_addrs);
'</TABLE>';
flush();
echo "<TABLE CELLSPACING=0 WIDTH=97% BORDER=0 ALIGN=CENTER CELLPADDING=0>\n" .
'</TABLE>';
flush();
echo "<TABLE CELLSPACING=0 WIDTH=97% BORDER=0 ALIGN=CENTER CELLPADDING=0>\n" .
- " <TR><TD BGCOLOR=\"$color[4]\" WIDTH=100%>\n" .
+ " <TR><TD BGCOLOR=\"$color[4]\" WIDTH=\"100%\">\n" .
$body = formatBody($imapConnection, $message, $color, $wrap_at);
echo $body .
$body = formatBody($imapConnection, $message, $color, $wrap_at);
echo $body .
echo ' <tr><td align=center>';
echo "<FORM ACTION=\"search.php\" NAME=s>\n";
echo ' <tr><td align=center>';
echo "<FORM ACTION=\"search.php\" NAME=s>\n";
- echo " <TABLE WIDTH=75%>\n";
+ echo " <TABLE WIDTH=\"75%\">\n";
- echo " <TD WIDTH=33%>\n";
+ echo " <TD WIDTH=\"33%\">\n";
echo ' <TT><SMALL><SELECT NAME="mailbox">';
$boxes = sqimap_mailbox_list($imapConnection);
for ($i = 0; $i < count($boxes); $i++) {
echo ' <TT><SMALL><SELECT NAME="mailbox">';
$boxes = sqimap_mailbox_list($imapConnection);
for ($i = 0; $i < count($boxes); $i++) {
- if (!in_array('noselect', $boxes[$i]['flags'])) {
+ if (!in_array('noselect', $boxes[$i]['flags'])) {
$box = $boxes[$i]['unformatted'];
$box = $boxes[$i]['unformatted'];
- $box2 = str_replace(' ', ' ', $boxes[$i]['unformatted-disp']);
+ $box2 = str_replace(' ', ' ', $boxes[$i]['unformatted-disp']);
- echo " <OPTION VALUE=\"$box\" SELECTED>$box2\n";
+ echo " <OPTION VALUE=\"$box\" SELECTED>$box2</OPTION>\n";
- echo " <OPTION VALUE=\"$box\">$box2\n";
+ echo " <OPTION VALUE=\"$box\">$box2</OPTION>\n";
}
}
echo ' </SELECT></SMALL></TT>';
echo " </TD>\n";
}
}
echo ' </SELECT></SMALL></TT>';
echo " </TD>\n";
- echo " <TD ALIGN=\"CENTER\" WIDTH=33%>\n";
+ echo " <TD ALIGN=\"CENTER\" WIDTH=\"33%\">\n";
if (!isset($what))
$what = '';
$what_disp = ereg_replace(',', ' ', $what);
if (!isset($what))
$what = '';
$what_disp = ereg_replace(',', ' ', $what);
$what_disp = str_replace('"', '"', $what_disp);
echo " <INPUT TYPE=\"TEXT\" SIZE=\"20\" NAME=\"what\" VALUE=\"$what_disp\">\n";
echo ' </TD>';
$what_disp = str_replace('"', '"', $what_disp);
echo " <INPUT TYPE=\"TEXT\" SIZE=\"20\" NAME=\"what\" VALUE=\"$what_disp\">\n";
echo ' </TD>';
- echo " <TD ALIGN=\"RIGHT\" WIDTH=33%>\n";
+ echo " <TD ALIGN=\"RIGHT\" WIDTH=\"33%\">\n";
echo ' <SELECT NAME="where">';
if (isset($where) && $where == 'BODY') echo ' <OPTION VALUE="BODY" SELECTED>'._("Body")."\n";
echo ' <SELECT NAME="where">';
if (isset($where) && $where == 'BODY') echo ' <OPTION VALUE="BODY" SELECTED>'._("Body")."\n";