diff --git a/apps/susimail/src/src/i2p/susi/webmail/WebMail.java b/apps/susimail/src/src/i2p/susi/webmail/WebMail.java index b6ef27ffa..ed4c4d454 100644 --- a/apps/susimail/src/src/i2p/susi/webmail/WebMail.java +++ b/apps/susimail/src/src/i2p/susi/webmail/WebMail.java @@ -198,7 +198,7 @@ public class WebMail extends HttpServlet private static final String CONFIG_THEME = "theme"; private static final String DEFAULT_THEME = "light"; - private static final String spacer = "   "; + private static final String spacer = ""; /* this is best done with css */ private static final String thSpacer = " \n"; static { @@ -1778,7 +1778,7 @@ public class WebMail extends HttpServlet showConfig(out, sessionObject); //out.println( "

susimail v0." + version +" " + ( RELEASE ? "release" : "development" ) + " © 2004-2005 susi

\n"); - out.println( "

susimail © 2004-2005 susi

\n"); + out.println( "

susimail © 2004-2005 susi

\n"); out.flush(); } } @@ -2113,11 +2113,9 @@ public class WebMail extends HttpServlet "" + _t("Bcc") + ":\n" + "" + _t("Bcc to self") + ": \n" + "" + _t("Subject") + ":\n" + - "" + + "" + "
\n" + - "" + _t("Add Attachment") + ":" + - // TODO disable/hide in JS if no file selected - " " + button(NEW_UPLOAD, _t("Add another attachment")) + ""); + "" + _t("Add Attachment") + ": " + button(NEW_UPLOAD, _t("Add another attachment")) + ""); if( sessionObject.attachments != null && !sessionObject.attachments.isEmpty() ) { boolean wroteHeader = false; @@ -2162,17 +2160,15 @@ public class WebMail extends HttpServlet "" + _t("SMTP Port") + "\n"); } out.println( - " \n" + - "" + button( LOGIN, _t("Login") ) + spacer + + "
\n" + + "" + button( LOGIN, _t("Login") ) + spacer + button(OFFLINE, _t("Read Mail Offline") ) + //spacer + //" " + spacer + button(CONFIGURE, _t("Settings")) + "\n" + - " \n" + - "" + _t("Learn about I2P mail") + "\n" + - "" + _t("Create Account") + "\n" + + "
" + _t("Learn about I2P mail") + " | " + _t("Create Account") + "\n" + ""); } @@ -2267,7 +2263,7 @@ public class WebMail extends HttpServlet if (i == 0) out.println("
" + _t("No messages") + "
\n"); if (i > 0) { - out.println( "
"); + out.println( ""); if (sessionObject.folder.getPages() > 1 && i > 30) { // show the buttons again if page is big out.println(""); @@ -2308,16 +2304,18 @@ public class WebMail extends HttpServlet */ private static void showPageButtons(PrintWriter out, Folder folder) { out.println( - "
" + + "
" + ( folder.isFirstPage() ? button2( FIRSTPAGE, _t("First") ) + " " + button2( PREVPAGE, _t("Previous") ) : button( FIRSTPAGE, _t("First") ) + " " + button( PREVPAGE, _t("Previous") ) ) + - "      " + + "" + _t("Page {0} of {1}", folder.getCurrentPage(), folder.getPages()) + - "      " + + "" + ( folder.isLastPage() ? button2( NEXTPAGE, _t("Next") ) + " " + button2( LASTPAGE, _t("Last") ) : - button( NEXTPAGE, _t("Next") ) + " " + button( LASTPAGE, _t("Last") ) ) + button( NEXTPAGE, _t("Next") ) + " " + button( LASTPAGE, _t("Last") ) ) + + "
" + ); } @@ -2399,11 +2397,11 @@ public class WebMail extends HttpServlet "\" size=\"4\" value=\"" + sz + "\">" + " " + button( SETPAGESIZE, _t("Set") ) ); - out.println("

"); out.println(""); + out.println("

"); out.print(_t("Advanced Configuration")); Properties config = Config.getProperties(); - out.print(":