95 |
function select_type_contact($contrat, $defValue, $htmlname = 'type', $source) |
function select_type_contact($contrat, $defValue, $htmlname = 'type', $source) |
96 |
{ |
{ |
97 |
$lesTypes = $contrat->liste_type_contact($source); |
$lesTypes = $contrat->liste_type_contact($source); |
98 |
print '<select size="0" name="'.$htmlname.'">'; |
print '<select class="flat" name="'.$htmlname.'">'; |
99 |
foreach($lesTypes as $key=>$value) |
foreach($lesTypes as $key=>$value) |
100 |
{ |
{ |
101 |
print '<option value="'.$key.'">'.$value.'</option>'; |
print '<option value="'.$key.'">'.$value.'</option>'; |