\n"; &ui_print_footer("/", $text{'index'}); exit; } # Check if the config files exist, or if they can be copied if (!-r $ha_cf && -r $config{'alt_ha_cf'}) { system("cp '$config{'alt_ha_cf'}' $ha_cf"); } if (!-r $ha_cf) { print &text('index_eha_cf', "$ha_cf", "@{[&get_webprefix()]}/config.cgi?$module_name"),"
\n"; &ui_print_footer("/", $text{'index'}); exit; } if (!-r $haresources && -r $config{'alt_haresources'}) { system("cp '$config{'alt_haresources'}' '$haresources'"); } if (!-r $haresources) { print &text('index_eharesources', "$haresources", "@{[&get_webprefix()]}/config.cgi?$module_name"),"
\n"; &ui_print_footer("/", $text{'index'}); exit; } if (!-r $authkeys && -r $config{'alt_authkeys'}) { system("cp '$config{'alt_authkeys'}' '$authkeys'"); } if (!-r $authkeys) { print &text('index_eauthkeys', "$authkeys", "@{[&get_webprefix()]}/config.cgi?$module_name"),"
\n"; &ui_print_footer("/", $text{'index'}); exit; } if (!-r $config{'req_resource_cmd'}) { print &text('index_ereq_resource_cmd', "$config{'req_resource_cmd'}", "@{[&get_webprefix()]}/config.cgi?$module_name"),"
\n"; &ui_print_footer("/", $text{'index'}); exit; } @opts = ( 'conf', 'res','auth' ); @links = map { "edit_${_}.cgi" } @opts; @titles = map { $text{"${_}_title"} } @opts; @icons = map { "images/${_}.gif" } @opts; &icons_table(\@links, \@titles, \@icons); print &ui_hr(); print "