  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: navigation_history.php 368 2005-12-22 16:27:23Z hpdl $ |
| |
| 3 | + | $Id: navigation_history.php 754 2006-08-23 11:56:56Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
114 | 114 | | |
| |
115 | 115 | | $back = sizeof($this->_data) - $back; |
| |
116 | 116 | | |
  |
117 | | - | return tep_href_link($this->_data[$back]['page'], $this->_parseParameters($this->_data[$back]['get'], $exclude), $this->_data[$back]['mode']); |
| |
| 117 | + | return osc_href_link($this->_data[$back]['page'], $this->_parseParameters($this->_data[$back]['get'], $exclude), $this->_data[$back]['mode']); |
|
118 | 118 | | } |
| |
119 | 119 | | |
| |
120 | 120 | | function setSnapshot($page = '') { |
| |
|
|
 |
… |
|
149 | 149 | | |
| |
150 | 150 | | function getSnapshotURL($auto_mode = false) { |
| |
151 | 151 | | if ($this->hasSnapshot()) { |
  |
152 | | - | $target = tep_href_link($this->_snapshot['page'], $this->_parseParameters($this->_snapshot['get']), ($auto_mode === true) ? 'AUTO' : $this->_snapshot['mode']); |
| |
| 152 | + | $target = osc_href_link($this->_snapshot['page'], $this->_parseParameters($this->_snapshot['get']), ($auto_mode === true) ? 'AUTO' : $this->_snapshot['mode']); |
|
153 | 153 | | } else { |
  |
154 | | - | $target = tep_href_link(FILENAME_DEFAULT, '', ($auto_mode === true) ? 'AUTO' : $this->_snapshot['mode']); |
| |
| 154 | + | $target = osc_href_link(FILENAME_DEFAULT, null, ($auto_mode === true) ? 'AUTO' : $this->_snapshot['mode']); |
  |
155 | 155 | | } |
| |
156 | 156 | | |
| |
157 | 157 | | return $target; |