diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index 3be7d8111c4..99e387e15e1 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2007 Laurent Destailleur + * Copyright (C) 2004-2008 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,14 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ */ /** - \file htdocs/admin/company.php - \brief Page d'accueil de l'espace administration/configuration - \version $Revision$ + \file htdocs/admin/company.php + \ingroup company + \brief Page d'accueil de l'espace administration/configuration + \version $Id$ */ require("./pre.inc.php"); @@ -676,7 +675,7 @@ else print ''; print ''; - /* + /* * Début d'année fiscale */ print '
'; @@ -688,7 +687,8 @@ else $var=!$var; print ''.$langs->trans("FiscalMonthStart").''; - print monthArrayOrSelected($conf->global->SOCIETE_FISCAL_MONTH_START) . ''; + $monthstart=! emptpy($conf->global->SOCIETE_FISCAL_MONTH_START)? $conf->global->SOCIETE_FISCAL_MONTH_START : 1; + print monthArrayOrSelected($monthstart) . ''; print ""; diff --git a/htdocs/admin/compta.php b/htdocs/admin/compta.php index eb83a606014..ae112662190 100644 --- a/htdocs/admin/compta.php +++ b/htdocs/admin/compta.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2006 Laurent Destailleur + * Copyright (C) 2004-2008 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,15 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ */ /** \file htdocs/admin/compta.php \ingroup comptabilite \brief Page de configuration du module comptabilit� - \version $Revision$ + \version $Id$ */ require('./pre.inc.php'); @@ -83,7 +81,7 @@ print '
'; print ''; -// Cas du param�tre COMPTA_MODE +// Cas du parametre COMPTA_MODE print ''; print ''; print ''; @@ -100,7 +98,7 @@ print "
\n"; print "
\n"; -// Cas des autres param�tres COMPTA_* +// Cas des autres parametres COMPTA_* $sql ="SELECT rowid, name, value, type, note"; $sql.=" FROM llx_const"; $sql.=" WHERE name like 'COMPTA_%' and name not in ('COMPTA_MODE')"; @@ -130,8 +128,13 @@ if ($result) print ''; print ''; - print ''.stripslashes(nl2br($obj->note))."\n"; - + + // Param + print ''.stripslashes(nl2br($obj->note)); + print $obj->name; + print "\n"; + + // Value print ''; if ($obj->type == 'yesno') { diff --git a/htdocs/compta/bank/pre.inc.php b/htdocs/compta/bank/pre.inc.php index 89249ccb739..3426a0dcd7a 100644 --- a/htdocs/compta/bank/pre.inc.php +++ b/htdocs/compta/bank/pre.inc.php @@ -1,7 +1,7 @@ * Copyright (C) 2003 Jean-Louis Bergamo - * Copyright (C) 2004-2007 Laurent Destailleur + * Copyright (C) 2004-2008 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,14 +16,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ */ /** \file htdocs/compta/bank/pre.inc.php \ingroup compta \brief Fichier gestionnaire du menu compta banque + \version $Id$ */ require_once("../../main.inc.php");