[TEP-COMMIT] [CVS catalog] call $_SERVER['PHP_SELF'] instead
anonymous-OfajU3CKLf1/[email protected] 13 Apr 2004 07:52:43 -0000
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit in catalog/catalog on MAIN
product_reviews.php +1 -1 1.52 -> 1.53
product_reviews_info.php +1 -1 1.53 -> 1.54
product_reviews_write.php +1 -1 1.57 -> 1.58
+3 -3
3 modified files
call $_SERVER['PHP_SELF'] instead
----------
catalog /catalog
product_reviews.php 1.52 -> 1.53
diff -u -r1.52 -r1.53
--- product_reviews.php 2003/12/18 23:52:14 1.52
+++ product_reviews.php 2004/04/13 07:52:41 1.53
@@ -187,7 +187,7 @@
<?php
}
- echo '<p><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now') . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a></p>';
+ echo '<p><a href="' . tep_href_link(basename($_SERVER['PHP_SELF']), tep_get_all_get_params(array('action')) . 'action=buy_now') . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a></p>';
?>
</td>
</tr>
----------
catalog /catalog
product_reviews_info.php 1.53 -> 1.54
diff -u -r1.53 -r1.54
--- product_reviews_info.php 2004/02/15 12:33:41 1.53
+++ product_reviews_info.php 2004/04/13 07:52:41 1.54
@@ -152,7 +152,7 @@
<?php
}
- echo '<p><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now') . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a></p>';
+ echo '<p><a href="' . tep_href_link(basename($_SERVER['PHP_SELF']), tep_get_all_get_params(array('action')) . 'action=buy_now') . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a></p>';
?>
</td>
</tr>
----------
catalog /catalog
product_reviews_write.php 1.57 -> 1.58
diff -u -r1.57 -r1.58
--- product_reviews_write.php 2003/12/18 23:52:14 1.57
+++ product_reviews_write.php 2004/04/13 07:52:41 1.58
@@ -207,7 +207,7 @@
<?php
}
- echo '<p><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now') . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a></p>';
+ echo '<p><a href="' . tep_href_link(basename($_SERVER['PHP_SELF']), tep_get_all_get_params(array('action')) . 'action=buy_now') . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a></p>';
?>
</td>
</tr>
CVSspam 0.2.8
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click