From: Janusz Dobrowolski Date: Fri, 13 Feb 2015 10:03:25 +0000 (+0100) Subject: Added optional parameter timeout to meta_forward() helper. X-Git-Tag: v2.4.2~19^2~252 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=a2b1abdbfd758a53dc8d77b8eb8dda2b6ae911a9;p=fa-stable.git Added optional parameter timeout to meta_forward() helper. --- diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index e1c5ffcc..ddef1bdd 100644 --- a/includes/ui/ui_controls.inc +++ b/includes/ui/ui_controls.inc @@ -139,10 +139,10 @@ function vertical_space($params='') echo ""; } -function meta_forward($forward_to, $params="") +function meta_forward($forward_to, $params="", $timeout=0) { global $Ajax; - echo "\n"; + echo "\n"; echo "

" . _("You should automatically be forwarded."); echo " " . _("If this does not happen") . " " . "" . _("click here") . " " . _("to continue") . ".

\n"; if ($params !='') $params = '?'.$params;