// return array($security_areas, $security_sections);
}
+ //
+ // Invoked for all modules before page header is displayed
+ //
+ function pre_header($fun_args)
+ {
+ }
+ //
+ // Invoked for all modules before page footer is displayed
+ //
+ function pre_footer($fun_args)
+ {
+ }
+
//
// Price in words. $doc_type is set to document type and can be used to suppress
// price in words printing for selected document types.
{
global $path_to_root, $js_lib, $Validate, $Editors, $Ajax, $sql_queries;
+ $page_header_args = func_get_args();
+ hook_invoke_all('pre_footer', $page_header_args);
+
include_once($path_to_root."/themes/".user_theme()."/renderer.php");
$rend = new renderer();
$rend->menu_footer($no_menu, $is_index);
if (isset($_SESSION["App"]) && is_object($_SESSION["App"]))
$_SESSION["App"]->selected_application =
isset($_SESSION["App"]->applications[$sel_app]) ? $sel_app : 'orders';
-
+
+ $page_header_args = func_get_args();
+ hook_invoke_all('pre_header', $page_header_args);
+
$encoding = $_SESSION['language']->encoding;
if (!headers_sent()){