}
}
- $location = get_location();
- echo "<base href=\"$location/\">" .
- '<table cols=1 cellspacing=0 width=100% border=0 cellpadding=2>'.
+ /* Base is illegal within documents
+ * $location = get_location();
+ * echo "<base href=\"$location/\">" . */
+ echo '<table cellspacing=0 width="100%" border=0 cellpadding=2>'.
'<tr>'.
- "<td bgcolor=\"$color[9]\" width=100% align=center><small>";
+ "<td bgcolor=\"$color[9]\" width=\"100%\" align=center><small>";
if ($prev > 0) {
- echo "<a href=\"read_body.php?passed_id=$prev&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0\">" . _("Previous") . "</A> | ";
+ echo "<a href=\"read_body.php?passed_id=$prev&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0\">" . _("Previous") . "</A> | \n";
} else {
echo _("Previous") . " | ";
}
if ($next > 0) {
- echo "<a href=\"read_body.php?passed_id=$next&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0\">" . _("Next") . "</A> | ";
+ echo "<a href=\"read_body.php?passed_id=$next&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0\">" . _("Next") . "</A> | \n";
} else {
echo _("Next") . " | ";
}
if ($prev > 0){
- echo "<a href=\"read_body.php?passed_id=$prev_if_del&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0&delete_id=$passed_id\">" . _("Delete & Prev") . "</a>" . " | ";
+ echo "<a href=\"read_body.php?passed_id=$prev_if_del&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0&delete_id=$passed_id\">" . _("Delete & Prev") . "</a>" . " | \n";
}
else {
echo _("Delete & Prev") . " | ";
}
if ($next > 0){
- echo "<a href=\"read_body.php?passed_id=$next_if_del&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0&delete_id=$passed_id\">" . _("Delete & Next") . "</a>";
+ echo "<a href=\"read_body.php?passed_id=$next_if_del&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0&delete_id=$passed_id\">" . _("Delete & Next") . "</a>\n";
} else {
echo _("Delete & Next");
}
$urlMailbox, $sort, $startMessage, $delete_id, $move_id,
$imapConnection;
- echo '<form action="read_body.php" method="post">'.
- '<tr>'.
- "<td bgcolor=\"$color[9]\" width=\"100%\" align=\"center\"><small>".
+ echo '<tr>'.
+ "<td bgcolor=\"$color[9]\" width=\"100%\" align=\"center\">".
+ '<form action="read_body.php" method="post"><small>'.
"<input type=\"hidden\" name=\"passed_id\" value=\"$next\">".
"<input type=\"hidden\" name=\"mailbox\" value=\"$urlMailbox\">".
"<input type=\"hidden\" name=\"sort\" value=\"$sort\">".
echo '</select> '.
'<input type="submit" value="' . _("Move") . '">'.
'</small>'.
+ '</form>'.
'</td>'.
- '</tr>' .
- '</form>';
+ '</tr>';
}
function delete_move_next_moveRightMainForm() {
$urlMailbox, $sort, $startMessage, $delete_id, $move_id,
$imapConnection;
- echo '<form action="right_main.php" method="post">' .
- '<tr>' .
- "<td bgcolor=\"$color[9]\" width=\"100%\" align=\"center\"><small>".
+ echo '<tr>' .
+ "<td bgcolor=\"$color[9]\" width=\"100%\" align=\"center\">".
+ '<form action="right_main.php" method="post"><small>' .
"<input type=\"hidden\" name=\"mailbox\" value=\"$urlMailbox\">".
"<input type=\"hidden\" name=\"sort\" value=\"$sort\">".
"<input type=\"hidden\" name=\"startMessage\" value=\"$startMessage\">".
echo ' </select>' .
'<input type=submit value="' . _("Move") . '">'.
'</small>'.
+ '</form>' .
'</td>'.
- '</tr>' .
- '</form>';
+ '</tr>';
}
}
-?>
\ No newline at end of file
+?>