diff --git a/htdocs/core/tpl/contacts.tpl.php b/htdocs/core/tpl/contacts.tpl.php index e085342cf19..dc97d84e9b6 100644 --- a/htdocs/core/tpl/contacts.tpl.php +++ b/htdocs/core/tpl/contacts.tpl.php @@ -1,5 +1,6 @@ +/* Copyright (C) 2012 Regis Houssin + * Copyright (C) 2013 Laurent Destailleur * * 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 @@ -13,7 +14,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * */ if (! class_exists('Contact')) { @@ -40,83 +40,81 @@ $userstatic=new User($db); ?> - +
-
- - - - - - + +
trans("Source"); ?>
+
trans("Company"); ?>
+
trans("Contacts"); ?>
+
trans("ContactType"); ?>
+
 
+
 
+ - " /> - - > - - - - - - +
trans("Users"); ?>
+
global->MAIN_INFO_SOCIETE_NOM; ?>
+
select_dolusers($user->id, 'userid', 0, (! empty($userAlreadySelected)?$userAlreadySelected:null), 0, null, null, 0, 56); ?>
+
selectTypeContact($object, '', 'type','internal'); ?>
+
 
+
">
- " /> - - - - - > - + action="id; ?>" method="POST"> + + + + +
trans("ThirdPartyContacts"); ?>
use_javascript_ajax && ! empty($conf->global->COMPANY_USE_SEARCH_TO_SELECT)) { ?> - - + - - + - - - + - - - - - - - - + +
trans("Source"); ?>
+
trans("Company"); ?>
+
trans("Contacts"); ?>
+
trans("ContactType"); ?>
+
trans("Status"); ?>
+
 
+ @@ -130,12 +128,12 @@ $userstatic=new User($db); $var = !$var; ?> - valign="top"> - - - - - - - + + -
trans("Source"); ?>trans("Company"); ?>trans("Contacts"); ?>trans("ContactType"); ?> 
trans("Users"); ?>global->MAIN_INFO_SOCIETE_NOM; ?>select_dolusers($user->id,'userid',0,(! empty($userAlreadySelected)?$userAlreadySelected:'')); ?>selectTypeContact($object, '', 'type','internal'); ?>">
trans("ThirdPartyContacts"); ?> +
'getContacts', 'url' => dol_buildpath('/core/ajax/contacts.php',1), 'htmlname' => 'contactid', 'params' => array('add-customer-contact' => 'disabled')); print $form->select_company($object->socid,'socid','',1,0,0,$events); ?> -
+ +
select_contacts($object->socid, '', 'contactid'); ?> -
+
socid; ?> selectCompaniesForNewContact($object, 'id', $selectedCompany, 'newcompany'); ?> -
+ +
select_contacts($selectedCompany, '', 'contactid'); ?> -
+
selectTypeContact($object, '', 'type','external'); ?> -
+ +
 
+
"> -
trans("Source"); ?>trans("Company"); ?>trans("Contacts"); ?>trans("ContactType"); ?>trans("Status"); ?> 
+
> +
trans("User"); ?> trans("ThirdPartyContact"); ?> -
+ +
0) { @@ -151,8 +149,8 @@ $userstatic=new User($db); echo ' '; } ?> -
+ +
getNomUrl(1); } ?> -
+ +
+
+ +
 "> -
- \ No newline at end of file + +