From 9f4e196d5bc09f2783ecfb2d1166792baab84beb Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 19 Dec 2002 14:37:14 +0000 Subject: [PATCH] Avoid long lines with many radio/check buttons SVN revision: 309 --- elogd.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/elogd.c b/elogd.c index 02e5a3c0..7b213454 100755 --- a/elogd.c +++ b/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 2.116 2002/12/19 14:37:14 midas + Avoid long lines with many radio/check buttons + Revision 2.115 2002/12/13 12:07:01 midas Improved email sending @@ -4711,10 +4714,10 @@ time_t now; sprintf(str, "%s%d", attr_list[index], i); if (strstr(attrib[index], attr_options[index][i])) - rsprintf("%s \n", + rsprintf("%s\n", str, attr_options[index][i], attr_options[index][i]); else - rsprintf("%s \n", + rsprintf("%s\n", str, attr_options[index][i], attr_options[index][i]); } @@ -4728,10 +4731,10 @@ time_t now; for (i=0 ; i%s \n", + rsprintf("%s\n", attr_list[index], attr_options[index][i], attr_options[index][i]); else - rsprintf("%s \n", + rsprintf("%s\n", attr_list[index], attr_options[index][i], attr_options[index][i]); } @@ -4745,11 +4748,11 @@ time_t now; for (i=0 ; i", attr_list[index], attr_options[index][i]); + rsprintf("", attr_list[index], attr_options[index][i]); else - rsprintf("", attr_list[index], attr_options[index][i]); + rsprintf("", attr_list[index], attr_options[index][i]); - rsprintf(" \n", attr_options[index][i]); + rsprintf("\n", attr_options[index][i]); } rsprintf("\n"); @@ -5194,8 +5197,8 @@ char str[256], mode[256]; { for (j=0 ; j", attr_list[i], attr_options[i][j]); - rsprintf(" \n", attr_options[i][j]); + rsprintf("", attr_list[i], attr_options[i][j]); + rsprintf("\n", attr_options[i][j]); } }