function estimate_batch($r) { xml_start_tag("estimate_batch"); $app = get_submit_app((string) $r->batch->app_name); list($user, $user_submit) = authenticate_user($r, $app); $template = read_input_template($app, $r); $e = est_elapsed_time($r, $template); echo "<seconds>{$e}</seconds>\n </estimate_batch>\n "; }
function estimate_batch($r) { $app = get_app($r); list($user, $user_submit) = authenticate_user($r, $app); $e = est_elapsed_time($r); echo "<estimate>\n<seconds>{$e}</seconds>\n</estimate>\n"; }