Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1739
 
1839
 
1839
 
html_output.php
_> 11 <?php
  22 /*
<> 3 -  $Id: html_output.php 1739 2007-12-20 00:52:16Z hpdl $
   3+  $Id: html_output.php 1839 2008-12-12 11:15:33Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2007 osCommerce
   8+  Copyright (c) 2008 osCommerce
99 
  1010   Released under the GNU General Public License
  1111 */
  1212 
  1313 ////
  1414 // The HTML href link wrapper function
  1515   function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL') {
<>  16+    $page = tep_output_string($page);
   17+
1618     if ($page == '') {
  1719       die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine the page link!<br><br>Function used:<br><br>tep_href_link(\'' . $page . '\', \'' . $parameters . '\', \'' . $connection . '\')</b>');
  1820     }
     
 !
3032     if ($parameters == '') {
  3133       $link = $link . $page . '?' . SID;
  3234     } else {
<> 33 -      $link = $link . $page . '?' . $parameters . '&' . SID;
   35+      $link = $link . $page . '?' . tep_output_string($parameters) . '&' . SID;
<_ 3436     }
  3537 
  3638     while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1);