* * 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 * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ // Protection to avoid direct call of template if (empty($conf) || !is_object($conf)) { print "Error, template page can't be called as URL"; exit; } $contact = $GLOBALS['objcanvas']->control->object; print "\n"; echo $this->control->tpl['showhead']; dol_htmloutput_errors($this->control->tpl['error'], $this->control->tpl['errors']); if (!empty($this->control->tpl['action_create_user'])) { echo $this->control->tpl['action_create_user']; } if (!empty($this->control->tpl['action_delete'])) { echo $this->control->tpl['action_delete']; } ?> control->tpl['nb_emailing']) { ?> control->tpl['contact_element'] as $element) { ?>
trans("Ref"); ?> control->tpl['showrefnav']; ?>
trans("Lastname"); ?> control->tpl['name']; ?> trans("Firstname"); ?> control->tpl['firstname']; ?>
trans("ThirdParty"); ?> control->tpl['company']; ?>
trans("UserTitle"); ?> control->tpl['civility']; ?>
trans("PostOrFunction"); ?> control->tpl['poste']; ?>
trans("Address"); ?> control->tpl['address']; ?>
trans("Zip").' / '.$langs->trans("Town"); ?> control->tpl['zip'].$this->control->tpl['town']; ?>
trans("Country"); ?> control->tpl['country']; ?>
trans('State'); ?> control->tpl['departement']; ?>
trans("PhonePro"); ?> control->tpl['phone_pro']; ?> trans("PhonePerso"); ?> control->tpl['phone_perso']; ?>
trans("PhoneMobile"); ?> control->tpl['phone_mobile']; ?> trans("Fax"); ?> control->tpl['fax']; ?>
trans("EMail"); ?> control->tpl['email']; ?> trans("NbOfEMailingsReceived"); ?> control->tpl['nb_emailing']; ?>  
trans("ContactVisibility"); ?> control->tpl['visibility']; ?>
trans("Note"); ?> control->tpl['note']; ?>
trans("DolibarrLogin"); ?> control->tpl['dolibarr_user']; ?>
control->tpl['showend']; if (empty($user->socid)) { print '
'; if ($user->rights->societe->contact->creer) { print ''.$langs->trans('Modify').''; } if (!$this->control->tpl['user_id'] && $user->rights->user->user->creer) { print ''.$langs->trans("CreateDolibarrLogin").''; } if ($user->rights->societe->contact->supprimer) { print ''.$langs->trans('Delete').''; } print '

'; } echo $this->control->tpl['actionstodo']; echo $this->control->tpl['actionsdone']; print "\n";