X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_controls.inc;h=217be194c3642061fa15fc7b5085deac3fda3106;hb=3e2a432dd72688dbac39a07716201b2b00c16c8b;hp=d9d1f05759994e08cb910ad7fbb22cea81e9755f;hpb=d67d5295b9342c011697ce4df325197e29898588;p=fa-stable.git diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index d9d1f057..217be194 100644 --- a/includes/ui/ui_controls.inc +++ b/includes/ui/ui_controls.inc @@ -28,7 +28,7 @@ function end_form($breaks=0) { if ($breaks) br($breaks); - echo "\n"; + echo "\n"; echo "\n"; } @@ -52,7 +52,7 @@ function meta_forward($forward_to, $params="") global $Ajax; echo "\n"; echo "

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

\n"; + echo " " . _("If this does not happen") . " " . "" . _("click here") . " " . _("to continue") . ".

\n"; $Ajax->redirect($forward_to.'?'.$params); exit; } @@ -100,7 +100,7 @@ function hyperlink_params($target, $label, $params, $center=true) function hyperlink_params_td($target, $label, $params) { echo ""; - hyperlink_params($target, $label, $params); + hyperlink_params($target, $label, $params, false); echo "\n"; } @@ -192,13 +192,18 @@ function br($num=1) $ajax_divs = array(); -function div_start($id='') +function div_start($id='', $trigger=null, $non_ajax=false) { global $ajax_divs; - array_push($ajax_divs, $id); - echo "
"; - ob_start(); + if ($non_ajax) { // div for non-ajax elements + array_push($ajax_divs, array($id, null)); + echo "