|
Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
[TEP-COMMIT] CVS: catalog/catalog conditions.php,1.22,1.23 contact_us.php,1: msg#00057
|
Subject: |
[TEP-COMMIT] CVS: catalog/catalog conditions.php,1.22,1.23 contact_us.php,1.42,1.43 cookie_usage.php,1.2,1.3 info_shopping_cart.php,1.19,1.20 popup_image.php,1.18,1.19 popup_search_help.php,1.4,1.5 privacy.php,1.22,1.23 shipping.php,1.22,1.23 ssl_check.php,1.1,1.2 |
Update of /cvsroot/tep/catalog/catalog
In directory sc8-pr-cvs1:/tmp/cvs-serv4447
Modified Files:
conditions.php contact_us.php cookie_usage.php
info_shopping_cart.php popup_image.php popup_search_help.php
privacy.php shipping.php ssl_check.php
Log Message:
use the new classes and super global variables
Index: conditions.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/conditions.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- conditions.php 5 Jun 2003 23:26:22 -0000 1.22
+++ conditions.php 17 Nov 2003 21:00:43 -0000 1.23
@@ -12,7 +12,7 @@
require('includes/application_top.php');
- require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONDITIONS);
+ require(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/' .
FILENAME_CONDITIONS);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONDITIONS));
?>
Index: contact_us.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/contact_us.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- contact_us.php 12 Jun 2003 12:17:07 -0000 1.42
+++ contact_us.php 17 Nov 2003 21:00:43 -0000 1.43
@@ -12,13 +12,13 @@
require('includes/application_top.php');
- require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US);
+ require(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/' .
FILENAME_CONTACT_US);
$error = false;
- if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send'))
{
- $name = tep_db_prepare_input($HTTP_POST_VARS['name']);
- $email_address = tep_db_prepare_input($HTTP_POST_VARS['email']);
- $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']);
+ if (isset($_GET['action']) && ($_GET['action'] == 'send')) {
+ $name = tep_db_prepare_input($_POST['name']);
+ $email_address = tep_db_prepare_input($_POST['email']);
+ $enquiry = tep_db_prepare_input($_POST['enquiry']);
if (tep_validate_email($email_address)) {
tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT,
$enquiry, $name, $email_address);
@@ -79,7 +79,7 @@
<?php
}
- if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] ==
'success')) {
+ if (isset($_GET['action']) && ($_GET['action'] == 'success')) {
?>
<tr>
<td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES .
'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') .
TEXT_SUCCESS; ?></td>
Index: cookie_usage.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/cookie_usage.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cookie_usage.php 5 Jun 2003 23:26:23 -0000 1.2
+++ cookie_usage.php 17 Nov 2003 21:00:43 -0000 1.3
@@ -12,7 +12,7 @@
require('includes/application_top.php');
- require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_COOKIE_USAGE);
+ require(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/' .
FILENAME_COOKIE_USAGE);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_COOKIE_USAGE));
?>
Index: info_shopping_cart.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/info_shopping_cart.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- info_shopping_cart.php 13 Feb 2003 03:01:48 -0000 1.19
+++ info_shopping_cart.php 17 Nov 2003 21:00:43 -0000 1.20
@@ -14,7 +14,7 @@
$navigation->remove_current_page();
- require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_INFO_SHOPPING_CART);
+ require(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/' .
FILENAME_INFO_SHOPPING_CART);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
Index: popup_image.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/popup_image.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- popup_image.php 5 Jun 2003 23:26:23 -0000 1.18
+++ popup_image.php 17 Nov 2003 21:00:43 -0000 1.19
@@ -14,7 +14,7 @@
$navigation->remove_current_page();
- $products_query = tep_db_query("select pd.products_name, p.products_image
from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd
on p.products_id = pd.products_id where p.products_status = '1' and
p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and pd.language_id = '" .
(int)$languages_id . "'");
+ $products_query = tep_db_query("select pd.products_name, p.products_image
from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd
on p.products_id = pd.products_id where p.products_status = '1' and
p.products_id = '" . (int)$_GET['pID'] . "' and pd.language_id = '" .
(int)$osC_Session->value('languages_id') . "'");
$products = tep_db_fetch_array($products_query);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
Index: popup_search_help.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/popup_search_help.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- popup_search_help.php 5 Jun 2003 23:26:23 -0000 1.4
+++ popup_search_help.php 17 Nov 2003 21:00:43 -0000 1.5
@@ -14,7 +14,7 @@
$navigation->remove_current_page();
- require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ADVANCED_SEARCH);
+ require(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/' .
FILENAME_ADVANCED_SEARCH);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
Index: privacy.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/privacy.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- privacy.php 5 Jun 2003 23:26:23 -0000 1.22
+++ privacy.php 17 Nov 2003 21:00:43 -0000 1.23
@@ -12,7 +12,7 @@
require('includes/application_top.php');
- require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRIVACY);
+ require(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/' .
FILENAME_PRIVACY);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRIVACY));
?>
Index: shipping.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/shipping.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- shipping.php 5 Jun 2003 23:26:23 -0000 1.22
+++ shipping.php 17 Nov 2003 21:00:43 -0000 1.23
@@ -12,7 +12,7 @@
require('includes/application_top.php');
- require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHIPPING);
+ require(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/' .
FILENAME_SHIPPING);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SHIPPING));
?>
Index: ssl_check.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/ssl_check.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ssl_check.php 10 Mar 2003 23:32:20 -0000 1.1
+++ ssl_check.php 17 Nov 2003 21:00:43 -0000 1.2
@@ -12,7 +12,7 @@
require('includes/application_top.php');
- require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SSL_CHECK);
+ require(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/' .
FILENAME_SSL_CHECK);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SSL_CHECK));
?>
-------------------------------------------------------
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
|
| |