R1,
Post me this file please:
tpl_modules_create_account.php
Mark
Hare Do
<?php
/**
* Page Template
*
* Loaded automatically by index.php?main_page=create_account.<br />
* Displays Create Account form.
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_modules_create_account.php 4822 2006-10-23 11:11:36Z drbyte $
*/
?>
<?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><?php echo CATEGORY_COMPANY; ?></legend>
<label class="inputLabel" for="company"><?php echo ENTRY_COMPANY; ?></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>': ''); ?>
</fieldset>
<?php
}
?>
<fieldset>
<legend><?php echo TABLE_HEADING_ADDRESS_DETAILS; ?></legend>
<?php
if (ACCOUNT_GENDER == 'true') {
?>
<?php echo zen_draw_radio_field('gender', 'm', '', 'id="gender-male"') . '<label class="radioButtonLabel" for="gender-male">' . MALE . '</label>' . zen_draw_radio_field('gender', 'f', '', 'id="gender-female"') . '<label class="radioButtonLabel" for="gender-female">' . FEMALE . '</label>' . (zen_not_null(ENTRY_GENDER_TEXT) ? '<span class="alert">' . ENTRY_GENDER_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<?php
}
?>
<label class="inputLabel" for="firstname"><?php echo ENTRY_FIRST_NAME; ?></label>
<?php echo zen_draw_input_field('firstname', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_firstname', '40') . ' id="firstname"') . (zen_not_null(ENTRY_FIRST_NAME_TEXT) ? '<span class="alert">' . ENTRY_FIRST_NAME_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<label class="inputLabel" for="lastname"><?php echo ENTRY_LAST_NAME; ?></label>
<?php echo zen_draw_input_field('lastname', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_lastname', '40') . ' id="lastname"') . (zen_not_null(ENTRY_LAST_NAME_TEXT) ? '<span class="alert">' . ENTRY_LAST_NAME_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<label class="inputLabel" for="street-address"><?php echo ENTRY_STREET_ADDRESS; ?></label>
<?php echo zen_draw_input_field('street_address', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_street_address', '40') . ' id="street-address"') . (zen_not_null(ENTRY_STREET_ADDRESS_TEXT) ? '<span class="alert">' . ENTRY_STREET_ADDRESS_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<?php
if (ACCOUNT_SUBURB == 'true') {
?>
<label class="inputLabel" for="suburb"><?php echo ENTRY_SUBURB; ?></label>
<?php echo zen_draw_input_field('suburb', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_suburb', '40') . ' id="suburb"') . (zen_not_null(ENTRY_SUBURB_TEXT) ? '<span class="alert">' . ENTRY_SUBURB_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<?php
}
?>
<label class="inputLabel" for="city"><?php echo ENTRY_CITY; ?></label>
<?php echo zen_draw_input_field('city', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_city', '40') . ' id="city"') . (zen_not_null(ENTRY_CITY_TEXT) ? '<span class="alert">' . ENTRY_CITY_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<?php
if (ACCOUNT_STATE == 'true') {
if ($flag_show_pulldown_states == true) {
?>
<label class="inputLabel" for="stateZone" id="zoneLabel"><?php echo ENTRY_STATE; ?></label>
<?php
echo zen_draw_pull_down_menu('zone_id', zen_prepare_country_zones_pull_down($selected_country), $zone_id, 'id="stateZone"');
if (zen_not_null(ENTRY_STATE_TEXT)) echo ' <span class="alert">' . ENTRY_STATE_TEXT . '</span>';
}
?>
<?php if ($flag_show_pulldown_states == true) { ?>
<br class="clearBoth" id="stBreak" />
<?php } ?>
<label class="inputLabel" for="state" id="stateLabel"><?php echo $state_field_label; ?></label>
<?php
echo zen_draw_input_field('state', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"');
if (zen_not_null(ENTRY_STATE_TEXT)) echo ' <span class="alert" id="stText">' . ENTRY_STATE_TEXT . '</span>';
if ($flag_show_pulldown_states == false) {
echo zen_draw_hidden_field('zone_id', $zone_name, ' ');
}
?>
<br class="clearBoth" />
<?php
}
?>
<label class="inputLabel" for="postcode"><?php echo ENTRY_POST_CODE; ?></label>
<?php echo zen_draw_input_field('postcode', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_postcode', '40') . ' id="postcode"') . (zen_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="alert">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<label class="inputLabel" for="country"><?php echo ENTRY_COUNTRY; ?></label>
<?php echo zen_get_country_list('zone_country_id', $selected_country, 'id="country" ' . ($flag_show_pulldown_states == true ? 'onchange="update_zone(this.form);"' : '')) . (zen_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="alert">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
</fieldset>
<fieldset>
<legend><?php echo TABLE_HEADING_PHONE_FAX_DETAILS; ?></legend>
<label class="inputLabel" for="telephone"><?php echo ENTRY_TELEPHONE_NUMBER; ?></label>
<?php echo zen_draw_input_field('telephone', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_telephone', '40') . ' id="telephone"') . (zen_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?>
<?php
if (ACCOUNT_FAX_NUMBER == 'true') {
?>
<br class="clearBoth" />
<label class="inputLabel" for="fax"><?php echo ENTRY_FAX_NUMBER; ?></label>
<?php echo zen_draw_input_field('fax', '', 'id="fax"') . (zen_not_null(ENTRY_FAX_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_FAX_NUMBER_TEXT . '</span>': ''); ?>
<?php
}
?>
</fieldset>
<?php
if (ACCOUNT_DOB == 'true') {
?>
<fieldset>
<legend><?php echo TABLE_HEADING_DATE_OF_BIRTH; ?></legend>
<label class="inputLabel" for="dob"><?php echo ENTRY_DATE_OF_BIRTH; ?></label>
<?php echo zen_draw_input_field('dob','', 'id="dob"') . (zen_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="alert">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
</fieldset>
<?php
}
?>
<fieldset>
<legend><?php echo TABLE_HEADING_LOGIN_DETAILS; ?></legend>
<label class="inputLabel" for="email-address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>
<?php echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="email-address"') . (zen_not_null(ENTRY_EMAIL_ADDRESS_TEXT) ? '<span class="alert">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<label class="inputLabel" for="email-address-confirm"><?php echo ENTRY_EMAIL_ADDRESS_CONFIRM; ?></label>
<?php echo zen_draw_input_field('email_address_confirm', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '32') . ' id="email-address-confirm"') . (zen_not_null(ENTRY_EMAIL_ADDRESS_CONFIRM) ? '<span class="alert">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<?php
if ($phpBB->phpBB['installed'] == true) {
?>
<label class="inputLabel" for="nickname"><?php echo ENTRY_NICK; ?></label>
<?php echo zen_draw_input_field('nick','','id="nickname"') . (zen_not_null(ENTRY_NICK_TEXT) ? '<span class="alert">' . ENTRY_NICK_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<?php
}
?>
<label class="inputLabel" for="password-new"><?php echo ENTRY_PASSWORD; ?></label>
<?php echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="password-new"') . (zen_not_null(ENTRY_PASSWORD_TEXT) ? '<span class="alert">' . ENTRY_PASSWORD_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<label class="inputLabel" for="password-confirm"><?php echo ENTRY_PASSWORD_CONFIRMATION; ?></label>
<?php echo zen_draw_password_field('confirmation', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password', '20') . ' id="password-confirm"') . (zen_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="alert">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
</fieldset>
<fieldset>
<legend><?php echo ENTRY_EMAIL_PREFERENCE; ?></legend>
<?php
if (ACCOUNT_NEWSLETTER_STATUS != 0) {
?>
<?php echo zen_draw_checkbox_field('newsletter', '1', $newsletter, 'id="newsletter-checkbox"') . '<label class="checkboxLabel" for="newsletter-checkbox">' . ENTRY_NEWSLETTER . '</label>' . (zen_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="alert">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<?php } ?>
<?php echo zen_draw_radio_field('email_format', 'HTML', ($email_format == 'HTML' ? true : false),'id="email-format-html"') . '<label class="radioButtonLabel" for="email-format-html">' . ENTRY_EMAIL_HTML_DISPLAY . '</label>' . zen_draw_radio_field('email_format', 'TEXT', ($email_format == 'TEXT' ? true : false), 'id="email-format-text"') . '<label class="radioButtonLabel" for="email-format-text">' . ENTRY_EMAIL_TEXT_DISPLAY . '</label>'; ?>
<br class="clearBoth" />
</fieldset>
<?php
if (CUSTOMERS_REFERRAL_STATUS == 2) {
?>
<fieldset>
<legend><?php echo TABLE_HEADING_REFERRAL_DETAILS; ?></legend>
<label class="inputLabel" for="customers_referral"><?php echo ENTRY_CUSTOMERS_REFERRAL; ?></label>
<?php echo zen_draw_input_field('customers_referral', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_referral', '15') . ' id="customers_referral"'); ?>
<br class="clearBoth" />
</fieldset>
<?php } ?>
R1,
Find in the sheet this line:
<label class="inputLabel" for="email-address-confirm"><?php echo ENTRY_EMAIL_ADDRESS_CONFIRM; ?></label>
<?php echo zen_draw_input_field('email_address_confirm', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '32') . ' id="email-address-confirm"') . (zen_not_null(ENTRY_EMAIL_ADDRESS_CONFIRM) ? '<span class="alert">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
- the highlighted red font above is your fix
- change to:
- 40
- remember the override system
Mark
Hare Do
R1,
included/ templates/ mower/ templates/ tpl_modules_create_account.php
Mark
Hare Do
Wait, here's some of the file from my mower folder. It shows the two to be the same?
Ian
<fieldset>
<legend><?php echo TABLE_HEADING_LOGIN_DETAILS; ?></legend>
<label class="inputLabel" for="email-address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>
<?php echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="email-address"') . (zen_not_null(ENTRY_EMAIL_ADDRESS_TEXT) ? '<span class="alert">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<label class="inputLabel" for="email-address-confirm"><?php echo ENTRY_EMAIL_ADDRESS_CONFIRM; ?></label>
<?php echo zen_draw_input_field('email_address_confirm', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="email-address-confirm"') . (zen_not_null(ENTRY_EMAIL_ADDRESS_CONFIRM) ? '<span class="alert">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
Hey Haredo, ever get any ideas as to what might fix this?
Ian
R1,
yes I do!!
admin panel/ tools/ developers tool kit
- search for: 33
- catalog
- search
Post back please
Mark
Hare Do
None of them look like what we're looking for....
Ian
/home/redlines/public_html/catalog/includes/classes/cache.php
Line #8 : * @version $Id: cache.php 6338 2007-05-19 20:02:26Z drbyte $
/home/redlines/public_html/catalog/includes/classes/cc_validation.php
Line #30 : || (($NumberLeft6 >= 490335) && ($NumberLeft6 <= 490339))
Line #35 : || (($NumberLeft6 >= 633300) && ($NumberLeft6 <= 633349))
Line #42 : elseif (( (($NumberLeft6 >= 633450) && ($NumberLeft6 <= 633460))
Line #43 : || (($NumberLeft6 >= 633462) && ($NumberLeft6 <= 633472))
Line #44 : || (($NumberLeft6 >= 633474) && ($NumberLeft6 <= 633475))
Line #45 : || ($NumberLeft6 == 633477)
Line #46 : || (($NumberLeft6 >= 633479) && ($NumberLeft6 <= 633480))
Line #47 : || (($NumberLeft6 >= 633482) && ($NumberLeft6 <= 633489))
Line #48 : || ($NumberLeft6 == 633498)
Line #65 : || (($NumberLeft6 >= 633302) && ($NumberLeft6 <= 633349))
Line #78 : || (($NumberLeft6 >= 490310) && ($NumberLeft6 <= 490334))
/home/redlines/public_html/catalog/includes/classes/class.phpmailer.php
Line #1168 : $x = preg_match_all('/[^\040\041\043-\133\135-\176]/', $str, $matches);
/home/redlines/public_html/catalog/includes/classes/class.smtp.php
Line #170 : if($code != 334) {
Line #188 : if($code != 334) {
/home/redlines/public_html/catalog/includes/functions/functions_email.php
Line #10 : * @version $Id: functions_email.php 7336 2007-10-31 12:35:12Z drbyte $
/home/redlines/public_html/catalog/includes/languages/english/html_includes/define_main_page.php
Line #3 : color: #336633;
Line #8 : .style8 {color: #339933}
/home/redlines/public_html/catalog/includes/languages/english/html_includes/mower/define_main_page.php
Line #3 : color: #336633;
Line #8 : .style8 {color: #339933}
/home/redlines/public_html/catalog/includes/languages/english/modules/payment/authorizenet_aim.php
Line #8 : * @version $Id: authorizenet_aim.php 6910 2007-09-02 01:51:33Z drbyte $
/home/redlines/public_html/catalog/includes/languages/english/modules/payment/paypaldp.php
Line #6 : * @version $Id: paypaldp.php 7334 2007-10-31 11:58:58Z drbyte $
/home/redlines/public_html/catalog/includes/modules/checkout_new_address.php
Line #8 : * @version $Id: checkout_new_address.php 6772 2007-08-21 12:33:29Z drbyte $
/home/redlines/public_html/catalog/includes/modules/create_account.php
Line #8 : * @version $Id: create_account.php 6772 2007-08-21 12:33:29Z drbyte $
/home/redlines/public_html/catalog/includes/modules/pages/address_book_process/header_php.php
Line #8 : * @version $Id: header_php.php 6772 2007-08-21 12:33:29Z drbyte $
/home/redlines/public_html/catalog/includes/modules/pages/create_account_success/header_php.php
Line #8 : * @version $Id: header_php.php 5244 2006-12-14 18:37:33Z drbyte $
/home/redlines/public_html/catalog/includes/modules/product_listing.php
Line #8 : * @version $Id: product_listing.php 6787 2007-08-24 14:06:33Z drbyte $
/home/redlines/public_html/catalog/includes/modules/product_listing_alpha_sorter.php
Line #8 : * @version $Id: product_listing_alpha_sorter.php 4330 2006-08-31 17:10:26Z ajeh $
/home/redlines/public_html/catalog/includes/modules/shipping/perweightunit.php
Line #6 : * @version $Id: perweightunit.php 3308 2006-03-29 08:21:33Z ajeh $
/home/redlines/public_html/catalog/includes/modules/sideboxes/banner_box.php
Line #8 : * @version $Id: banner_box.php 3133 2006-03-07 23:39:02Z ajeh $
/home/redlines/public_html/catalog/includes/modules/sideboxes/banner_box2.php
Line #8 : * @version $Id: banner_box2.php 3133 2006-03-07 23:39:02Z ajeh $
/home/redlines/public_html/catalog/includes/modules/sideboxes/banner_box_all.php
Line #8 : * @version $Id: banner_box_all.php 3133 2006-03-07 23:39:02Z ajeh $
/home/redlines/public_html/catalog/includes/modules/sideboxes/featured.php
Line #8 : * @version $Id: featured.php 6475 2007-06-08 21:10:33Z ajeh $
/home/redlines/public_html/catalog/includes/modules/sideboxes/shopping_cart.php
Line #8 : * @version $Id: shopping_cart.php 7437 2007-11-16 21:33:16Z drbyte $
/home/redlines/public_html/catalog/includes/modules/sideboxes/specials.php
Line #8 : * @version $Id: specials.php 6475 2007-06-08 21:10:33Z ajeh $
/home/redlines/public_html/catalog/includes/modules/sideboxes/whats_new.php
Line #8 : * @version $Id: whats_new.php 6475 2007-06-08 21:10:33Z ajeh $
/home/redlines/public_html/catalog/includes/templates/mower/common/tpl_box_default_left.php
Line #8 : * @version $Id: tpl_box_default_left.php 2975 2006-02-05 19:33:51Z birdbrain $
/home/redlines/public_html/catalog/includes/templates/mower/common/tpl_box_default_right.php
Line #8 : * @version $Id: tpl_box_default_right.php 2975 2006-02-05 19:33:51Z birdbrain $
/home/redlines/public_html/catalog/includes/templates/mower/common/tpl_box_default_single.php
Line #8 : * @version $Id: tpl_box_default_single.php 2975 2006-02-05 19:33:51Z birdbrain $
/home/redlines/public_html/catalog/includes/templates/mower/common/tpl_header_test_info.php
Line #21 : <td align="left" valign="top" width="33%" class="headerNavigation">
Line #32 : <td class="headerNavigation" align="right" valign="top" width="33%">
/home/redlines/public_html/catalog/includes/templates/template_default/common/tpl_box_default_left.php
Line #8 : * @version $Id: tpl_box_default_left.php 2975 2006-02-05 19:33:51Z birdbrain $
/home/redlines/public_html/catalog/includes/templates/template_default/common/tpl_box_default_right.php
Line #8 : * @version $Id: tpl_box_default_right.php 2975 2006-02-05 19:33:51Z birdbrain $
/home/redlines/public_html/catalog/includes/templates/template_default/common/tpl_box_default_single.php
Line #8 : * @version $Id: tpl_box_default_single.php 2975 2006-02-05 19:33:51Z birdbrain $
/home/redlines/public_html/catalog/includes/templates/template_default/common/tpl_header_test_info.php
Line #21 : <td align="left" valign="top" width="33%" class="headerNavigation">
Line #32 : <td class="headerNavigation" align="right" valign="top" width="33%">
/home/redlines/public_html/catalog/includes/templates/template_default/sideboxes/tpl_document_categories.php
Line #8 : * @version $Id: tpl_document_categories.php 2975 2006-02-05 19:33:51Z birdbrain $
/home/redlines/public_html/catalog/includes/templates/template_default/templates/tpl_account_edit_default.php
Line #10 : * @version $Id: tpl_account_edit_default.php 3848 2006-06-25 20:33:42Z drbyte $
/home/redlines/public_html/catalog/includes/templates/template_default/templates/tpl_ezpages_bar_header.php
Line #10 : * @version $Id: tpl_ezpages_bar_header.php 3377 2006-04-05 04:43:11Z ajeh $
/home/redlines/public_html/catalog/includes/templates/template_default/templates/tpl_logoff_default.php
Line #8 : * @version $Id: tpl_logoff_default.php 2975 2006-02-05 19:33:51Z birdbrain $
/home/redlines/public_html/catalog/includes/templates/template_default/templates/tpl_modules_categories_tabs.php
Line #10 : * @version $Id: tpl_modules_categories_tabs.php 3395 2006-04-08 21:13:00Z ajeh $
/home/redlines/public_html/catalog/includes/templates/template_default/templates/tpl_modules_listing_display_order.php
Line #8 : * @version $Id: tpl_modules_listing_display_order.php 3369 2006-04-03 23:09:13Z drbyte $
Bookmarks