X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Finetconf.c;h=fb60631937f6c8c940bd5b388f02c447b801ff8d;hb=a890d311cb999e02599976dae47efeeeddfc6694;hp=8858d5af2e8c322845e9acb3b8ab4c64201f9db4;hpb=4779eb63e4d412e772e494f843c1485b0718aaa4;p=citadel.git 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);