X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fmain.inc;h=55a97b2bc80d0c01dbbd8a00f23886e0bf273919;hb=4d3a86a9286de3f4d5552ad2aa237a91df6aa689;hp=e45f5973856f65c3dd4b55ca3036bac4963f4fd8;hpb=ce2a1cae35df4f60c3b993d79cb9eb65cb2cb82e;p=fa-stable.git diff --git a/includes/main.inc b/includes/main.inc index e45f5973..55a97b2b 100644 --- a/includes/main.inc +++ b/includes/main.inc @@ -11,32 +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 . "/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); + page_header($title, $no_menu, $is_index, $onload, $js, $css); + check_page_security($page_security); // error_box(); if($script_only) { echo '