diff --git a/account_edit.php b/account_edit.php index d45e6a172..d5cb02a4b 100644 --- a/account_edit.php +++ b/account_edit.php @@ -165,14 +165,14 @@
- +
- +
@@ -183,8 +183,7 @@
- - ' . ENTRY_DATE_OF_BIRTH_TEXT . ''; ?> +
@@ -195,21 +194,21 @@
- +
- +
- +
diff --git a/account_password.php b/account_password.php index 851363e65..77691c48f 100644 --- a/account_password.php +++ b/account_password.php @@ -82,25 +82,22 @@
- + - ' . ENTRY_PASSWORD_CURRENT_TEXT . ''; ?>
- + - ' . ENTRY_PASSWORD_NEW_TEXT . ''; ?>
- + - ' . ENTRY_PASSWORD_CONFIRMATION_TEXT . ''; ?>
diff --git a/advanced_search.php b/advanced_search.php index 01385dda5..21d2a85ea 100644 --- a/advanced_search.php +++ b/advanced_search.php @@ -180,7 +180,7 @@ function check_form() {
@@ -188,7 +188,7 @@ function check_form() {
@@ -196,7 +196,7 @@ function check_form() {
@@ -204,7 +204,7 @@ function check_form() {
diff --git a/contact_us.php b/contact_us.php index 807a5d4d8..de84aa0ae 100644 --- a/contact_us.php +++ b/contact_us.php @@ -88,7 +88,7 @@
@@ -97,7 +97,7 @@
@@ -106,7 +106,7 @@
diff --git a/create_account.php b/create_account.php index ae0dd4fcf..955bd34ce 100644 --- a/create_account.php +++ b/create_account.php @@ -301,9 +301,8 @@
' . ENTRY_FIRST_NAME_TEXT . ''; ?>
@@ -311,9 +310,8 @@
' . ENTRY_LAST_NAME_TEXT . ''; ?>
@@ -324,9 +322,8 @@
' . ENTRY_DATE_OF_BIRTH_TEXT . ''; ?>
@@ -337,9 +334,8 @@
' . ENTRY_EMAIL_ADDRESS_TEXT . ''; ?>
@@ -355,8 +351,7 @@
' . ENTRY_COMPANY_TEXT . ''; + echo tep_draw_input_field('company', NULL, 'id="inputCompany" placeholder="' . ENTRY_COMPANY_TEXT . '"'); ?>
@@ -372,9 +367,8 @@
' . ENTRY_STREET_ADDRESS_TEXT . ''; ?>
@@ -386,8 +380,7 @@
' . ENTRY_SUBURB_TEXT . ''; + echo tep_draw_input_field('suburb', NULL, 'id="inputSuburb" placeholder="' . ENTRY_SUBURB_TEXT . '"'); ?>
@@ -398,9 +391,8 @@
' . ENTRY_CITY_TEXT . ''; ?>
@@ -408,9 +400,8 @@
' . ENTRY_POST_CODE_TEXT . ''; ?>
@@ -430,15 +421,15 @@ } echo tep_draw_pull_down_menu('state', $zones_array, 0, 'id="inputState" aria-describedby="atState"'); echo FORM_REQUIRED_INPUT; + if (tep_not_null(ENTRY_STATE_TEXT)) echo '' . ENTRY_STATE_TEXT . ''; } else { - echo tep_draw_input_field('state', NULL, 'id="inputState" aria-describedby="atState" placeholder="' . ENTRY_STATE . '"'); + echo tep_draw_input_field('state', NULL, 'id="inputState" placeholder="' . ENTRY_STATE_TEXT . '"'); echo FORM_REQUIRED_INPUT; } } else { - echo tep_draw_input_field('state', NULL, 'id="inputState" aria-describedby="atState" placeholder="' . ENTRY_STATE . '"'); + echo tep_draw_input_field('state', NULL, 'id="inputState" placeholder="' . ENTRY_STATE_TEXT . '"'); echo FORM_REQUIRED_INPUT; } - if (tep_not_null(ENTRY_STATE_TEXT)) echo '' . ENTRY_STATE_TEXT . ''; ?> @@ -464,9 +455,8 @@
' . ENTRY_TELEPHONE_NUMBER_TEXT . ''; ?>
@@ -474,8 +464,7 @@
' . ENTRY_FAX_NUMBER_TEXT . ''; + echo tep_draw_input_field('fax', '', 'id="inputFax" placeholder="' . ENTRY_FAX_NUMBER_TEXT . '"', 'tel'); ?>
@@ -500,9 +489,8 @@
' . ENTRY_PASSWORD_TEXT . ''; ?>
@@ -510,9 +498,8 @@
' . ENTRY_PASSWORD_CONFIRMATION_TEXT . ''; ?>
diff --git a/ext/modules/content/account/set_password.php b/ext/modules/content/account/set_password.php index 504017bbb..f567ccb71 100755 --- a/ext/modules/content/account/set_password.php +++ b/ext/modules/content/account/set_password.php @@ -83,17 +83,15 @@
- + - ' . ENTRY_PASSWORD_NEW_TEXT . ''; ?>
- + - ' . ENTRY_PASSWORD_CONFIRMATION_TEXT . ''; ?>
diff --git a/includes/languages/english.php b/includes/languages/english.php index 02d8c42d7..68e650746 100755 --- a/includes/languages/english.php +++ b/includes/languages/english.php @@ -127,6 +127,7 @@ function tep_date_raw($date, $reverse = false) { define('ENTRY_CITY', 'City'); define('ENTRY_CITY_ERROR', 'Your City must contain a minimum of ' . ENTRY_CITY_MIN_LENGTH . ' characters.'); define('ENTRY_CITY_TEXT', ''); +define('ENTRY_NAME_TEXT', ''); define('ENTRY_STATE', 'State/Province'); define('ENTRY_STATE_ERROR', 'Your State must contain a minimum of ' . ENTRY_STATE_MIN_LENGTH . ' characters.'); define('ENTRY_STATE_ERROR_SELECT', 'Please select a state from the States pull down menu.'); diff --git a/includes/languages/english/advanced_search.php b/includes/languages/english/advanced_search.php index b5db15045..d02a90dd5 100644 --- a/includes/languages/english/advanced_search.php +++ b/includes/languages/english/advanced_search.php @@ -27,6 +27,11 @@ define('ENTRY_DATE_FROM', 'Date From'); define('ENTRY_DATE_TO', 'Date To'); +define('ENTRY_PRICE_FROM_TEXT', ''); +define('ENTRY_PRICE_TO_TEXT', ''); +define('ENTRY_DATE_FROM_TEXT', ''); +define('ENTRY_DATE_TO_TEXT', ''); + define('TEXT_SEARCH_HELP_LINK', ' Search Help'); define('TEXT_ALL_CATEGORIES', 'All Categories'); diff --git a/includes/languages/english/contact_us.php b/includes/languages/english/contact_us.php index e39e1d2c6..c5ea8ca6e 100644 --- a/includes/languages/english/contact_us.php +++ b/includes/languages/english/contact_us.php @@ -18,6 +18,7 @@ define('ENTRY_NAME', 'Full Name'); define('ENTRY_EMAIL', 'E-Mail Address'); define('ENTRY_ENQUIRY', 'Enquiry'); +define('ENTRY_ENQUIRY_TEXT', ''); define('ERROR_ACTION_RECORDER', 'Error: An enquiry has already been sent. Please try again in %s minutes.'); ?> diff --git a/includes/languages/english/product_reviews_write.php b/includes/languages/english/product_reviews_write.php index 72ef8ef86..613441fa4 100644 --- a/includes/languages/english/product_reviews_write.php +++ b/includes/languages/english/product_reviews_write.php @@ -15,6 +15,7 @@ define('SUB_TITLE_FROM', 'From'); define('SUB_TITLE_REVIEW', 'Your Review'); define('SUB_TITLE_RATING', 'Rating'); +define('SUB_TITLE_REVIEW_TEXT', 'Your Review...'); define('TEXT_NO_HTML', 'NOTE: HTML is not translated!'); define('TEXT_BAD', 'BAD'); diff --git a/includes/modules/address_book_details.php b/includes/modules/address_book_details.php index 5e092af81..733938b2d 100644 --- a/includes/modules/address_book_details.php +++ b/includes/modules/address_book_details.php @@ -50,17 +50,15 @@
- + - ' . ENTRY_FIRST_NAME_TEXT . ''; ?>
- + - ' . ENTRY_LAST_NAME_TEXT . ''; ?>
@@ -72,8 +70,7 @@
' . ENTRY_COMPANY_TEXT . ''; + echo tep_draw_input_field('company', (isset($entry['entry_company']) ? $entry['entry_company'] : ''), 'id="inputCompany" placeholder="' . ENTRY_COMPANY_TEXT . '"'); ?>
@@ -86,9 +83,8 @@
' . ENTRY_STREET_ADDRESS_TEXT . ''; ?>
@@ -101,8 +97,7 @@
' . ENTRY_SUBURB_TEXT . ''; + echo tep_draw_input_field('suburb', (isset($entry['entry_suburb']) ? $entry['entry_suburb'] : ''), 'id="inputSuburb" placeholder="' . ENTRY_SUBURB_TEXT . '"'); ?>
@@ -115,9 +110,8 @@
' . ENTRY_CITY_TEXT . ''; ?>
@@ -125,9 +119,8 @@
' . ENTRY_POST_CODE_TEXT . ''; ?>
@@ -148,13 +141,13 @@ $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']); } echo tep_draw_pull_down_menu('state', $zones_array, 0, 'id="inputState" aria-describedby="atState"'); + if (tep_not_null(ENTRY_STATE_TEXT)) echo '' . ENTRY_STATE_TEXT . ''; } else { - echo tep_draw_input_field('state', NULL, 'id="inputState" aria-describedby="atState" placeholder="' . ENTRY_STATE . '"'); + echo tep_draw_input_field('state', NULL, 'id="inputState" placeholder="' . ENTRY_STATE_TEXT . '"'); } } else { - echo tep_draw_input_field('state', (isset($entry['entry_country_id']) ? tep_get_zone_name($entry['entry_country_id'], $entry['entry_zone_id'], $entry['entry_state']) : ''), 'required aria-required="true" aria-describedby="atState" id="inputState" placeholder="' . ENTRY_STATE . '"'); + echo tep_draw_input_field('state', (isset($entry['entry_country_id']) ? tep_get_zone_name($entry['entry_country_id'], $entry['entry_zone_id'], $entry['entry_state']) : ''), 'required aria-required="true" id="inputState" placeholder="' . ENTRY_STATE_TEXT . '"'); } - if (tep_not_null(ENTRY_STATE_TEXT)) echo '' . ENTRY_STATE_TEXT . ''; ?> diff --git a/includes/modules/checkout_new_address.php b/includes/modules/checkout_new_address.php index 806a6d456..f5eb0cfe4 100644 --- a/includes/modules/checkout_new_address.php +++ b/includes/modules/checkout_new_address.php @@ -47,8 +47,7 @@
' . ENTRY_FIRST_NAME_TEXT . ''; + echo tep_draw_input_field('firstname', NULL, 'id="inputFirstName" placeholder="' . ENTRY_FIRST_NAME_TEXT . '"'); ?>
@@ -56,8 +55,7 @@
' . ENTRY_LAST_NAME_TEXT . ''; + echo tep_draw_input_field('lastname', NULL, 'id="inputLastName" placeholder="' . ENTRY_LAST_NAME_TEXT . '"'); ?>
@@ -70,8 +68,7 @@
' . ENTRY_COMPANY_TEXT . ''; + echo tep_draw_input_field('company', NULL, 'id="inputCompany" placeholder="' . ENTRY_COMPANY_TEXT . '"'); ?>
@@ -84,8 +81,7 @@
' . ENTRY_STREET_ADDRESS_TEXT . ''; + echo tep_draw_input_field('street_address', NULL, 'id="inputStreet" placeholder="' . ENTRY_STREET_ADDRESS_TEXT . '"'); ?>
@@ -98,8 +94,7 @@
' . ENTRY_SUBURB_TEXT . ''; + echo tep_draw_input_field('suburb', NULL, 'id="inputSuburb" placeholder="' . ENTRY_SUBURB_TEXT . '"'); ?>
@@ -112,7 +107,6 @@
' . ENTRY_CITY_TEXT . ''; ?>
@@ -121,8 +115,7 @@
' . ENTRY_POST_CODE_TEXT . ''; + echo tep_draw_input_field('postcode', NULL, 'id="inputZip" placeholder="' . ENTRY_POST_CODE_TEXT . '"'); ?>
@@ -143,13 +136,13 @@ $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']); } echo tep_draw_pull_down_menu('state', $zones_array, 0, 'id="inputState" aria-describedby="atState"'); + if (tep_not_null(ENTRY_STATE_TEXT)) echo '' . ENTRY_STATE_TEXT . ''; } else { - echo tep_draw_input_field('state', NULL, 'id="inputState" aria-describedby="atState" placeholder="' . ENTRY_STATE . '"'); + echo tep_draw_input_field('state', NULL, 'id="inputState" placeholder="' . ENTRY_STATE_TEXT . '"'); } } else { - echo tep_draw_input_field('state', NULL, 'id="inputState" aria-describedby="atState" placeholder="' . ENTRY_STATE . '"'); + echo tep_draw_input_field('state', NULL, 'id="inputState" placeholder="' . ENTRY_STATE_TEXT . '"'); } - if (tep_not_null(ENTRY_STATE_TEXT)) echo '' . ENTRY_STATE_TEXT . ''; ?> diff --git a/includes/modules/content/login/templates/login_form.php b/includes/modules/content/login/templates/login_form.php index 71c03c146..8da4278e7 100755 --- a/includes/modules/content/login/templates/login_form.php +++ b/includes/modules/content/login/templates/login_form.php @@ -8,11 +8,11 @@
- +
- +

diff --git a/password_forgotten.php b/password_forgotten.php index aba660b87..821044c93 100644 --- a/password_forgotten.php +++ b/password_forgotten.php @@ -88,7 +88,7 @@
- +
diff --git a/password_reset.php b/password_reset.php index bdf758a75..ae3dbe07e 100644 --- a/password_reset.php +++ b/password_reset.php @@ -106,14 +106,14 @@
- +
- +
diff --git a/product_reviews_write.php b/product_reviews_write.php index 26f9b1810..d697159d5 100644 --- a/product_reviews_write.php +++ b/product_reviews_write.php @@ -145,7 +145,7 @@ function checkForm() {