3 # An OpenSLP webmin module
4 # by Monty Charlton <monty@caldera.com>,
6 # Copyright (c) 2000 Caldera Systems
8 # Permission to use, copy, modify, and distribute this software and its
9 # documentation under the terms of the GNU General Public License is hereby
10 # granted. No representations are made about the suitability of this software
11 # for any purpose. It is provided "as is" without express or implied warranty.
12 # See the GNU General Public License for more details.
15 require './slp-lib.pl';
16 &ui_print_header(undef, $text{'dacfg_title'}, "");
18 local $dacfg = &get_dacfg_config();
19 print "<form action=save_dacfg.cgi>\n";
20 print "<table border width=100%>\n";
21 print "<tr $tb> <td><b>$text{'dacfg_title'}</b></td> </tr>\n";
22 print "<tr $cb> <td><table width=100%>\n";
24 local $true=""; local $false="";
25 if ($dacfg->{'isDA'} !~ /^true$/i || $dacfg->{'isDADisabled'}) {
30 print "<tr><td><b>$text{'dacfg_isDA'}</b></td><td nowrap>\n";
31 print "<table><tr><td nowrap>\n";
32 print "<input type=radio name=isDA value=1$true>\n";
33 print "True <BR>\n";
34 print "<input type=radio name=isDA value=0$false>\n";
35 print "False (default) ";
36 print "</td></tr></table></td></tr>\n";
38 print "</table></td></tr></table>\n";
39 print "<input type=submit value=\"$text{'save'}\"></form>\n";
41 &ui_print_footer("", $text{'index_return'});