mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Use <tr> for AF_MULTI_LINE
SVN revision: 1415
This commit is contained in:
parent
d1acadd65a
commit
cf17337924
14
src/elogd.c
14
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.693 2005/07/05 19:06:27 ritt
|
||||||
|
Use <tr> for AF_MULTI_LINE
|
||||||
|
|
||||||
Revision 1.692 2005/07/05 09:45:41 ritt
|
Revision 1.692 2005/07/05 09:45:41 ritt
|
||||||
Fixed bug with new_entries cut
|
Fixed bug with new_entries cut
|
||||||
|
|
||||||
@ -7284,10 +7287,10 @@ void show_standard_header(LOGBOOK * lbs, BOOL expires, char *title, char *path,
|
|||||||
|
|
||||||
show_top_text(lbs);
|
show_top_text(lbs);
|
||||||
|
|
||||||
if (path)
|
if (path && path[0])
|
||||||
rsprintf("<form name=form1 method=\"GET\" action=\"%s\">\n\n", path);
|
rsprintf("<form name=form1 method=\"GET\" action=\"%s\">\n\n", path);
|
||||||
else
|
else
|
||||||
rsprintf("<form name=form1 method=\"GET\" action=\"\">\n\n");
|
rsprintf("<form name=form1 method=\"GET\" action=\".\">\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------*/
|
/*------------------------------------------------------------------*/
|
||||||
@ -9723,11 +9726,12 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
attr_options[index][i], attr_options[index][i]);
|
attr_options[index][i], attr_options[index][i]);
|
||||||
|
|
||||||
rsprintf("</td>\n");
|
rsprintf("</td>\n");
|
||||||
if (format_flags[index] & AFF_MULTI_LINE)
|
if ((format_flags[index] & AFF_MULTI_LINE) && attr_options[index][i+1][0]) {
|
||||||
rsprintf("<br>");
|
rsprintf("</tr><tr>\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rsprintf("</table></td>\n");
|
rsprintf("</tr></table></td>\n");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user