mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Fixed bugs in HTML code
SVN revision: 598
This commit is contained in:
parent
deab5bf9b3
commit
3262ec3100
11
src/elogd.c
11
src/elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.140 2003/07/25 08:34:52 midas
|
||||||
|
Fixed bugs in HTML code
|
||||||
|
|
||||||
Revision 1.139 2003/07/18 06:55:03 midas
|
Revision 1.139 2003/07/18 06:55:03 midas
|
||||||
Fixed bug with logging file if resource dir is present
|
Fixed bug with logging file if resource dir is present
|
||||||
|
|
||||||
@ -8793,7 +8796,7 @@ char ref[256], str[NAME_LENGTH], comment[NAME_LENGTH];
|
|||||||
char list[MAX_N_LIST][NAME_LENGTH];
|
char list[MAX_N_LIST][NAME_LENGTH];
|
||||||
|
|
||||||
rsprintf("<tr><td class=\"menuframe\">\n");
|
rsprintf("<tr><td class=\"menuframe\">\n");
|
||||||
rsprintf("<table width=\"100%%\" border=0 cellpadding=0 cellspacing=0\n");
|
rsprintf("<table width=\"100%%\" border=0 cellpadding=0 cellspacing=0>\n");
|
||||||
|
|
||||||
rsprintf("<tr>\n");
|
rsprintf("<tr>\n");
|
||||||
|
|
||||||
@ -10060,7 +10063,7 @@ LOGBOOK *lbs_cur;
|
|||||||
|
|
||||||
/* empty title for selection box */
|
/* empty title for selection box */
|
||||||
if (atoi(getparam("select")) == 1)
|
if (atoi(getparam("select")) == 1)
|
||||||
rsprintf("<th class=\"listtitle\"></th> \n");
|
rsprintf("<th class=\"listtitle\"> </th>\n");
|
||||||
|
|
||||||
for (i=0 ; i<n_attr_disp ; i++)
|
for (i=0 ; i<n_attr_disp ; i++)
|
||||||
{
|
{
|
||||||
@ -11813,6 +11816,8 @@ BOOL first;
|
|||||||
|
|
||||||
rsputs(buf);
|
rsputs(buf);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
rsprintf("<center><b>Error: file <i>\"%s\"</i> not found</b></center>", file_name);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
/* add little logo */
|
/* add little logo */
|
||||||
@ -12066,7 +12071,7 @@ int i, n;
|
|||||||
show_html_header(NULL, FALSE, "ELOG error");
|
show_html_header(NULL, FALSE, "ELOG error");
|
||||||
|
|
||||||
rsprintf("<body><center>\n");
|
rsprintf("<body><center>\n");
|
||||||
rsprintf("<table class=\"dlgframe\" width=50%% cellpadding=1 cellspacing=0");
|
rsprintf("<table class=\"dlgframe\" width=50%% cellpadding=1 cellspacing=0>");
|
||||||
sprintf(str, loc("User <i>\"%s\"</i> has no access to logbook <i>\"%s\"</i>"), getparam("iusr"), lbs->name);
|
sprintf(str, loc("User <i>\"%s\"</i> has no access to logbook <i>\"%s\"</i>"), getparam("iusr"), lbs->name);
|
||||||
rsprintf("<tr><td class=\"errormsg\">%s</td></tr>\n", str);
|
rsprintf("<tr><td class=\"errormsg\">%s</td></tr>\n", str);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user