\n"; print &ui_form_start("list_ini.cgi"); print "$text{'index_anyfile'} \n"; print &ui_textbox("file", undef, 40)." ". &file_chooser_button("file")." ". &ui_submit($text{'index_medit'})."\n"; print &ui_form_end(); } # Show button to install PHP versions print &show_php_install_button(); &ui_print_footer("/", $text{'index'}); } # Print PHP install button if available # Returns a button to install new PHP versions sub show_php_install_button { &load_theme_library(); my $rv = ''; if ($access{'global'} && &foreign_available("software")) { $rv .= &ui_hr(); $rv .= &ui_buttons_start(); $rv .= &ui_buttons_row("list_pkgs.cgi", $text{'index_pkgs'}, $text{'index_pkgsdesc'}); $rv .= &ui_buttons_end(); } return $rv; }