Skip to content
Snippets Groups Projects
Commit e62595b0 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #3204 from hregis/3.8_story2

Fix: wrong translation
parents 085ecba1 e6e39ae0
No related branches found
No related tags found
No related merge requests found
<?php <?php
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2005-2015 Regis Houssin <regis.houssin@capnetworks.com>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
...@@ -30,6 +30,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/contact.lib.php'; ...@@ -30,6 +30,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/contact.lib.php';
$langs->load("companies"); $langs->load("companies");
// Security check // Security check
$contactid = GETPOST("id",'int'); $contactid = GETPOST("id",'int');
if ($user->societe_id) $socid=$user->societe_id; if ($user->societe_id) $socid=$user->societe_id;
...@@ -40,8 +41,9 @@ $result = restrictedArea($user, 'contact', $contactid, 'socpeople&societe'); ...@@ -40,8 +41,9 @@ $result = restrictedArea($user, 'contact', $contactid, 'socpeople&societe');
/* /*
* View * View
*/ */
$title = (! empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT) ? $langs->trans("Contacts") : $langs->trans("ContactsAddresses"));
llxHeader('',$langs->trans("ContactsAddresses"),'EN:Module_Third_Parties|FR:Module_Tiers|ES:M&oacute;dulo_Empresas'); llxHeader('',$title,'EN:Module_Third_Parties|FR:Module_Tiers|ES:M&oacute;dulo_Empresas');
$contact = new Contact($db); $contact = new Contact($db);
...@@ -51,7 +53,7 @@ $contact->info($contactid); ...@@ -51,7 +53,7 @@ $contact->info($contactid);
$head = contact_prepare_head($contact); $head = contact_prepare_head($contact);
dol_fiche_head($head, 'info', $langs->trans("ContactsAddresses"), 0, 'contact'); dol_fiche_head($head, 'info', $title, 0, 'contact');
print '<table width="100%"><tr><td>'; print '<table width="100%"><tr><td>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment