X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_controls.inc;h=ddef1bddf3491d083918f0ed8f03ef8433b0add8;hb=927ebef2443b6dda544056e33ec84b71d2bdb6c2;hp=311180c6e30b710936f4964c1dd4e269ee0e8ad8;hpb=1571869d54be48452fdbe08f25130972ff0a7b5a;p=fa-stable.git diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index 311180c6..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; @@ -184,14 +184,14 @@ function hyperlink_back($center=true, $no_menu=true, $type_no=0, $trans_no=0, $f { include_once($path_to_root."/admin/db/attachments_db.inc"); $id = has_attachment($type_no, $trans_no); - } + $attach = get_attachment_string($type_no, $trans_no); + echo $attach; + } $width = ($id != 0 ? "30%" : "20%"); start_table(false, "width=$width"); start_row(); if ($no_menu) { - if ($id != 0) - echo ""._("View Attachment")."\n"; echo ""._("Print")."\n"; } echo "".($no_menu ? _("Close") : _("Back"))."\n"; @@ -628,4 +628,3 @@ function page_modified($status = true) add_js_source($js); } -?> \ No newline at end of file