Guest User

Untitled

a guest
May 18th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 13.01 KB | None | 0 0
  1. <?php
  2. /*
  3.   $Id$
  4.  
  5.   osCommerce, Open Source E-Commerce Solutions
  6.   http://www.oscommerce.com
  7.  
  8.   Copyright (c) 2007 osCommerce
  9.  
  10.   Released under the GNU General Public License
  11. */
  12.  
  13. // look in your $PATH_LOCALE/locale directory for available locales
  14. // or type locale -a on the server.
  15. // Examples:
  16. // on RedHat try 'en_US'
  17. // on FreeBSD try 'en_US.ISO_8859-1'
  18. // on Windows try 'en', or 'English'
  19. @setlocale(LC_TIME, 'en_US.ISO_8859-1');
  20.  
  21. define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
  22. define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
  23. define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
  24. define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
  25. define('JQUERY_DATEPICKER_I18N_CODE', ''); // leave empty for en_US; see http://jqueryui.com/demos/datepicker/#localization
  26. define('JQUERY_DATEPICKER_FORMAT', 'mm/dd/yy'); // see http://docs.jquery.com/UI/Datepicker/formatDate
  27.  
  28. ////
  29. // Return date in raw format
  30. // $date should be in format mm/dd/yyyy
  31. // raw date is in format YYYYMMDD, or DDMMYYYY
  32. function tep_date_raw($date, $reverse = false) {
  33.   if ($reverse) {
  34.     return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
  35.   } else {
  36.     return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
  37.   }
  38. }
  39.  
  40. // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
  41. define('LANGUAGE_CURRENCY', 'USD');
  42.  
  43. // Global entries for the <html> tag
  44. define('HTML_PARAMS', 'dir="ltr" lang="en"');
  45.  
  46. // charset for web pages and emails
  47. define('CHARSET', 'utf-8');
  48.  
  49. // page title
  50. define('TITLE', STORE_NAME);
  51.  
  52. // header text in includes/header.php
  53. define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account');
  54. define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
  55. define('HEADER_TITLE_CART_CONTENTS', 'Cart Contents');
  56. define('HEADER_TITLE_CHECKOUT', 'Checkout');
  57. define('HEADER_TITLE_TOP', 'Top');
  58. define('HEADER_TITLE_CATALOG', 'Catalog');
  59. define('HEADER_TITLE_LOGOFF', 'Log Off');
  60. define('HEADER_TITLE_LOGIN', 'Log In');
  61. define('NAV_TITLE_ACCOUNT55', 'My Account | ');
  62. define('NAV_TITLE_BASKET55', 'Cart Contents | ');
  63. define('NAV_TITLE_KASSA55', 'Checkout | ');
  64. define('NAV_TITLE_GALLERY55', 'Gallery | ');
  65. define('NAV_TITLE_LOGOUT55', 'Log Off');
  66. define('NAV_TITLE_LOGIN55', 'Log In');
  67. define('ALV','<br><br><h3>Tax 23% is included in the price.</h3>');
  68.  
  69. // footer text in includes/footer.php
  70. define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');
  71.  
  72. // text for gender
  73. define('MALE', 'Male');
  74. define('FEMALE', 'Female');
  75. define('MALE_ADDRESS', 'Mr.');
  76. define('FEMALE_ADDRESS', 'Ms.');
  77.  
  78. // text for date of birth example
  79. define('DOB_FORMAT_STRING', 'mm/dd/yyyy');
  80.  
  81. // checkout procedure text
  82. define('CHECKOUT_BAR_DELIVERY', 'Delivery Information');
  83. define('CHECKOUT_BAR_PAYMENT', 'Payment Information');
  84. define('CHECKOUT_BAR_CONFIRMATION', 'Confirmation');
  85. define('CHECKOUT_BAR_FINISHED', 'Finished!');
  86.  
  87. // pull down default text
  88. define('PULL_DOWN_DEFAULT', 'Please Select');
  89. define('TYPE_BELOW', 'Type Below');
  90.  
  91. // javascript messages
  92. define('JS_ERROR', 'Errors have occured during the process of your form.\n\nPlease make the following corrections:\n\n');
  93.  
  94. define('JS_REVIEW_TEXT', '* The \'Review Text\' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.\n');
  95. define('JS_REVIEW_RATING', '* You must rate the product for your review.\n');
  96.  
  97. define('JS_ERROR_NO_PAYMENT_MODULE_SELECTED', '* Please select a payment method for your order.\n');
  98.  
  99. define('JS_ERROR_SUBMITTED', 'This form has already been submitted. Please press Ok and wait for this process to be completed.');
  100.  
  101. define('ERROR_NO_PAYMENT_MODULE_SELECTED', 'Please select a payment method for your order.');
  102.  
  103. define('CATEGORY_COMPANY', 'Company Details');
  104. define('CATEGORY_PERSONAL', 'Your Personal Details');
  105. define('CATEGORY_ADDRESS', 'Your Address');
  106. define('CATEGORY_CONTACT', 'Your Contact Information');
  107. define('CATEGORY_OPTIONS', 'Options');
  108. define('CATEGORY_PASSWORD', 'Your Password');
  109.  
  110. define('ENTRY_COMPANY', 'Company Name:');
  111. define('ENTRY_COMPANY_TEXT', '');
  112. define('ENTRY_GENDER', 'Gender:');
  113. define('ENTRY_GENDER_ERROR', 'Please select your Gender.');
  114. define('ENTRY_GENDER_TEXT', '*');
  115. define('ENTRY_FIRST_NAME', 'First Name:');
  116. define('ENTRY_FIRST_NAME_ERROR', 'Your First Name must contain a minimum of ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters.');
  117. define('ENTRY_FIRST_NAME_TEXT', '*');
  118. define('ENTRY_LAST_NAME', 'Last Name:');
  119. define('ENTRY_LAST_NAME_ERROR', 'Your Last Name must contain a minimum of ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters.');
  120. define('ENTRY_LAST_NAME_TEXT', '*');
  121. define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:');
  122. define('ENTRY_DATE_OF_BIRTH_ERROR', 'Your Date of Birth must be in this format: MM/DD/YYYY (eg 05/21/1970)');
  123. define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 05/21/1970)');
  124. define('ENTRY_EMAIL_ADDRESS', 'E-Mail Address:');
  125. define('ENTRY_EMAIL_ADDRESS_ERROR', 'Your E-Mail Address must contain a minimum of ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters.');
  126. define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', 'Your E-Mail Address does not appear to be valid - please make any necessary corrections.');
  127. define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', 'Your E-Mail Address already exists in our records - please log in with the e-mail address or create an account with a different address.');
  128. define('ENTRY_EMAIL_ADDRESS_TEXT', '*');
  129. define('ENTRY_STREET_ADDRESS', 'Street Address:');
  130. define('ENTRY_STREET_ADDRESS_ERROR', 'Your Street Address must contain a minimum of ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.');
  131. define('ENTRY_STREET_ADDRESS_TEXT', '*');
  132. define('ENTRY_SUBURB', 'Suburb:');
  133. define('ENTRY_SUBURB_TEXT', '');
  134. define('ENTRY_POST_CODE', 'Post Code:');
  135. define('ENTRY_POST_CODE_ERROR', 'Your Post Code must contain a minimum of ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.');
  136. define('ENTRY_POST_CODE_TEXT', '*');
  137. define('ENTRY_CITY', 'City:');
  138. define('ENTRY_CITY_ERROR', 'Your City must contain a minimum of ' . ENTRY_CITY_MIN_LENGTH . ' characters.');
  139. define('ENTRY_CITY_TEXT', '*');
  140. define('ENTRY_STATE', 'State/Province:');
  141. define('ENTRY_STATE_ERROR', 'Your State must contain a minimum of ' . ENTRY_STATE_MIN_LENGTH . ' characters.');
  142. define('ENTRY_STATE_ERROR_SELECT', 'Please select a state from the States pull down menu.');
  143. define('ENTRY_STATE_TEXT', '*');
  144. define('ENTRY_COUNTRY', 'Country:');
  145. define('ENTRY_COUNTRY_ERROR', 'You must select a country from the Countries pull down menu.');
  146. define('ENTRY_COUNTRY_TEXT', '*');
  147. define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');
  148. define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Your Telephone Number must contain a minimum of ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.');
  149. define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');
  150. define('ENTRY_FAX_NUMBER', 'Fax Number:');
  151. define('ENTRY_FAX_NUMBER_TEXT', '');
  152. define('ENTRY_NEWSLETTER', 'Newsletter:');
  153. define('ENTRY_NEWSLETTER_TEXT', '');
  154. define('ENTRY_NEWSLETTER_YES', 'Subscribed');
  155. define('ENTRY_NEWSLETTER_NO', 'Unsubscribed');
  156. define('ENTRY_PASSWORD', 'Password:');
  157. define('ENTRY_PASSWORD_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
  158. define('ENTRY_PASSWORD_ERROR_NOT_MATCHING', 'The Password Confirmation must match your Password.');
  159. define('ENTRY_PASSWORD_TEXT', '*');
  160. define('ENTRY_PASSWORD_CONFIRMATION', 'Password Confirmation:');
  161. define('ENTRY_PASSWORD_CONFIRMATION_TEXT', '*');
  162. define('ENTRY_PASSWORD_CURRENT', 'Current Password:');
  163. define('ENTRY_PASSWORD_CURRENT_TEXT', '*');
  164. define('ENTRY_PASSWORD_CURRENT_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
  165. define('ENTRY_PASSWORD_NEW', 'New Password:');
  166. define('ENTRY_PASSWORD_NEW_TEXT', '*');
  167. define('ENTRY_PASSWORD_NEW_ERROR', 'Your new Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
  168. define('ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING', 'The Password Confirmation must match your new Password.');
  169. define('PASSWORD_HIDDEN', '--HIDDEN--');
  170.  
  171. define('FORM_REQUIRED_INFORMATION', '* Required information');
  172.  
  173. // constants for use in tep_prev_next_display function
  174. define('TEXT_RESULT_PAGE', 'Result Pages:');
  175. define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> products)');
  176. define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> orders)');
  177. define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> reviews)');
  178. define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_NEW', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> new products)');
  179. define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> specials)');
  180.  
  181. define('PREVNEXT_TITLE_FIRST_PAGE', 'First Page');
  182. define('PREVNEXT_TITLE_PREVIOUS_PAGE', 'Previous Page');
  183. define('PREVNEXT_TITLE_NEXT_PAGE', 'Next Page');
  184. define('PREVNEXT_TITLE_LAST_PAGE', 'Last Page');
  185. define('PREVNEXT_TITLE_PAGE_NO', 'Page %d');
  186. define('PREVNEXT_TITLE_PREV_SET_OF_NO_PAGE', 'Previous Set of %d Pages');
  187. define('PREVNEXT_TITLE_NEXT_SET_OF_NO_PAGE', 'Next Set of %d Pages');
  188. define('PREVNEXT_BUTTON_FIRST', '&lt;&lt;FIRST');
  189. define('PREVNEXT_BUTTON_PREV', '[&lt;&lt;&nbsp;Prev]');
  190. define('PREVNEXT_BUTTON_NEXT', '[Next&nbsp;&gt;&gt;]');
  191. define('PREVNEXT_BUTTON_LAST', 'LAST&gt;&gt;');
  192.  
  193. define('IMAGE_BUTTON_ADD_ADDRESS', 'Add Address');
  194. define('IMAGE_BUTTON_ADDRESS_BOOK', 'Address Book');
  195. define('IMAGE_BUTTON_BACK', 'Back');
  196. define('IMAGE_BUTTON_BUY_NOW', 'Buy Now');
  197. define('IMAGE_BUTTON_CHANGE_ADDRESS', 'Change Address');
  198. define('IMAGE_BUTTON_CHECKOUT', 'Checkout');
  199. define('IMAGE_BUTTON_CONFIRM_ORDER', 'Confirm Order');
  200. define('IMAGE_BUTTON_CONTINUE', 'Continue');
  201. define('IMAGE_BUTTON_CONTINUE_SHOPPING', 'Continue Shopping');
  202. define('IMAGE_BUTTON_DELETE', 'Delete');
  203. define('IMAGE_BUTTON_EDIT_ACCOUNT', 'Edit Account');
  204. define('IMAGE_BUTTON_HISTORY', 'Order History');
  205. define('IMAGE_BUTTON_LOGIN', 'Sign In');
  206. define('IMAGE_BUTTON_IN_CART', 'Add to Cart');
  207. define('IMAGE_BUTTON_NOTIFICATIONS', 'Notifications');
  208. define('IMAGE_BUTTON_QUICK_FIND', 'Quick Find');
  209. define('IMAGE_BUTTON_REMOVE_NOTIFICATIONS', 'Remove Notifications');
  210. define('IMAGE_BUTTON_REVIEWS', 'Reviews');
  211. define('IMAGE_BUTTON_SEARCH', 'Search');
  212. define('IMAGE_BUTTON_SHIPPING_OPTIONS', 'Shipping Options');
  213. define('IMAGE_BUTTON_TELL_A_FRIEND', 'Tell a Friend');
  214. define('IMAGE_BUTTON_UPDATE', 'Update');
  215. define('IMAGE_BUTTON_UPDATE_CART', 'Update Cart');
  216. define('IMAGE_BUTTON_WRITE_REVIEW', 'Write Review');
  217.  
  218. define('SMALL_IMAGE_BUTTON_DELETE', 'Delete');
  219. define('SMALL_IMAGE_BUTTON_EDIT', 'Edit');
  220. define('SMALL_IMAGE_BUTTON_VIEW', 'View');
  221.  
  222. define('ICON_ARROW_RIGHT', 'more');
  223. define('ICON_CART', 'In Cart');
  224. define('ICON_ERROR', 'Error');
  225. define('ICON_SUCCESS', 'Success');
  226. define('ICON_WARNING', 'Warning');
  227.  
  228. define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');
  229. define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');
  230. define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');
  231.  
  232. define('TEXT_SORT_PRODUCTS', 'Sort products ');
  233. define('TEXT_DESCENDINGLY', 'descendingly');
  234. define('TEXT_ASCENDINGLY', 'ascendingly');
  235. define('TEXT_BY', ' by ');
  236.  
  237. define('TEXT_REVIEW_BY', 'by %s');
  238. define('TEXT_REVIEW_WORD_COUNT', '%s words');
  239. define('TEXT_REVIEW_RATING', 'Rating: %s [%s]');
  240. define('TEXT_REVIEW_DATE_ADDED', 'Date Added: %s');
  241. define('TEXT_NO_REVIEWS', 'There are currently no product reviews.');
  242.  
  243. define('TEXT_NO_NEW_PRODUCTS', 'There are currently no products.');
  244.  
  245. define('TEXT_UNKNOWN_TAX_RATE', 'Unknown tax rate');
  246.  
  247. define('TEXT_REQUIRED', '<span class="errorText">Required</span>');
  248.  
  249. define('ERROR_TEP_MAIL', '<font face="Verdana, Arial" size="2" color="#ff0000"><strong><small>TEP ERROR:</small> Cannot send the email through the specified SMTP server. Please check your php.ini setting and correct the SMTP server if necessary.</strong></font>');
  250.  
  251. define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered for the credit card is invalid. Please check the date and try again.');
  252. define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid. Please check the number and try again.');
  253. define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s. If that number is correct, we do not accept that type of credit card. If it is wrong, please try again.');
  254.  
  255. define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . '</a><br />Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>');
  256. ?>
Advertisement
Add Comment
Please, Sign In to add comment