X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fmain.inc;h=db1576bf50d748ad38b2b0bdd7b1b160dfcba57d;hb=a3b394e516743dba27de10a7aa1f31aa5596e117;hp=5d4371ba68d6c0efbfa1e2fdb52e7271db0f84be;hpb=0beb325a748bb32dbf312c55e0afea57e7380972;p=fa-stable.git diff --git a/includes/main.inc b/includes/main.inc index 5d4371ba..db1576bf 100644 --- a/includes/main.inc +++ b/includes/main.inc @@ -11,31 +11,31 @@ ***********************************************************************/ include_once($path_to_root . "/includes/db/connect_db.inc"); -include_once($path_to_root . "/includes/reserved.inc"); -include_once($path_to_root . "/includes/errors.inc"); include_once($path_to_root . "/includes/types.inc"); include_once($path_to_root . "/includes/systypes.inc"); include_once($path_to_root . "/includes/references.inc"); -include_once($path_to_root . "/includes/prefs/sysprefs.inc"); include_once($path_to_root . "/includes/db/comments_db.inc"); include_once($path_to_root . "/includes/db/sql_functions.inc"); +include_once($path_to_root . "/includes/db/audit_trail_db.inc"); +//include_once($path_to_root . "/includes/validation.inc"); include_once($path_to_root . "/admin/db/users_db.inc"); include_once($path_to_root . "/includes/ui/ui_view.inc"); include_once($path_to_root . "/includes/ui/ui_controls.inc"); -include_once($path_to_root . "/installed_extensions.php"); -function page($title, $no_menu=false, $is_index=false, $onload="", $js="", $script_only=false) +function page($title, $no_menu=false, $is_index=false, $onload="", $js="", $script_only=false, $css='') { - global $path_to_root; + global $path_to_root, $page_security; + $hide_menu = $no_menu; include($path_to_root . "/includes/page/header.inc"); - page_header($title, $no_menu, $is_index, $onload, $js); - error_box(); + page_header($title, $no_menu, $is_index, $onload, $js, $css); + check_page_security($page_security); +// error_box(); if($script_only) { echo '