[TEP-COMMIT] CVS: catalog/catalog shopping_cart.php,1.73,1.74
Harald Ponce de Leon <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tep/catalog/catalog
In directory sc8-pr-cvs1:/tmp/cvs-serv6250
Modified Files:
shopping_cart.php
Log Message:
use the new classes and super global variables
Index: shopping_cart.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/shopping_cart.php,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- shopping_cart.php 9 Jun 2003 23:03:56 -0000 1.73
+++ shopping_cart.php 17 Nov 2003 21:07:25 -0000 1.74
@@ -12,7 +12,7 @@
require("includes/application_top.php");
- require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHOPPING_CART);
+ require(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/' . FILENAME_SHOPPING_CART);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SHOPPING_CART));
?>
@@ -86,8 +86,8 @@
and pa.options_id = popt.products_options_id
and pa.options_values_id = '" . $value . "'
and pa.options_values_id = poval.products_options_values_id
- and popt.language_id = '" . $languages_id . "'
- and poval.language_id = '" . $languages_id . "'");
+ and popt.language_id = '" . $osC_Session->value('languages_id') . "'
+ and poval.language_id = '" . $osC_Session->value('languages_id') . "'");
$attributes_values = tep_db_fetch_array($attributes);
$products[$i][$option]['products_options_name'] = $attributes_values['products_options_name'];
@@ -146,7 +146,7 @@
$info_box_contents[$cur_row][] = array('align' => 'right',
'params' => 'class="productListing-data" valign="top"',
- 'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</b>');
+ 'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], $osC_Tax->getTaxRate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</b>');
}
new productListingBox($info_box_contents);
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl