diff --git a/src/elogd.c b/src/elogd.c
index f47c642c..43347d43 100755
--- a/src/elogd.c
+++ b/src/elogd.c
@@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG
$Log$
+ Revision 1.536 2005/01/17 15:42:05 midas
+ Made extendable attributes work with MOptions
+
Revision 1.535 2005/01/17 14:01:40 midas
Added message_id and date to CSV export
@@ -8192,9 +8195,14 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
rsprintf(loc("Add new option here"), attr_list[index]);
rsprintf(" : \n");
- rsprintf
- ("\n",
- input_maxlen, ua, attrib[index]);
+ if (attr_flags[index] & AF_MULTI)
+ rsprintf
+ ("\n",
+ input_maxlen, ua, attrib[index]);
+ else
+ rsprintf
+ ("\n",
+ input_maxlen, ua, attrib[index]);
rsprintf("\n");
@@ -16383,6 +16391,9 @@ void submit_elog(LOGBOOK * lbs)
for (i = 0; i < n_attr; i++) {
strcpy(ua, attr_list[i]);
btou(ua);
+ if (attr_flags[i] & AF_MULTI)
+ strcat(ua, "_0");
+
if (isparam(ua) && attr_options[i][0][0]) {
if (strieq(attr_options[i][0], "boolean")) {
@@ -20392,7 +20403,7 @@ void server_loop(void)
("Error: Content length (%d) larger than maximum content length (%d)"),
content_length, _max_content_length);
strcat(str, "
");
- strcat(str, loc("Please increase \"Max content length\" in config file"));
+ strcat(str, loc("Please increase \"Max content length\" in config file and restart elogd"));
keep_alive = FALSE;
show_error(str);
goto redir;