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");
function page($title, $no_menu=false, $is_index=false, $onload="", $js="", $script_only=false)
{
- global $path_to_root, $installed_extensions;
+ global $path_to_root;
$hide_menu = $no_menu;
- if ($no_menu==false && count($installed_extensions))
- {
- global $applications;
- foreach ($installed_extensions as $ext)
- {
- $s = $applications['system'];
- array_pop($applications);
- $applications[$ext['name']] = $ext['title'];;
- $applications['system'] = $s;
- }
- }
include($path_to_root . "/includes/page/header.inc");
page_header($title, $no_menu, $is_index, $onload, $js);
- error_box();
+// error_box();
if($script_only) {
echo '<noscript>';
echo display_heading(_('This page is usable only with javascript enabled browsers.'));