diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php index 0cdbccf7f8f..e120f5844c9 100644 --- a/htdocs/categories/index.php +++ b/htdocs/categories/index.php @@ -3,7 +3,7 @@ * Copyright (C) 2005 Éric Seigne * Copyright (C) 2006-2009 Laurent Destailleur * Copyright (C) 2007 Patrick Raguin - * Copyright (C) 2005-2008 Regis Houssin + * Copyright (C) 2005-2009 Regis Houssin * * 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 diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php index 4ab7c79083a..eac313ea74c 100644 --- a/htdocs/compta/charges/index.php +++ b/htdocs/compta/charges/index.php @@ -28,6 +28,8 @@ require("./pre.inc.php"); require_once(DOL_DOCUMENT_ROOT."/compta/tva/tva.class.php"); +$langs->load("compta"); + // Security check if ($user->societe_id) $socid=$user->societe_id; $result = restrictedArea($user, 'tax', '', '', 'charges'); diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index a12228ad2a9..564dd5aea7a 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -1,7 +1,7 @@ * Copyright (C) 2004-2009 Laurent Destailleur - * Copyright (C) 2005-2007 Regis Houssin + * Copyright (C) 2005-2009 Regis Houssin * * 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 @@ -485,7 +485,7 @@ if ($_GET["action"] == 'create') print "
"; print ''; print ""; print '\n"; print '
".$langs->trans("Company").""; - $html->select_societes('','socid','',1); + $html->select_societes('','socid','s.client = 1',1); print "
'; print ""; @@ -792,7 +792,7 @@ elseif ($_GET["id"] > 0) print '
'; - // �diteur wysiwyg + // editeur wysiwyg if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php");