X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fmain.inc;h=2f0481334175c3e29b4104f86ca9ddaaabfb5bbb;hb=7bb664bfb8a14372f289b3184d8a34b66d65cfcd;hp=be80677f5389f9b9948cca7ceae69a8bbcb1ddcb;hpb=2dc462a7fa1972d04b569fb7156747c59bf6d069;p=fa-stable.git diff --git a/includes/main.inc b/includes/main.inc index be80677f..2f048133 100644 --- a/includes/main.inc +++ b/includes/main.inc @@ -13,6 +13,7 @@ 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"); function page($title, $no_menu=false, $is_index=false, $onload="", $js="") { @@ -25,6 +26,7 @@ page_header($title, $no_menu, $is_index, $onload, $js); error_box(); + div_start('_page_body'); // whole page content for ajax reloading } function end_page($no_menu=false, $is_index=false) @@ -33,9 +35,9 @@ $hide_menu = $no_menu; + div_end(); // _page_body section include($path_to_root . "/includes/page/footer.inc"); - $Ajax->run(); page_footer($no_menu, $is_index); }