mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
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 0192f41003
)
This commit is contained in:
@ -737,8 +737,10 @@ static void wizard_page(void)
|
||||
d_printf("<td><input type=radio name=\"WINSType\" value=0 %s> Not Used </td>", (winstype == 0) ? "checked" : "");
|
||||
d_printf("<td><input type=radio name=\"WINSType\" value=1 %s> Server for client use </td>", (winstype == 1) ? "checked" : "");
|
||||
d_printf("<td><input type=radio name=\"WINSType\" value=2 %s> Client of another WINS server </td>", (winstype == 2) ? "checked" : "");
|
||||
d_printf("</tr>\n");
|
||||
|
||||
d_printf("<tr><td></td><td></td><td></td><td>Remote WINS Server <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: ");
|
||||
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();
|
||||
|
Reference in New Issue
Block a user