X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_controls.inc;h=b237889d745c2ee2fe69727375b1bbd884487fb3;hb=cc36638b65572da4867b7622723d6ed0135525b8;hp=b05eaa80c64365e5ebdb2ebcb6dc7b34b2e016da;hpb=cf7be1f00c6abe59755286e0c3108d9d3c0356da;p=fa-stable.git diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index b05eaa80..b237889d 100644 --- a/includes/ui/ui_controls.inc +++ b/includes/ui/ui_controls.inc @@ -142,7 +142,7 @@ function hyperlink_no_params($target, $label, $center=true) $target = $_SERVER['PHP_SELF']; if ($center) echo "
"; - echo "$pars[0]\n"; + echo "$pars[0]\n"; if ($center) echo "
"; } @@ -196,9 +196,9 @@ function submenu_view($title, $type, $number, $id=null) display_note(get_trans_view_str($type, $number, $title, false, 'menu_option', $id), 0, 1); } -function submenu_print($title, $type, $number, $id=null) +function submenu_print($title, $type, $number, $id=null, $email=0) { - display_note(print_document_link($number, $title, true, $type, false, 'menu_option', $id), 0, 1); + display_note(print_document_link($number, $title, true, $type, false, 'menu_option', $id, $email), 0, 1); } //----------------------------------------------------------------------------------- @@ -232,7 +232,7 @@ function hyperlink_params_separate($target, $label, $params, $center=false) $pars = access_string($label); if ($center) echo "
"; - echo "$pars[0]\n"; + echo "$pars[0]\n"; if ($center) echo "
"; }