<table>
		<?php 
foreach ($fieldInfo as $field) {
    ?>
			<tr>
				<td><span class="mm-myaccount-dialog-label"><?php 
    echo $field->label;
    ?>
</span></td>
				<td>
				<span style="font-family:courier; font-size:11px; margin-top:5px;">
					<?php 
    if (!isset($data[$field->fieldId])) {
        $data[$field->fieldId] = "";
    }
    echo MM_CheckoutForm::generateInputFormField($field->fieldName, $data, $form, "mm-myaccount-form-field");
    ?>
				</span>
				</td>
			</tr>
		<?php 
}
?>
	</table>
</div>

<div class="mm-dialog-footer-container">
<div class="mm-dialog-button-container">
<a href="javascript:myaccount_js.updateMemberData(<?php 
echo $user->getId();
?>
Exemple #2
0
	<?php 
foreach ($fieldInfo as $field) {
    if ($field->fieldName != "ccexpirationdate" || $field->fieldName == "ccexpirationdate" && !$ccExpDateRendered) {
        ?>
	<tr>
		<td width="110"><?php 
        echo $field->label;
        ?>
</td>
		<td>
		<span style="font-family:courier; font-size:11px; margin-top:5px;">
			<?php 
        if (!isset($testData[$field->fieldId])) {
            $testData[$field->fieldId] = "";
        }
        echo MM_CheckoutForm::generateInputFormField($field->fieldName, $testData, $form);
        if ($field->fieldName == "ccexpirationdate") {
            $ccExpDateRendered = true;
        } else {
            if ($field->fieldName == "email") {
                echo MM_Utils::getInfoIcon("Click for more information", "", "javascript:showEmailInfo();");
            } else {
                if ($field->fieldName == "username") {
                    echo MM_Utils::getInfoIcon("Enter the base username to use for test accounts. MemberMouse will automatically add a series of numbers to the end of the base username to ensure that it's unique.", "");
                }
            }
        }
        ?>
		</span>
		</td>
	</tr>