Get Status from getLibStatus !
This commit is contained in:
parent
6d8871b4cf
commit
652d7db0b4
@ -658,6 +658,7 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
|
|
||||||
print '<td>';
|
print '<td>';
|
||||||
$contactstatic->id = $obj->rowid;
|
$contactstatic->id = $obj->rowid;
|
||||||
|
$contactstatic->statut = $obj->statut;
|
||||||
$contactstatic->lastname = $obj->lastname;
|
$contactstatic->lastname = $obj->lastname;
|
||||||
$contactstatic->firstname = $obj->firstname;
|
$contactstatic->firstname = $obj->firstname;
|
||||||
print $contactstatic->getNomUrl(1);
|
print $contactstatic->getNomUrl(1);
|
||||||
@ -687,8 +688,9 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($obj->statut==0) print '<td>'.$langs->trans('Disabled').' </span>'.img_picto($langs->trans('StatusContactDraftShort'),'statut0').'</td>';
|
print '<td>';
|
||||||
elseif ($obj->statut==1) print '<td>'.$langs->trans('Enabled').' </span>'.img_picto($langs->trans('StatusContactValidatedShort'),'statut1').'</td>';
|
print $contactstatic->getLibStatut(3);
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
// copy in clipboard
|
// copy in clipboard
|
||||||
$coords = '';
|
$coords = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user