From e41820d53ea7be1d0bb585d3e8a7b1408d1c525f Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 27 Jul 2005 18:42:53 +0000 Subject: [PATCH] Fixed HTML errors SVN revision: 1458 --- src/elogd.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index 0d5711c5..b1d8c001 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.729 2005/07/27 18:42:53 ritt + Fixed HTML errors + Revision 1.728 2005/07/26 19:19:01 ritt Use rsputs3 for quotes @@ -12151,7 +12154,7 @@ void show_forgot_pwd_page(LOGBOOK * lbs) rsprintf("\n\n"); show_bottom_text(lbs); - rsprintf("\r\n"); + rsprintf("\r\n"); } } @@ -12165,9 +12168,9 @@ void show_new_user_page(LOGBOOK * lbs) /*---- header ----*/ show_html_header(lbs, TRUE, loc("ELOG new user"), TRUE, FALSE, NULL); - rsprintf("

\n"); + rsprintf("



\n"); show_top_text(lbs); - rsprintf("
\n\n"); + rsprintf("\n\n"); /*---- title ----*/ @@ -12192,7 +12195,7 @@ void show_new_user_page(LOGBOOK * lbs) rsprintf("%s:\n", loc("Login name")); rsprintf("\n"); - rsprintf("(%s)\n", + rsprintf("(%s)\n", loc("name may not contain blanks")); rsprintf("%s:\n", loc("Full name")); @@ -12255,11 +12258,11 @@ void show_new_user_page(LOGBOOK * lbs) rsprintf("%s:\n", loc("Retype password")); rsprintf("\n"); - rsprintf("\n"); + rsprintf("\n"); rsprintf("\n\n"); show_bottom_text(lbs); - rsprintf("\r\n"); + rsprintf("
\r\n"); } /*------------------------------------------------------------------*/ @@ -21350,7 +21353,7 @@ BOOL check_user_password(LOGBOOK * lbs, char *user, char *password, char *redir) rsprintf("\n"); if (!getcfg(lbs->name, "Login expiration", str, sizeof(str)) || atof(str) > 0) { - rsprintf(""); + rsprintf(""); if (isparam("urem") && atoi(getparam("urem")) == 0) rsprintf("\n"); @@ -21366,7 +21369,7 @@ BOOL check_user_password(LOGBOOK * lbs, char *user, char *password, char *redir) if (getcfg(lbs->name, "Self register", str, sizeof(str)) && atoi(str) > 0) { strcpy(str, loc("New user")); url_encode(str, sizeof(str)); - rsprintf("      %s", + rsprintf("      %s", str, loc("Register as new user")); } @@ -21380,7 +21383,7 @@ BOOL check_user_password(LOGBOOK * lbs, char *user, char *password, char *redir) ("
ELOG V%s
", VERSION); - rsprintf("\r\n"); + rsprintf("\r\n"); return FALSE; } else { @@ -21506,7 +21509,9 @@ void show_logbook_node(LBLIST plb, LBLIST pparent, int level, int btop) rsprintf("
\n"); str[0] = 0; getcfg(lb_list[index].name, "Comment", str, sizeof(str)); - rsprintf("%s\n", str); + rsprintf(""); + rsputs3(str); + rsprintf("\n"); rsprintf(""); rsprintf("%d", *lb_list[index].n_el_index); rsprintf("\n");