\n"; } # Build common selectors @wgroups = &all_groups(\@hosts); $modsel2 = $modsel = "\n"; $modsel2 .= "$text{'index_gacl'}\n"; foreach $m (&all_modules(\@hosts)) { $modsel .= "{'dir'}>$m->{'desc'}\n"; $modsel2 .= "{'dir'}>$m->{'desc'}\n"; } $modsel .= "\n"; $modsel2 .= "\n"; $themesel = "\n"; foreach $t (&all_themes(\@hosts)) { $themesel .= "{'dir'}>$t->{'desc'}\n"; } $themesel .= "\n"; # Show button for adding server print "
\n"; print "
\n"; print " $text{'index_local'}\n"; print "\n"; print &file_chooser_button("local", 0, $formno); print "\n"; print " $text{'index_uploaded'}\n"; print "\n"; print " $text{'index_ftp'}\n"; print "\n"; print " " x 5," ", "$text{'index_down'}
\n"; print " ", "$text{'index_nodeps'}\n"; print "$text{'index_installon'}\n"; &create_on_input(); print "
\n"; print "\n"; print "
\n"; # what kind of install is the local system? $mode = &usermin::get_install_type(); print "
\n"; print " ", "$webmin::text{'upgrade_delete'}\n"; print "$text{'index_upgradeon'}\n"; &create_on_input(); print "\n"; print "