// This code is for attachments
echo " <tr>\n";
- echo " <TD WIDTH=50 BGCOLOR=\"$color[4]\" ALIGN=RIGHT>\n";
+ echo " <TD WIDTH=50 BGCOLOR=\"$color[4]\" VALIGN=TOP ALIGN=RIGHT>\n";
echo " <FONT FACE=\"Arial,Helvetica\">";
- echo " "._("Attach:")."</FONT>\n";
- echo " </TD><TD WIDTH=% BGCOLOR=\"$color[4]\" ALIGN=LEFT>\n";
+ echo " <SMALL><BR></SMALL>"._("Attach:")."</FONT>\n";
+ echo " </td><td width=% ALIGN=left>\n";
// echo " <INPUT TYPE=\"hidden\" name=\"MAX_FILE_SIZE\"\n";
// echo " value=\"10000\">\n";
echo " <INPUT NAME=\"attachfile\" TYPE=\"file\">\n";
- echo "   <input type=\"submit\" name=\"attach\"\n";
+ echo " <input type=\"submit\" name=\"attach\"\n";
echo " value=\"" . _("Add") ."\">\n";
- echo " <br>";
+ echo " </td>\n";
+ echo " </font>\n";
+ echo " </tr>\n";
if (isset($attachments) && count($attachments)>0) {
+ echo "</tr><tr><td width=50 align=right>\n";
+ echo "</td><td width=% align=left>";
while (list($localname, $remotename) = each($attachments)) {
echo "<input type=\"checkbox\" name=\"delete[]\" value=\"$localname\">\n";
echo "$remotename <input type=\"hidden\" name=\"attachments[$localname]\" value=\"$remotename\"><br>\n";
}
echo "<input type=\"submit\" name=\"do_delete\" value=\""._("Delete selected attachments")."\">\n";
-
+ echo "</td></tr>";
}
- echo " </td>\n";
- echo " </font>\n";
- echo " </tr>\n";
// End of attachment code
- echo " <TR><TD COLSPAN=2 ALIGN=CENTER><INPUT TYPE=SUBMIT NAME=send VALUE=\"";
- echo _("Send");
- echo "\"></TD></TR>\n";
-
echo " <TR>\n";
echo " <TD BGCOLOR=\"$color[4]\" COLSPAN=2>\n";
if ($use_signature == true)