3 # Display a form for creating some or all missing users and groups on
6 require './cluster-webmin-lib.pl';
7 &ui_print_header(undef, $text{'sync_title'}, "");
9 print "$text{'sync_desc'}<p>\n";
10 print "<form action=sync.cgi>\n";
13 print "<tr> <td valign=top><b>$text{'sync_hosts'}</b></td> <td>\n";
14 &create_on_input(undef, 1, 1, 1);
15 print "</td> </tr>\n";
17 print "<tr> <td valign=top><b>$text{'sync_users'}</b></td> <td>\n";
18 print "<input type=radio name=users_mode value=1> ",
19 "$text{'sync_uall'} \n";
20 print "<input type=radio name=users_mode value=0 checked> ",
21 "$text{'sync_unone'}<br>\n";
22 print "<input type=radio name=users_mode value=2> ",
23 "$text{'sync_usel'}\n";
24 print "<input name=usel size=30><br>\n";
25 print "<input type=radio name=users_mode value=3> ",
26 "$text{'sync_unot'}\n";
27 print "<input name=unot size=30><br>\n";
28 print "</td> </tr>\n";
30 print "<tr> <td valign=top><b>$text{'sync_groups'}</b></td> <td>\n";
31 print "<input type=radio name=groups_mode value=1> ",
32 "$text{'sync_gall'} \n";
33 print "<input type=radio name=groups_mode value=0 checked> ",
34 "$text{'sync_gnone'}<br>\n";
35 print "<input type=radio name=groups_mode value=2> ",
36 "$text{'sync_gsel'}\n";
37 print "<input name=gsel size=30><br>\n";
38 print "<input type=radio name=groups_mode value=3> ",
39 "$text{'sync_gnot'}\n";
40 print "<input name=gnot size=30><br>\n";
41 print "</td> </tr>\n";
43 print "<tr> <td><b>$text{'sync_test'}</b></td>\n";
44 print "<td><input type=radio name=test value=1> $text{'yes'}\n";
45 print "<input type=radio name=test value=0 checked> $text{'no'}</td> </tr>\n";
48 print "<input type=submit value='$text{'sync_ok'}'></form>\n";
50 &ui_print_footer("", $text{'index_return'});