Originally Posted by
lat9
OK, when you inspect the file '/includes/templates/31125/templates/tpl_modules_create_account.php, please post back the contents of the lines up to and including line 54.
Where did that template come from? It's quite non-standard.
I believe it was from Template Monster somewhere around 13-14 yrs ago (just like dbltoe said! )... It's been well modified!
Here are lines 1-54 as requested.....
Code:
<?php if ($messageStack->size('create_account') > 0) echo $messageStack->output('create_account'); ?>
<div class="alert forward"><?php echo FORM_REQUIRED_INFORMATION; ?></div>
<br class="clearBoth" />
<?php
if (DISPLAY_PRIVACY_CONDITIONS == 'true') {
?>
<fieldset>
<legend><?php echo TABLE_HEADING_PRIVACY_CONDITIONS; ?></legend>
<div class="information"><?php echo TEXT_PRIVACY_CONDITIONS_DESCRIPTION;?></div>
<?php echo zen_draw_checkbox_field('privacy_conditions', '1', false, 'id="privacy"');?>
<label class="checkboxLabel" for="privacy"><?php echo TEXT_PRIVACY_CONDITIONS_CONFIRM;?></label>
</fieldset>
<?php
}
?>
<?php
if (ACCOUNT_COMPANY == 'true') {
?>
<fieldset>
<legend><FONT color="#fbf2b7"><?php echo CATEGORY_COMPANY; ?></FONT></legend>
<label class="inputLabel" for="company"><STRONG><FONT color="#FDA306"><?php echo ENTRY_COMPANY; ?></FONT></STRONG></label>
<?php echo zen_draw_input_field('company', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_company', '40') . ' id="company"') . (zen_not_null(ENTRY_COMPANY_TEXT) ? '<span class="alert">' . ENTRY_COMPANY_TEXT . '</span>': ''); ?>
<div style="padding-bottom:3px">
<?php
if (DISPLAY_EXTRAFIELD == 'true') {
?>
<br class="clearBoth" />
<!-- <label class="inputLabel" for="extrafield"><?php echo ENTRY_EXTRAFIELD; ?></label> -->
<?php $TypeList = array('EL', 'HV', 'PL', 'HY', 'RE'); ?>
<SELECT id="extrafield" name="extrafield" style="width: 75px">
<?php foreach ($TypeList as $LicTypeList) { ?>
<OPTION><?php echo $LicTypeList; ?></OPTION>
<?php } ?>
</SELECT>
<label class="inputLabel" for="license"><STRONG><FONT color="#FDA306"><?php echo ENTRY_LICENSE_NUMBER; ?></FONT></STRONG></label>
<?php echo zen_draw_input_field('license', $account->fields['customers_license'], zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_postcode', '4') .'type="number" maxlength="5" id="license" onkeypress="return event.charCode >= 48 && event.charCode <= 57" ') . ((int)ENTRY_EXTRAFIELD2_TEXT_MIN_LENGTH > 0 ? ' required' : ''); ?> ⪡⪡ 5-Digit Number Only
<!-- <?php echo zen_draw_pull_down_menu( 'extrafield', array('EL', 'HV') , 'id="extrafield"') . (zen_not_null(ENTRY_EXTRAFIELD_TEXT) ? '<span class="alert">' . ENTRY_EXTRAFIELD_TEXT . '</span>': ''); ?> -->
Bookmarks