From 4663c471a35079cdea8b97559c02f865ec6dffd8 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 29 Sep 2003 06:20:11 +0000 Subject: Merge from 3.0: >More bug #413. Fix bad html table row termination in SWAT wizard code found by >Monyo. Also remove debugging d_printf() which snuck in the last commit. >Change title of SWAT globals page from 'Global Variables' to 'Global >Parameters' to be more consistent with the other pages. (This used to be commit 1ab70b41a9eba59272c0af5a8036c32366734177) --- source3/web/swat.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source3/web/swat.c b/source3/web/swat.c index 1c892559dd..2b2686cc5a 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -737,8 +737,10 @@ static void wizard_page(void) d_printf(" Not Used ", (winstype == 0) ? "checked" : ""); d_printf(" Server for client use ", (winstype == 1) ? "checked" : ""); d_printf(" Client of another WINS server ", (winstype == 2) ? "checked" : ""); + d_printf("\n"); + d_printf("Remote WINS Server Error: WINS Server Mode and WINS Support both set in smb.conf"); d_printf("Please Select desired WINS mode above."); } - d_printf(""); d_printf("%s\n","Expose Home Directories: "); d_printf(" Yes", (have_home == -1) ? "" : "checked "); d_printf(" No", (have_home == -1 ) ? "checked" : ""); @@ -780,7 +781,7 @@ static void globals_page(void) unsigned int parm_filter = FLAG_BASIC; int mode = 0; - d_printf("

%s

\n", _("Global Variables")); + d_printf("

%s

\n", _("Global Parameters")); if (cgi_variable("Commit")) { commit_parameters(GLOBAL_SECTION_SNUM); -- cgit