summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-26 02:04:03 +0000
committerTim Potter <tpot@samba.org>2003-09-26 02:04:03 +0000
commitaf921c452d2d622984bf32924a6f3c877ea66f8f (patch)
tree666b895fc43f74044b94a2e9d13cd8f877f4fe63 /source3/web
parentd9e84b9bae74bdc87a2b2b5a5f6a3c9c9003784c (diff)
downloadsamba-af921c452d2d622984bf32924a6f3c877ea66f8f.tar.gz
samba-af921c452d2d622984bf32924a6f3c877ea66f8f.tar.bz2
samba-af921c452d2d622984bf32924a6f3c877ea66f8f.zip
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. (This used to be commit 0192f41003af0f8e8c117cf7eb8ad886b8b03749)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/swat.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index f4c12cc02f..2b2686cc5a 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -737,8 +737,10 @@ static void wizard_page(void)
d_printf("<td><input type=radio name=\"WINSType\" value=0 %s> Not Used&nbsp;</td>", (winstype == 0) ? "checked" : "");
d_printf("<td><input type=radio name=\"WINSType\" value=1 %s> Server for client use&nbsp;</td>", (winstype == 1) ? "checked" : "");
d_printf("<td><input type=radio name=\"WINSType\" value=2 %s> Client of another WINS server&nbsp;</td>", (winstype == 2) ? "checked" : "");
+ d_printf("</tr>\n");
+
d_printf("<tr><td></td><td></td><td></td><td>Remote WINS Server&nbsp;<input type=text size=\"16\" name=\"WINSAddr\" value=\"");
-
+
/* Print out the list of wins servers */
if(lp_wins_server_list()) {
int i;
@@ -751,7 +753,6 @@ static void wizard_page(void)
d_printf("<tr><td></td><td colspan=3><font color=\"#ff0000\">Error: WINS Server Mode and WINS Support both set in smb.conf</font></td></tr>");
d_printf("<tr><td></td><td colspan=3><font color=\"#ff0000\">Please Select desired WINS mode above.</font></td></tr>");
}
- d_printf("</tr>");
d_printf("<tr><td><b>%s</b></td>\n","Expose Home Directories:&nbsp;");
d_printf("<td><input type=radio name=\"HomeExpo\" value=1 %s> Yes</td>", (have_home == -1) ? "" : "checked ");
d_printf("<td><input type=radio name=\"HomeExpo\" value=0 %s> No</td>", (have_home == -1 ) ? "checked" : "");
@@ -1321,8 +1322,6 @@ static void printers_page(void)
iNumNonAutoPrintServices = lp_numservices();
load_printers();
- d_printf("hello \" there\n");
-
cgi_setup(dyn_SWATDIR, !demo_mode);
print_header();