hardkiffeur
Member
Hi evrybody ....
Before I've a calc doing exatly what I want !
At this time it's not return like before ....
my cal element cfg :
Calc on save No
Ajax No
Observer No
More :
Easy to expect a Font style return no ?
BUT I've this one now, for the return "$new"; Nouveau" />
Somebody ?
Before I've a calc doing exatly what I want !
At this time it's not return like before ....
my cal element cfg :
Calc on save No
Ajax No
Observer No
More :
PHP:
$type_contact = '{pg_contacts___type_raw}';
$new = '<FONT style="COLOR: grey">Nouveau</FONT>';
$debase = '<FONT style="COLOR: blue">De base</FONT>';
$inter = '<FONT style="COLOR: orange">Interress?</FONT>';
$invest = '<FONT style="COLOR: maroon">Investisseur</FONT>';
$option = '<FONT style="COLOR: fuchsia">Option possible</FONT>';
$resa = '<FONT style="COLOR: olive">R?servation possible</FONT>';
if ($type_contact == "debase")
{ return "$debase";
} else if ($type_contact == "inter")
{ return "$inter";
} else if ($type_contact == "option")
{ return "$option";
} else if ($type_contact == "invest")
{ return "$invest";
} else if ($type_contact == "resa")
{ return "$resa";
} else
{ return "$new";
}
Easy to expect a Font style return no ?
BUT I've this one now, for the return "$new"; Nouveau" />
Somebody ?