Fix primary contact radio boxes checked status in IE7

This commit is contained in:
james 2010-02-03 16:53:19 +00:00
parent 29074faacd
commit 715afc8e59

View File

@ -704,8 +704,8 @@ function draw_contact_form($sponsor_id, $contact = null){
<tr>
<td><?=i18n("Primary Contact")?></td>
<td>
<label><?=i18n("Yes")?><input type="radio" name="primary" value="yes" <?php if($contact['primary'] == 'yes') echo "CHECKED";?></label>
<label><?=i18n("No")?><input type="radio" name="primary" value="no" <?php if($contact['primary'] != 'yes') echo "CHECKED";?>></label>
<label><?=i18n("Yes")?><input type="radio" name="primary" value="yes" <? if($contact['primary'] == 'yes') echo "checked=\"checked\"";?></label>
<label><?=i18n("No")?><input type="radio" name="primary" value="no" <? if($contact['primary'] != 'yes') echo "checked=\"checked\"";?>></label>
</td>
<?php
echo "<td align=\"center\"><input $newcontactsave type=\"submit\" value=\"" . i18n("Save") . "\" onClick=\"return contactsinfo_save('" . $id . "')\" /></td>";