mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Fix: Load language files
This commit is contained in:
@@ -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 $');
|
||||
?>
|
||||
|
||||
@@ -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 $');
|
||||
?>
|
||||
|
||||
@@ -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 ');
|
||||
?>
|
||||
|
||||
@@ -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 $");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user