mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
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 commit is contained in:
parent
424acd6ee9
commit
1ab70b41a9
@ -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" : "");
|
||||
@ -780,7 +781,7 @@ static void globals_page(void)
|
||||
unsigned int parm_filter = FLAG_BASIC;
|
||||
int mode = 0;
|
||||
|
||||
d_printf("<H2>%s</H2>\n", _("Global Variables"));
|
||||
d_printf("<H2>%s</H2>\n", _("Global Parameters"));
|
||||
|
||||
if (cgi_variable("Commit")) {
|
||||
commit_parameters(GLOBAL_SECTION_SNUM);
|
||||
|
Loading…
Reference in New Issue
Block a user