28 print
"Error, template page can't be called as URL";
33$contact = $GLOBALS[
'objcanvas']->control->object;
37<!-- BEGIN PHP TEMPLATE ADHERENTCARD_EDIT.TPL.PHP DEFAULT -->
44echo $this->control->tpl[
'ajax_selectcountry'];
49<form method=
"post" name=
"formmember" action=
"<?php echo $_SERVER["PHP_SELF
"].'?id='.GETPOST('id', 'int'); ?>">
50<input
type=
"hidden" name=
"token" value=
"<?php echo newToken(); ?>">
51<input
type=
"hidden" name=
"canvas" value=
"<?php echo $canvas ?>">
52<input
type=
"hidden" name=
"id" value=
"<?php echo GETPOST('id', 'int'); ?>">
53<input
type=
"hidden" name=
"action" value=
"update">
54<input
type=
"hidden" name=
"adherentid" value=
"<?php echo $this->control->tpl['id']; ?>">
55<input
type=
"hidden" name=
"old_name" value=
"<?php echo $this->control->tpl['name']; ?>">
56<input
type=
"hidden" name=
"old_firstname" value=
"<?php echo $this->control->tpl['firstname']; ?>">
57<?php
if (!empty($this->control->tpl[
'company_id'])) { ?>
58<input
type=
"hidden" name=
"socid" value=
"<?php echo $this->control->tpl['company_id']; ?>">
61<
table class=
"border allwidth">
64 <td><?php echo $langs->trans(
"Ref"); ?></td>
65 <td colspan=
"3"><?php echo $this->control->tpl[
'ref']; ?></td>
69 <td width=
"15%" class=
"fieldrequired"><?php echo $langs->trans(
"Lastname").
' / '.$langs->trans(
"Label"); ?></td>
70 <td><input
name=
"lastname" type=
"text" size=
"30" maxlength=
"80" value=
"<?php echo $this->control->tpl['name']; ?>"></td>
71 <td width=
"20%"><?php echo $langs->trans(
"Firstname"); ?></td>
72 <td width=
"25%"><input
name=
"firstname" type=
"text" size=
"30" maxlength=
"80" value=
"<?php echo $this->control->tpl['firstname']; ?>"></td>
76 <td><?php echo $langs->trans(
"Company"); ?></td>
77 <td colspan=
"3"><?php echo $this->control->tpl[
'company']; ?></td>
81 <td width=
"15%"><?php echo $langs->trans(
"UserTitle"); ?></td>
82 <td colspan=
"3"><?php echo $this->control->tpl[
'select_civility']; ?></td>
86 <td><?php echo $langs->trans(
"Morphy"); ?></td>
87 <td colspan=
"3"><input
name=
"poste" type=
"text" class=
"minwidth200" maxlength=
"80" value=
"<?php echo $this->control->tpl['select_morphy']; ?>"></td>
91 <td><?php echo $langs->trans(
"Address"); ?></td>
92 <td colspan=
"3"><textarea
class=
"flat" name=
"address" cols=
"70"><?php echo $this->control->tpl[
'address']; ?></textarea></td>
96 <td><?php echo $langs->trans(
"Zip").
' / '.$langs->trans(
"Town"); ?></td>
97 <td colspan=
"3"><?php echo $this->control->tpl[
'select_zip'].
' '.$this->control->tpl[
'select_town']; ?></td>
101 <td><?php echo $langs->trans(
"Country"); ?></td>
102 <td colspan=
"3"><?php echo $this->control->tpl[
'select_country'].$this->control->tpl[
'info_admin']; ?></td>
106 <td><?php echo $langs->trans(
'State'); ?></td>
107 <td colspan=
"3"><?php echo $this->control->tpl[
'select_state']; ?></td>
111 <td><?php echo $langs->trans(
"PhonePro"); ?></td>
112 <td><input
name=
"phone_pro" type=
"text" size=
"18" maxlength=
"80" value=
"<?php echo $this->control->tpl['phone_pro']; ?>"></td>
113 <td><?php echo $langs->trans(
"PhonePerso"); ?></td>
114 <td><input
name=
"phone_perso" type=
"text" size=
"18" maxlength=
"80" value=
"<?php echo $this->control->tpl['phone_perso']; ?>"></td>
118 <td><?php echo $langs->trans(
"PhoneMobile"); ?></td>
119 <td><input
name=
"phone_mobile" type=
"text" size=
"18" maxlength=
"80" value=
"<?php echo $this->control->tpl['phone_mobile']; ?>"></td>
123 <td><?php echo $langs->trans(
"Email"); ?></td>
124 <td><input
name=
"email" type=
"text" class=
"minwidth200" maxlength=
"80" value=
"<?php echo $this->control->tpl['email']; ?>"></td>
128 <td><?php echo $langs->trans(
"ContactVisibility"); ?></td>
129 <td colspan=
"3"><?php echo $this->control->tpl[
'select_visibility']; ?></td>
133 <td
class=
"tdtop"><?php echo $langs->trans(
"Note"); ?></td>
134 <td colspan=
"3" class=
"tdtop"><textarea
name=
"note" cols=
"70" rows=
"<?php echo ROWS_3; ?>"><?php echo $this->control->tpl[
'note']; ?></textarea></td>
138 <td><?php echo $langs->trans(
"DolibarrLogin"); ?></td>
139 <td colspan=
"3"><?php echo $this->control->tpl[
'dolibarr_user']; ?></td>
143 <td colspan=
"4" class=
"center">
144 <input
type=
"submit" class=
"button button-save" name=
"save" value=
"<?php echo $langs->trans("Save
"); ?>">
145 <input
type=
"submit" class=
"button button-cancel" name=
"cancel" value=
"<?php echo $langs->trans("Cancel
"); ?>">
153<!-- END PHP TEMPLATE -->
load_fiche_titre($title, $morehtmlright='', $picto='generic', $pictoisfullpath=0, $id='', $morecssontable='', $morehtmlcenter='')
Load a title with picto.
dol_htmloutput_errors($mesgstring='', $mesgarray=array(), $keepembedded=0)
Print formatted error messages to output (Used to show messages on html output).
treeview li table
No Email.
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...
if(preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
$conf db name
Only used if Module[ID]Name translation string is not found.