diff --git a/src/elogd.c b/src/elogd.c index b9a91ecb..d6854255 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.691 2005/07/04 21:12:58 ritt + Put separate table around icons + Revision 1.690 2005/07/04 21:03:24 ritt Replaced more @@ -9660,24 +9663,27 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL } else if (attr_flags[index] & AF_RADIO) { /* display radio buttons */ - rsprintf("\n", title); + rsprintf("\n", title); + rsprintf("\n"); for (i = 0; i < MAX_N_LIST && attr_options[index][i][0]; i++) { if (strstr(attrib[index], attr_options[index][i])) rsprintf - ("\n", + ("\n"); if (format_flags[index] & AFF_MULTI_LINE) rsprintf("
"); } + rsprintf("
\n", attr_options[index][i], ua, attr_options[index][i]); else rsprintf - ("\n", + ("\n", attr_options[index][i], ua, attr_options[index][i]); rsprintf("\n", attr_options[index][i], attr_options[index][i]); + rsprintf("
\n"); if (attr_flags[index] & AF_EXTENDABLE) { sprintf(str, loc("Add %s"), attr_list[index]); @@ -9691,15 +9697,16 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL } else if (attr_flags[index] & AF_ICON) { /* display icons */ rsprintf("\n", title); + rsprintf("\n"); for (i = 0; i < MAX_N_LIST && attr_options[index][i][0]; i++) { if (strstr(attrib[index], attr_options[index][i])) rsprintf - ("", + ("\n"); if (format_flags[index] & AFF_MULTI_LINE) rsprintf("
"); } - rsprintf("\n"); + rsprintf("
", ua, attr_options[index][i]); else rsprintf - ("", + ("", ua, attr_options[index][i]); sprintf(str, "Icon comment %s", attr_options[index][i]); @@ -9712,11 +9719,12 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsprintf("\"%s\"\n", attr_options[index][i], attr_options[index][i]); + rsprintf("
\n"); } else {