diff --git a/htdocs/comm/propal/apercu.php b/htdocs/comm/propal/apercu.php index 51959cee4f7..1e6a30ccc5a 100644 --- a/htdocs/comm/propal/apercu.php +++ b/htdocs/comm/propal/apercu.php @@ -2,6 +2,7 @@ /* Copyright (C) 2002-2005 Rodolphe Quiedeville * Copyright (C) 2004 Éric Seigne * Copyright (C) 2004-2005 Laurent Destailleur + * Copyright (C) 2005 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 @@ -38,6 +39,7 @@ if (!$user->rights->propale->lire) $langs->load('propal'); $langs->load("bills"); +$langs->load('compta'); require_once(DOL_DOCUMENT_ROOT.'/propal.class.php'); diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php index 4e6633dc3c6..768c146a6ab 100644 --- a/htdocs/comm/propal/document.php +++ b/htdocs/comm/propal/document.php @@ -37,7 +37,7 @@ $user->getrights('propale'); if (!$user->rights->propale->lire) accessforbidden(); - +$langs->load('compta'); llxHeader(); diff --git a/htdocs/comm/propal/info.php b/htdocs/comm/propal/info.php index 9b38a17d4b7..467e4e9b787 100644 --- a/htdocs/comm/propal/info.php +++ b/htdocs/comm/propal/info.php @@ -1,6 +1,7 @@ * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2005 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 @@ -31,6 +32,7 @@ require('./pre.inc.php'); $langs->load('propal'); +$langs->load('compta'); $user->getrights('propale'); if (!$user->rights->propale->lire) diff --git a/htdocs/comm/propal/note.php b/htdocs/comm/propal/note.php index 1c699e33cac..2355f85934e 100644 --- a/htdocs/comm/propal/note.php +++ b/htdocs/comm/propal/note.php @@ -2,6 +2,7 @@ /* Copyright (C) 2004 Rodolphe Quiedeville * Copyright (C) 2004-2005 Laurent Destailleur * Copyright (C) 2004 Eric Seigne + * Copyright (C) 2005 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 @@ -32,6 +33,7 @@ require('./pre.inc.php'); require_once(DOL_DOCUMENT_ROOT."/propal.class.php"); $langs->load('propal'); +$langs->load('compta'); $user->getrights('propale'); if (!$user->rights->propale->lire)