Fix bad link

This commit is contained in:
Laurent Destailleur 2019-09-02 04:38:36 +02:00
parent 42defc31bd
commit a040d7eccc
3 changed files with 6 additions and 7 deletions

View File

@ -80,12 +80,12 @@ if ($action == 'dolibarr2ldap')
* View
*/
$form = new Form($db);
$title = (! empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT) ? $langs->trans("Contacts") : $langs->trans("ContactsAddresses"));
llxHeader('', $title, 'EN:Module_Third_Parties|FR:Module_Tiers|ES:Módulo_Empresas');
$form = new Form($db);
$head = contact_prepare_head($object);
dol_fiche_head($head, 'ldap', $title, -1, 'contact');

View File

@ -95,10 +95,9 @@ if ($action == 'dolibarr2ldap')
* View
*/
llxHeader();
$form = new Form($db);
llxHeader();
$head = group_prepare_head($object);
@ -106,7 +105,7 @@ dol_fiche_head($head, 'ldap', $langs->trans("Group"), -1, 'group');
$linkback = '<a href="'.DOL_URL_ROOT.'/user/group/list.php?restore_lastsearch_values=1">'.$langs->trans("BackToList").'</a>';
dol_banner_tab($object, 'id', $linback, $user->rights->user->user->lire || $user->admin);
dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin);
print '<div class="fichecenter">';
print '<div class="underbanner clearboth"></div>';

View File

@ -86,10 +86,10 @@ if (empty($reshook))
* View
*/
llxHeader();
$form = new Form($db);
llxHeader();
$head = user_prepare_head($object);
$title = $langs->trans("User");