* Copyright (C) 2012-2022 Philippe Grand * * 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; echo "\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']; } ?>
trans("Ref"); ?> control->tpl['showrefnav']; ?>
trans("Lastname"); ?> control->tpl['name']; ?> trans("Firstname"); ?> control->tpl['firstname']; ?>
trans("Company"); ?> control->tpl['company']; ?>
trans("UserTitle"); ?> control->tpl['civility']; ?>
trans("Morphy"); ?> control->tpl['select_morphy']; ?>
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['state']; ?>
trans("PhonePro"); ?> control->tpl['phone_pro']; ?> trans("PhonePerso"); ?> control->tpl['phone_perso']; ?>
trans("PhoneMobile"); ?> control->tpl['phone_mobile']; ?>
trans("EMail"); ?> control->tpl['email']; ?>
trans("ContactVisibility"); ?> control->tpl['visibility']; ?>
trans("Note"); ?> control->tpl['note']; ?>
trans("DolibarrLogin"); ?> control->tpl['dolibarr_user']; ?>
control->tpl['showend']; if (empty($user->socid)) { echo '
'; if ($user->hasRight('adherent', 'creer')) { echo ''.$langs->trans('Modify').''; } if (!$this->control->tpl['user_id'] && $user->rights->user->user->creer) { echo ''.$langs->trans("CreateDolibarrLogin").''; } if ($user->rights->adherent->supprimer) { print dolGetButtonAction($langs->trans("Delete"), '', 'delete', $_SERVER["PHP_SELF"].'?id='.$this->control->tpl['id'].'&action=delete&token='.newToken().'&canvas='.$canvas, 'delete', $user->rights->adherent->supprimer); } echo '

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