From 15183b125ba66f40597fdbc463dbc60d43fff26c Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Mon, 28 Nov 2011 14:10:15 +0000 Subject: [PATCH] fix several cosmetic --- html/admin/setup.php | 1 + html/user_pref.php | 1 - include/class_user.php | 4 ++-- include/constant.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/admin/setup.php b/html/admin/setup.php index 750f2622d..e4750b97a 100644 --- a/html/admin/setup.php +++ b/html/admin/setup.php @@ -205,6 +205,7 @@ require_once('config_file.php'); include_once('constant.php'); require_once('class_database.php'); echo "

Configuration

"; +echo __LINE__; ?>

Info

Vous utilisez le domaine diff --git a/html/user_pref.php b/html/user_pref.php index 56336a5c9..24542e7f9 100644 --- a/html/user_pref.php +++ b/html/user_pref.php @@ -29,7 +29,6 @@ require_once('class_database.php'); $Rep=new Database(); include_once ("class_user.php"); require_once('class_dossier.php'); -$cn=new Database(); /* if the dossier is not set then we have to connect to the * account_repository database diff --git a/include/class_user.php b/include/class_user.php index 180e5300a..0a0c3f6b8 100644 --- a/include/class_user.php +++ b/include/class_user.php @@ -615,7 +615,7 @@ class User function insert_default_global_pref($p_type="", $p_value="") { - $default_parameter = array("THEME" => "Light", + $default_parameter = array("THEME" => "classic", "PAGESIZE" => "50", 'TOPMENU' => 'TEXT', 'LANG' => 'fr_FR.utf8'); @@ -648,7 +648,7 @@ class User function update_global_pref($p_type, $p_value="") { - $default_parameter = array("THEME" => "Light", + $default_parameter = array("THEME" => "classic", "PAGESIZE" => "50", "LANG" => 'fr_FR.utf8', 'TOPMENU' => 'SELECT'); diff --git a/include/constant.php b/include/constant.php index 8bacb0d06..cd5e8b41c 100644 --- a/include/constant.php +++ b/include/constant.php @@ -41,7 +41,7 @@ $g_captcha=false; * */ $version_phpcompta=4444; -define ("DEBUG",true); +define ("DEBUG",false); define ("DBVERSION",98); define ("DBVERSIONREPO",14);