! -> Note
$ -> Affected files
+15-Jan-2010 Joe Hunt
+# [0000190] Back link on confirmation only pages removed.
+$ /includes/page/footer.inc
+ /includes/ui/ui_view.inc
+ /includes/main.inc
+
14-Jan-2010 Joe Hunt
# A couple of small bugs were fixed in average material cost
$ /purchasing/includes/db/grn_db.inc
}
}
-function end_page($no_menu=false, $is_index=false)
+function end_page($no_menu=false, $is_index=false, $hide_back_link=false)
{
global $path_to_root, $Ajax;
$hide_menu = $no_menu;
div_end(); // _page_body section
include($path_to_root . "/includes/page/footer.inc");
- page_footer($no_menu, $is_index);
+ page_footer($no_menu, $is_index, $hide_back_link);
}
function flush_dir($path, $wipe = false)
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-function page_footer($no_menu=false, $is_index=false)
+function page_footer($no_menu=false, $is_index=false, $hide_back_link=false)
{
global $path_to_root, $js_lib, $Validate, $Editors, $Ajax;
- if (!$is_index && function_exists('hyperlink_back'))
+ if (!$is_index && !$hide_back_link && function_exists('hyperlink_back'))
hyperlink_back();
include_once($path_to_root."/themes/".user_theme()."/renderer.php");
$rend = new renderer();
function display_footer_exit()
{
br(2);
- end_page();
+ end_page(false, false, true);
exit;
}