diff --git a/src/elogd.c b/src/elogd.c index a1f3d0ba..0ba66dd8 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.271 2004/02/26 21:06:32 midas + Added CVS import page + Revision 1.270 2004/02/26 13:41:17 midas Changed strupr() to toupper() @@ -5018,6 +5021,7 @@ void show_plain_header(int size) rsprintf("Pragma: no-cache\r\n"); rsprintf("Expires: Fri, 01 Jan 1983 00:00:00 GMT\r\n"); rsprintf("Content-Type: text/plain\r\n"); + rsprintf("Content-disposition: attachment; filename=\"export.txt\"\r\n"); if (size) rsprintf("Content-Length: %d\r\n", size); rsprintf("\r\n"); @@ -7204,6 +7208,8 @@ void show_find_form(LOGBOOK * lbs) rsprintf("\n", loc("Display comma-separated values (CSV)")); + rsprintf("\n", loc("CSV Import")); + rsprintf("\n"); rsprintf("
| %s: | \n", loc("CSV filename")); + rsprintf(""); + rsprintf(" |
| %s: | \n", loc("Field separator")); + rsprintf(""); + rsprintf(""); + rsprintf(" |
| %s: | \n", loc("Options")); + rsprintf(""); + rsprintf("\n"); + rsprintf("\n", loc("Derive attributes from CVS file")); + rsprintf(" |