Permalink
Browse files

Converting linefeeds to UNIX style. Converted TAB to spaces for code …

…consistency
  • Loading branch information...
1 parent 2d68568 commit 9baa0e40d1971754aa01d9a6f9e73415e138e57e @acidvertigo committed Dec 28, 2011
Showing with 1,319 additions and 1,319 deletions.
  1. +2 −2 CHANGELOG
  2. +91 −91 LICENSE
  3. +1 −1 catalog/account_history_info.php
  4. +2 −2 catalog/account_password.php
  5. +5 −5 catalog/admin/administrators.php
  6. +1 −1 catalog/admin/backup.php
  7. +18 −18 catalog/admin/categories.php
  8. +135 −135 catalog/admin/ext/modules/payment/sofortueberweisung/install.php
  9. +1 −1 catalog/admin/geo_zones.php
  10. +1 −1 catalog/admin/includes/application_bottom.php
  11. +1 −1 catalog/admin/includes/classes/currencies.php
  12. +1 −1 catalog/admin/includes/classes/language.php
  13. +1 −1 catalog/admin/includes/classes/message_stack.php
  14. +7 −7 catalog/admin/includes/classes/mime.php
  15. +223 −223 catalog/admin/includes/classes/passwordhash.php
  16. +2 −2 catalog/admin/includes/classes/payment_module_info.php
  17. +3 −3 catalog/admin/includes/classes/phplot.php
  18. +2 −2 catalog/admin/includes/classes/rss.php
  19. +3 −3 catalog/admin/includes/classes/shopping_cart.php
  20. +2 −2 catalog/admin/includes/classes/table_block.php
  21. +1 −1 catalog/admin/includes/configure.php
  22. +2 −2 catalog/admin/includes/functions/compatibility.php
  23. +3 −3 catalog/admin/includes/functions/database.php
  24. +12 −12 catalog/admin/includes/functions/general.php
  25. +10 −10 catalog/admin/includes/functions/html_graphs.php
  26. +6 −6 catalog/admin/includes/functions/html_output.php
  27. +1 −1 catalog/admin/includes/functions/languages.php
  28. +1 −1 catalog/admin/includes/functions/sessions.php
  29. +1 −1 catalog/admin/includes/functions/validations.php
  30. +1 −1 catalog/admin/includes/header.php
  31. +1 −1 catalog/admin/includes/languages/english/action_recorder.php
  32. +1 −1 catalog/admin/includes/languages/english/banner_statistics.php
  33. +1 −1 catalog/admin/includes/languages/english/configuration.php
  34. +1 −1 catalog/admin/includes/languages/english/modules/newsletters/newsletter.php
  35. +1 −1 catalog/admin/includes/languages/english/modules/newsletters/product_notification.php
  36. +1 −1 catalog/admin/includes/languages/english/newsletters.php
  37. +1 −1 catalog/admin/includes/languages/english/orders_status.php
  38. +1 −1 catalog/admin/includes/languages/english/products_attributes.php
  39. +1 −1 catalog/admin/includes/languages/english/products_expected.php
  40. +1 −1 catalog/admin/includes/languages/english/reviews.php
  41. +1 −1 catalog/admin/includes/languages/english/server_info.php
  42. +1 −1 catalog/admin/includes/languages/english/stats_customers.php
  43. +1 −1 catalog/admin/includes/languages/english/stats_products_purchased.php
  44. +1 −1 catalog/admin/includes/languages/english/stats_products_viewed.php
  45. +1 −1 catalog/admin/includes/languages/english/store_logo.php
  46. +1 −1 catalog/admin/includes/languages/english/tax_classes.php
  47. +1 −1 catalog/admin/includes/languages/english/version_check.php
  48. +1 −1 catalog/admin/includes/languages/english/whos_online.php
  49. +1 −1 catalog/admin/includes/languages/english/zones.php
  50. +1 −1 catalog/admin/includes/modules/dashboard/d_reviews.php
  51. +1 −1 catalog/admin/index.php
  52. +1 −1 catalog/admin/invoice.php
  53. +1 −1 catalog/admin/mail.php
  54. +1 −1 catalog/admin/modules.php
  55. +3 −3 catalog/admin/orders.php
  56. +1 −1 catalog/admin/orders_status.php
  57. +2 −2 catalog/admin/packingslip.php
  58. +23 −23 catalog/admin/products_attributes.php
  59. +1 −1 catalog/admin/reviews.php
  60. +1 −1 catalog/admin/sec_dir_permissions.php
  61. +1 −1 catalog/admin/whos_online.php
  62. +3 −3 catalog/advanced_search_result.php
  63. +4 −4 catalog/checkout_confirmation.php
  64. +2 −2 catalog/checkout_payment.php
  65. +67 −67 catalog/checkout_process.php
  66. +4 −4 catalog/checkout_shipping.php
  67. +2 −2 catalog/checkout_success.php
  68. +1 −1 catalog/create_account.php
  69. +3 −3 catalog/download.php
  70. +36 −36 catalog/ext/flot/API.txt
  71. +5 −5 catalog/ext/flot/NEWS.txt
  72. +8 −8 catalog/ext/flot/PLUGINS.txt
  73. +1 −1 catalog/ext/flot/README.txt
  74. +33 −33 catalog/ext/modules/payment/inpay/inpay_functions.php
  75. +12 −12 catalog/ext/modules/payment/inpay/pb_handler.php
  76. +5 −5 catalog/includes/application_top.php
  77. +1 −1 catalog/includes/classes/boxes.php
  78. +3 −3 catalog/includes/classes/breadcrumb.php
  79. +1 −1 catalog/includes/classes/cc_validation.php
  80. +3 −3 catalog/includes/classes/email.php
  81. +9 −9 catalog/includes/classes/http_client.php
  82. +5 −5 catalog/includes/classes/language.php
  83. +3 −3 catalog/includes/classes/message_stack.php
  84. +8 −8 catalog/includes/classes/mime.php
  85. +3 −3 catalog/includes/classes/navigation_history.php
  86. +1 −1 catalog/includes/classes/order.php
  87. +1 −1 catalog/includes/classes/order_total.php
  88. +223 −223 catalog/includes/classes/passwordhash.php
  89. +1 −1 catalog/includes/classes/payment.php
  90. +2 −2 catalog/includes/classes/shipping.php
  91. +1 −1 catalog/includes/classes/shopping_cart.php
  92. +1 −1 catalog/includes/classes/split_page_results.php
  93. +2 −2 catalog/includes/functions/cache.php
  94. +3 −3 catalog/includes/functions/database.php
  95. +5 −5 catalog/includes/functions/general.php
  96. +1 −1 catalog/includes/functions/gzip_compression.php
  97. +6 −6 catalog/includes/functions/html_output.php
  98. +1 −1 catalog/includes/functions/password_funcs.php
  99. +1 −1 catalog/includes/functions/sessions.php
  100. +1 −1 catalog/includes/functions/specials.php
  101. +1 −1 catalog/includes/functions/validations.php
  102. +1 −1 catalog/includes/languages/english/account.php
  103. +1 −1 catalog/includes/languages/english/checkout_process.php
  104. +1 −1 catalog/includes/languages/english/checkout_success.php
  105. +1 −1 catalog/includes/languages/english/conditions.php
  106. +1 −1 catalog/includes/languages/english/contact_us.php
  107. +1 −1 catalog/includes/languages/english/info_shopping_cart.php
  108. +1 −1 catalog/includes/languages/english/modules/order_total/ot_loworderfee.php
  109. +1 −1 catalog/includes/languages/english/modules/order_total/ot_shipping.php
  110. +1 −1 catalog/includes/languages/english/modules/order_total/ot_subtotal.php
  111. +1 −1 catalog/includes/languages/english/modules/order_total/ot_tax.php
  112. +1 −1 catalog/includes/languages/english/modules/order_total/ot_total.php
  113. +1 −1 catalog/includes/languages/english/modules/payment/cod.php
  114. +10 −10 catalog/includes/languages/english/modules/payment/inpay.php
  115. +1 −1 catalog/includes/languages/english/modules/payment/pm2checkout.php
  116. +1 −1 catalog/includes/languages/english/modules/payment/psigate.php
  117. +1 −1 catalog/includes/languages/english/password_forgotten.php
  118. +1 −1 catalog/includes/languages/english/privacy.php
  119. +1 −1 catalog/includes/languages/english/product_reviews.php
  120. +1 −1 catalog/includes/languages/english/product_reviews_info.php
  121. +1 −1 catalog/includes/languages/english/products_new.php
  122. +1 −1 catalog/includes/languages/english/reviews.php
  123. +1 −1 catalog/includes/languages/english/shipping.php
  124. +1 −1 catalog/includes/languages/english/shopping_cart.php
  125. +1 −1 catalog/includes/languages/local/README
  126. +1 −1 catalog/includes/modules/boxes/bm_categories.php
  127. +3 −3 catalog/includes/modules/boxes/bm_currencies.php
  128. +87 −87 catalog/includes/modules/header_tags/ht_mailchimp_360/MCAPI.class.php
  129. +15 −15 catalog/includes/modules/header_tags/ht_mailchimp_360/mc360.php
  130. +1 −1 catalog/includes/modules/order_total/ot_tax.php
  131. +1 −1 catalog/includes/modules/payment/authorizenet_cc_aim.php
  132. +12 −12 catalog/includes/modules/payment/inpay.php
  133. +1 −1 catalog/includes/modules/payment/ipayment_cc.php
  134. +1 −1 catalog/includes/modules/payment/moneyorder.php
  135. +4 −4 catalog/includes/modules/payment/paypal_express.php
  136. +5 −5 catalog/includes/modules/payment/paypal_pro_dp.php
  137. +6 −6 catalog/includes/modules/payment/pm2checkout.php
  138. +3 −3 catalog/includes/modules/payment/psigate.php
  139. +7 −7 catalog/includes/modules/payment/rbsworldpay_hosted.php
  140. +2 −2 catalog/includes/modules/payment/sage_pay_direct.php
  141. +1 −1 catalog/includes/modules/shipping/table.php
  142. +23 −23 catalog/includes/modules/shipping/usps.php
  143. +15 −15 catalog/includes/modules/shipping/zones.php
  144. +1 −1 catalog/includes/modules/social_bookmarks/sb_digg.php
  145. +1 −1 catalog/includes/modules/social_bookmarks/sb_email.php
  146. +1 −1 catalog/includes/modules/social_bookmarks/sb_facebook.php
  147. +1 −1 catalog/includes/modules/social_bookmarks/sb_google_buzz.php
  148. +1 −1 catalog/includes/modules/social_bookmarks/sb_twitter.php
  149. +1 −1 catalog/includes/modules/social_bookmarks/sb_twitter_button.php
  150. +1 −1 catalog/includes/spiders.txt
  151. +1 −1 catalog/includes/template_bottom.php
  152. +1 −1 catalog/includes/version.php
  153. +1 −1 catalog/index.php
  154. +1 −1 catalog/install/includes/functions/general.php
  155. +1 −1 catalog/install/templates/pages/install_2.php
  156. +1 −1 catalog/install/templates/pages/install_3.php
  157. +1 −1 catalog/install/templates/pages/install_4.php
  158. +4 −4 catalog/shopping_cart.php
  159. +3 −3 extras/update-20060817.txt
  160. +8 −8 extras/upgrade-22rc2a.html
