Fix: Load language files

This commit is contained in:
Laurent Destailleur
2011-07-02 17:33:24 +00:00
parent 385f462929
commit c39d77e1d1
4 changed files with 13 additions and 8 deletions

View File

@@ -25,7 +25,7 @@
* \file htdocs/fichinter/document.php
* \ingroup fichinter
* \brief Page des documents joints sur les contrats
* \version $Id$
* \version $Id: document.php,v 1.20 2011/07/02 17:33:24 eldy Exp $
*/
require("../main.inc.php");
@@ -37,6 +37,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/class/html.formfile.class.php");
$langs->load("other");
$langs->load("fichinter");
$langs->load("companies");
$langs->load("interventions");
$fichinterid = GETPOST("id");
$action = GETPOST("action");
@@ -173,5 +174,5 @@ else
$db->close();
llxFooter('$Date$ - $Revision$');
llxFooter('$Date: 2011/07/02 17:33:24 $ - $Revision: 1.20 $');
?>

View File

@@ -22,7 +22,7 @@
* \file htdocs/fichinter/info.php
* \ingroup fichinter
* \brief Page d'affichage des infos d'une fiche d'intervention
* \version $Id$
* \version $Id: info.php,v 1.14 2011/07/02 17:33:24 eldy Exp $
*/
require("../main.inc.php");
@@ -31,6 +31,7 @@ require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php");
require_once(DOL_DOCUMENT_ROOT."/lib/fichinter.lib.php");
$langs->load('companies');
$langs->load("interventions");
$fichinterid = GETPOST("id");
@@ -64,5 +65,5 @@ print '</div>';
$db->close();
llxFooter('$Date$ - $Revision$');
llxFooter('$Date: 2011/07/02 17:33:24 $ - $Revision: 1.14 $');
?>

View File

@@ -21,7 +21,7 @@
* \file htdocs/fichinter/note.php
* \ingroup fichinter
* \brief Fiche d'information sur une fiche d'intervention
* \version $Id$
* \version $Id: note.php,v 1.18 2011/07/02 17:33:24 eldy Exp $
*/
require("../main.inc.php");
@@ -29,6 +29,7 @@ require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php");
require_once(DOL_DOCUMENT_ROOT."/lib/fichinter.lib.php");
$langs->load('companies');
$langs->load("interventions");
$fichinterid = GETPOST("id");
$action=GETPOST("action");
@@ -167,5 +168,5 @@ if ($fichinterid)
}
}
$db->close();
llxFooter('$Date$ - $Revision: 1.15 ');
llxFooter('$Date: 2011/07/02 17:33:24 $ - $Revision: 1.15 ');
?>

View File

@@ -17,12 +17,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Id: rapport.php,v 1.25 2011/07/02 17:33:24 eldy Exp $
*/
require("../main.inc.php");
require_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
$langs->load("interventions");
// Security check
if ($user->societe_id) $socid=$user->societe_id;
$result = restrictedArea($user, 'ficheinter', $fichinterid, 'fichinter');
@@ -142,5 +144,5 @@ else
}
$db->close();
llxFooter("$Date$ - $Revision$");
llxFooter("$Date: 2011/07/02 17:33:24 $ - $Revision: 1.25 $");
?>