From: Art Cancro Date: Wed, 21 Jul 2004 02:57:09 +0000 (+0000) Subject: * Internet Configuration screen looks a little neater now X-Git-Tag: v7.86~5337 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=a890d311cb999e02599976dae47efeeeddfc6694 * Internet Configuration screen looks a little neater now --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index b99e6974f..98fe467a2 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 522.19 2004/07/21 02:57:09 ajc +* Internet Configuration screen looks a little neater now + Revision 522.18 2004/07/21 02:45:15 ajc * Completed the "Internet Configuration" screen @@ -1986,4 +1989,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/inetconf.c b/webcit/inetconf.c index 8858d5af2..fb6063193 100644 --- a/webcit/inetconf.c +++ b/webcit/inetconf.c @@ -39,11 +39,11 @@ void display_inetconf(void) enum { ic_localhost, - ic_gwdom, ic_directory, - ic_spamass, - ic_rbl, + ic_gwdom, ic_smarthost, + ic_rbl, + ic_spamass, ic_max }; char *ic_spec[ic_max]; @@ -51,29 +51,29 @@ void display_inetconf(void) char *ic_keyword[] = { "localhost", - "gatewaydomain", "directory", - "spamassassin", + "gatewaydomain", + "smarthost", "rbl", - "smarthost" + "spamassassin", }; char *ic_boxtitle[] = { "Local host aliases", - "Gateway domains", "Directory domains", - "SpamAssassin hosts", + "Gateway domains", + "Smart hosts", "RBL hosts", - "Smart hosts" + "SpamAssassin hosts", }; char *ic_desc[] = { "(domains for which this host receives mail)", - "(domains whose subdomains match Citadel hosts)", "(domains mapped with the Global Address Book)", - "(hosts running the SpamAssassin service)", + "(domains whose subdomains match Citadel hosts)", + "(if present, forward all outbound mail to one of these hosts)", "(hosts running a Realtime Blackhole List)", - "(if present, forward all outbound mail to one of these hosts)" + "(hosts running the SpamAssassin service)", }; for (i=0; i\n"); + wprintf("
\n"); for (which=0; which"); + if (which == (ic_max / 2)) { + wprintf(""); } - wprintf(""); svprintf("BOXTITLE", WCS_STRING, ic_boxtitle[which]); do_template("beginbox"); wprintf(""); @@ -147,12 +146,8 @@ void display_inetconf(void) "" "
\n"); do_template("endbox"); - wprintf(""); - if (which % 2 != 0) { - wprintf(""); - } } - wprintf("\n"); + wprintf("\n"); wDumpContent(1);