X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Finetconf.c;h=0c03995d29e189d725f9aedab22e659a9b5795a0;hb=f94a1581fe4c2ec6c5e79fea3d3191917838d781;hp=af104ac765c01650eebf94a92046c926c61bba6e;hpb=fb5a4d90f8a18684c8a323c0d8a666d0d8643a05;p=citadel.git diff --git a/webcit/inetconf.c b/webcit/inetconf.c index af104ac76..0c03995d2 100644 --- a/webcit/inetconf.c +++ b/webcit/inetconf.c @@ -19,6 +19,7 @@ void display_inetconf(void) char etype[SIZ]; int i; int which; + int bg = 0; enum { ic_localhost, @@ -114,10 +115,16 @@ void display_inetconf(void) wprintf(""); escputs(ic_desc[which]); wprintf("
"); - wprintf("\n"); + wprintf("
\n"); + bg = 0; if (!IsEmptyStr(ic_spec[which])) { for (i=0; i", + (bg ? "even" : "odd") + ); + wprintf("\n"); } + } wprintf("\n"); wprintf("\n", WC->nonce);
"); + bg = 1 - bg; + wprintf("
"); extract_token(buf, ic_spec[which], i, '\n', sizeof buf); escputs(buf); wprintf("" @@ -130,6 +137,7 @@ void display_inetconf(void) wprintf(_("Delete")); wprintf("