View
@@ -419,7 +419,7 @@ Please review the update-20060817.txt file for the important changes made.
* Fixed bug 1662; update of customers address through the My Account page
resulted in the country value not being stored properly and affected tax
rate values.
-
+
------------------------------------------------------------------------------
11/12/2005 osCommerce 2.2 Milestone 2 Update 051112
------------------------------------------------------------------------------
@@ -595,7 +595,7 @@ Please review the update-20060817.txt file for the important changes made.
* All address information is now stored in the address_book table only. This
change was made to reduce redundancy and allow more feautures in the
- checkout part (e.g. selection of different BillTo and SendTo addresses)
+ checkout part (e.g. selection of different BillTo and SendTo addresses)
------------------------------------------------------------------------------
03/06/2001 The Exchange Project Preview Release 2.1
View
182 LICENSE

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -20,7 +20,7 @@
if (!isset($_GET['order_id']) || (isset($_GET['order_id']) && !is_numeric($_GET['order_id']))) {
tep_redirect(tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL'));
}
-
+
$customer_info_query = tep_db_query("select o.customers_id from " . TABLE_ORDERS . " o, " . TABLE_ORDERS_STATUS . " s where o.orders_id = '". (int)$_GET['order_id'] . "' and o.orders_status = s.orders_status_id and s.language_id = '" . (int)$languages_id . "' and s.public_flag = '1'");
$customer_info = tep_db_fetch_array($customer_info_query);
if ($customer_info['customers_id'] != $customer_id) {
@@ -86,11 +86,11 @@
<td class="fieldKey"><?php echo ENTRY_PASSWORD_CURRENT; ?></td>
<td class="fieldValue"><?php echo tep_draw_password_field('password_current') . '&nbsp;' . (tep_not_null(ENTRY_PASSWORD_CURRENT_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_CURRENT_TEXT . '</span>': ''); ?></td>
</tr>
- <tr>
+ <tr>
<td class="fieldKey"><?php echo ENTRY_PASSWORD_NEW; ?></td>
<td class="fieldValue"><?php echo tep_draw_password_field('password_new') . '&nbsp;' . (tep_not_null(ENTRY_PASSWORD_NEW_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_NEW_TEXT . '</span>': ''); ?></td>
</tr>
- <tr>
+ <tr>
<td class="fieldKey"><?php echo ENTRY_PASSWORD_CONFIRMATION; ?></td>
<td class="fieldValue"><?php echo tep_draw_password_field('password_confirmation') . '&nbsp;' . (tep_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>': ''); ?></td>
</tr>
@@ -129,7 +129,7 @@
if (tep_not_null($password)) {
// update password in htpasswd
if (is_array($htpasswd_array)) {
- $n=sizeof($htpasswd_array);
+ $n=sizeof($htpasswd_array);
for ($i=0; $i<$n; $i++) {
list($ht_username, $ht_password) = explode(':', $htpasswd_array[$i], 2);
@@ -146,7 +146,7 @@
tep_db_query("update " . TABLE_ADMINISTRATORS . " set user_password = '" . tep_db_input(tep_encrypt_password($password)) . "' where id = '" . (int)$_GET['aID'] . "'");
} elseif (!isset($_POST['htaccess']) || ($_POST['htaccess'] != 'true')) {
if (is_array($htpasswd_array)) {
- $n=sizeof($htpasswd_array);
+ $n=sizeof($htpasswd_array);
for ($i=0; $i<$n; $i++) {
list($ht_username, $ht_password) = explode(':', $htpasswd_array[$i], 2);
@@ -207,7 +207,7 @@
fclose($fp);
if (empty($htpasswd_array)) {
- $n=sizeof($htaccess_array);
+ $n=sizeof($htaccess_array);
for ($i=0; $i<$n; $i++) {
if (in_array($htaccess_array[$i], $authuserfile_array)) {
unset($htaccess_array[$i]);
@@ -280,7 +280,7 @@
}
if (is_array($htpasswd_array)) {
- $n=sizeof($htpasswd_array);
+ $n=sizeof($htpasswd_array);
for ($i=0; $i<$n; $i++) {
list($ht_username, $ht_password) = explode(':', $htpasswd_array[$i], 2);
@@ -338,7 +338,7 @@
if (is_array($htpasswd_array)) {
$default_flag = false;
- $n=sizeof($htpasswd_array);
+ $n=sizeof($htpasswd_array);
for ($i=0; $i<$n; $i++) {
list($ht_username, $ht_password) = explode(':', $htpasswd_array[$i], 2);
View
@@ -80,7 +80,7 @@
$index[$kname]['columns'][] = $keys['Column_name'];
}
- foreach ($index as $kname => $info) {
+ foreach ($index as $kname => $info) {
$schema .= ',' . "\n";
$columns = implode($info['columns'], ', ');
@@ -58,7 +58,7 @@
}
$languages = tep_get_languages();
- $n=sizeof($languages);
+ $n=sizeof($languages);
for ($i=0; $i<$n; $i++) {
$categories_name_array = $_POST['categories_name'];
@@ -100,7 +100,7 @@
$products = array();
$products_delete = array();
- $n=sizeof($categories);
+ $n=sizeof($categories);
for ($i=0; $i<$n; $i++) {
$product_ids_query = tep_db_query("select products_id from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$categories[$i]['id'] . "'");
@@ -109,10 +109,10 @@
}
}
- foreach ($products as $key => $value) {
+ foreach ($products as $key => $value) {
$category_ids = '';
- $n=sizeof($value['categories']);
+ $n=sizeof($value['categories']);
for ($i=0; $i<$n; $i++) {
$category_ids .= "'" . (int)$value['categories'][$i] . "', ";
}
@@ -127,7 +127,7 @@
// removing categories can be a lengthy process
tep_set_time_limit(0);
- $n=sizeof($categories);
+ $n=sizeof($categories);
for ($i=0; $i<$n; $i++) {
tep_remove_category($categories[$i]['id']);
}
@@ -150,7 +150,7 @@
$product_id = tep_db_prepare_input($_POST['products_id']);
$product_categories = $_POST['product_categories'];
- $n=sizeof($product_categories);
+ $n=sizeof($product_categories);
for ($i=0; $i<$n; $i++) {
tep_db_query("delete from " . TABLE_PRODUCTS_TO_CATEGORIES . " where products_id = '" . (int)$product_id . "' and categories_id = '" . (int)$product_categories[$i] . "'");
}
@@ -249,7 +249,7 @@
}
$languages = tep_get_languages();
- $n=sizeof($languages);
+ $n=sizeof($languages);
for ($i=0; $i<$n; $i++) {
$language_id = $languages[$i]['id'];
@@ -451,7 +451,7 @@
<script type="text/javascript"><!--
var tax_rates = new Array();
<?php
- $n=sizeof($tax_class_array);
+ $n=sizeof($tax_class_array);
for ($i=0; $i<$n; $i++) {
if ($tax_class_array[$i]['id'] > 0) {
echo 'tax_rates["' . $tax_class_array[$i]['id'] . '"] = ' . tep_get_tax_rate_value($tax_class_array[$i]['id']) . ';' . "\n";
@@ -533,7 +533,7 @@ function updateNet() {
<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<?php
- $n=sizeof($languages);
+ $n=sizeof($languages);
for ($i=0; $i<$n; $i++) {
?>
<tr>
@@ -565,7 +565,7 @@ function updateNet() {
updateGross();
//--></script>
<?php
- $n=sizeof($languages);
+ $n=sizeof($languages);
for ($i=0; $i<$n; $i++) {
?>
<tr>
@@ -669,7 +669,7 @@ function showPiDelConfirm(piId) {
<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<?php
- $n=sizeof($languages);
+ $n=sizeof($languages);
for ($i=0; $i<$n; $i++) {
?>
<tr>
@@ -712,7 +712,7 @@ function showPiDelConfirm(piId) {
$products_image_name = $pInfo->products_image;
$languages = tep_get_languages();
- $n=sizeof($languages);
+ $n=sizeof($languages);
for ($i=0; $i<$n; $i++) {
$pInfo->products_name = tep_get_products_name($pInfo->products_id, $languages[$i]['id']);
$pInfo->products_description = tep_get_products_description($pInfo->products_id, $languages[$i]['id']);
@@ -911,7 +911,7 @@ function showPiDelConfirm(piId) {
$cPath_back = '';
if (sizeof($cPath_array) > 0) {
- $n=sizeof($cPath_array)-1;
+ $n=sizeof($cPath_array)-1;
for ($i=0; $i<$n; $i++) {
if (empty($cPath_back)) {
$cPath_back .= $cPath_array[$i];
@@ -944,7 +944,7 @@ function showPiDelConfirm(piId) {
$category_inputs_string = '';
$languages = tep_get_languages();
- $n = sizeof($languages);
+ $n = sizeof($languages);
for ($i = 0; $i < $n; $i++) {
$category_inputs_string .= '<br />' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . tep_draw_input_field('categories_name[' . $languages[$i]['id'] . ']');
}
@@ -962,7 +962,7 @@ function showPiDelConfirm(piId) {
$category_inputs_string = '';
$languages = tep_get_languages();
- $n = sizeof($languages);
+ $n = sizeof($languages);
for ($i = 0; $i < $n; $i++) {
$category_inputs_string .= '<br />' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . tep_draw_input_field('categories_name[' . $languages[$i]['id'] . ']', tep_get_category_name($cInfo->categories_id, $languages[$i]['id']));
}
@@ -1000,10 +1000,10 @@ function showPiDelConfirm(piId) {
$product_categories_string = '';
$product_categories = tep_generate_category_path($pInfo->products_id, 'product');
- $n = sizeof($product_categories);
+ $n = sizeof($product_categories);
for ($i = 0; $i < $n; $i++) {
$category_path = '';
- $k = sizeof($product_categories[$i]);
+ $k = sizeof($product_categories[$i]);
for ($j = 0; $j < $k; $j++) {
$category_path .= $product_categories[$i][$j]['text'] . '&nbsp;&gt;&nbsp;';
}
@@ -1088,4 +1088,4 @@ function showPiDelConfirm(piId) {
require(DIR_WS_INCLUDES . 'template_bottom.php');
require(DIR_WS_INCLUDES . 'application_bottom.php');
-?>
+?>
Oops, something went wrong.

0 comments on commit 9baa0e4

Please sign in to comment.