\n"; } $formno++; # Show form for adding a server print "
\n"; $upid = time().$$; print &ui_form_start("install_pack.cgi?id=$upid", "form-data", undef, &read_parse_mime_javascript($upid, [ "upload" ])),"\n"; @opts = ( ); push(@opts, [ 0, $text{'index_local'}, &ui_textbox("local", undef, 50)."\n". &file_chooser_button("local", 0, 2) ]); push(@opts, [ 1, $text{'index_uploaded'}, &ui_upload("upload", 50) ]); push(@opts, [ 2, $text{'index_ftp'}, &ui_textbox("url", undef, 50)."\n". &ui_checkbox("down", 1, $text{'index_down'}, 0) ]); if ($software::has_update_system) { push(@opts, [ 3, $software::text{$software::update_system.'_input'}, &ui_textbox("update", undef, 30)."\n". &software::update_system_button("update", $software::text{$software::update_system.'_find'}) ]); } print &ui_radio_table("source", 0, \@opts); print &ui_submit($text{'index_installok'}),"\n"; print &ui_form_end(); } &ui_print_footer("/", $text{'index'});