function ProcessMultiFormTemplate($s_template, $a_values, &$a_lines) { global $MULTIFORMURL, $MULTIFORMDIR, $SPECIAL_VALUES; if (empty($MULTIFORMDIR) && empty($MULTIFORMURL)) { SendAlert(GetMessage(MSG_MULTIFORM)); return false; } // // create the "this_form_url" field // $i_index = GetSession("FormIndex"); $a_list = GetSession("FormList"); $a_values["this_form_url"] = $a_list[$i_index]["URL"]; // // get the persistent file fields // $a_values = GetSavedFileNames($a_values); //$a_values["prev_form"] = GetReturnLink($SPECIAL_VALUES["this_form"]); return DoProcessTemplate($MULTIFORMDIR, $MULTIFORMURL, $s_template, $a_lines, $a_values, "", 'SubstituteValueForPage'); }
function ProcessMultiFormTemplate($s_template, $a_values, &$a_lines) { global $MULTIFORMURL, $MULTIFORMDIR, $SPECIAL_VALUES, $aSessionVars; if (empty($MULTIFORMDIR) && empty($MULTIFORMURL)) { SendAlert(GetMessage(MSG_MULTIFORM)); return false; } $i_index = $aSessionVars["FormIndex"]; $a_values["this_form_url"] = $aSessionVars["FormList"][$i_index]["URL"]; //$a_values["prev_form"] = GetReturnLink($SPECIAL_VALUES["this_form"]); return DoProcessTemplate($MULTIFORMDIR, $MULTIFORMURL, $s_template, $a_lines, $a_values, "", 'SubstituteValueForPage'); }