X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_input.inc;h=dd2930c4dc2e2f5ef71c8a2f941eb6e18fcbf987;hb=6cbea1ade0d5507f4213644275dff658864db99a;hp=3da07206ac88c05321bf6260661bc22f5f0839c5;hpb=d567a10b7925c8bb97c734e213d6651a979af29d;p=fa-stable.git diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc index 3da07206..dd2930c4 100644 --- a/includes/ui/ui_input.inc +++ b/includes/ui/ui_input.inc @@ -103,17 +103,23 @@ function hidden($name, $value=null, $echo=true) else return $ret; } - -function submit($name, $value, $echo=true, $title=false, $async=false, $icon=false) +/* + Various types of submit button selected by $type: + null - button visible only in fallback mode + false - normal submit button + true - ajax driven submit + 'process' - ajax button with long timeout +*/ +function submit($name, $value, $echo=true, $title=false, $type=false, $icon=false) { global $path_to_root; - + default_focus($name); $submit_str = "