Re: ADSLight et ses mises à jour | Titre du sujet : Re: ADSLight et ses mises à jour par Nikita sur 09/04/2013 10:32:47
Moi j'ai ça :
if ($contactby == 1) { $contactselect = _ADSLIGHT_CONTACT_BY_EMAIL; }
if ($contactby == 2) { $contactselect = _ADSLIGHT_CONTACT_BY_PM; }
if ($contactby == 3) { $contactselect = _ADSLIGHT_CONTACT_BY_BOTH; }
if ($contactby == 4) { $contactselect = _ADSLIGHT_CONTACT_BY_PHONE; }
echo " <td class='head'>"._ADSLIGHT_CONTACTBY." </td><td class='head'><select name="contactby">
<option value="".$contactby."">".$contactselect."</option>
<option value="1">"._ADSLIGHT_CONTACT_BY_EMAIL."</option>
<option value="2">"._ADSLIGHT_CONTACT_BY_PM."</option>
<option value="3">"._ADSLIGHT_CONTACT_BY_BOTH."</option>
<option value="4">"._ADSLIGHT_CONTACT_BY_PHONE."</option></select></td></tr>";
j'ai l'impression que tu as perdu quelques lignes en route
PS : quand tu mets des codes sur le forum frxoops , n'oublie pas des les entourer des balises "code"
|
|