From c2207e8ff95f90a562309d9eac234b9fbf3f2391 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 4 Jul 2005 21:12:58 +0000 Subject: [PATCH] Put separate table around icons SVN revision: 1411 --- src/elogd.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) 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 {