  |
40 | 40 | | $this->_content .= '<li style="padding-bottom: 15px;">'; |
| |
41 | 41 | | |
| |
42 | 42 | | if (SERVICE_RECENTLY_VISITED_SHOW_PRODUCT_IMAGES == '1') { |
  |
43 | | - | $this->_content .= '<span style="float: left; width: ' . ($osC_Image->getWidth('mini') + 10) . 'px; text-align: center;">' . osc_link_object(tep_href_link(FILENAME_PRODUCTS, $product['keyword']), $osC_Image->show($product['image'], $product['name'], null, 'mini')) . '</span>'; |
| |
| 43 | + | $this->_content .= '<span style="float: left; width: ' . ($osC_Image->getWidth('mini') + 10) . 'px; text-align: center;">' . osc_link_object(osc_href_link(FILENAME_PRODUCTS, $product['keyword']), $osC_Image->show($product['image'], $product['name'], null, 'mini')) . '</span>'; |
|
44 | 44 | | } |
| |
45 | 45 | | |
  |
46 | | - | $this->_content .= '<div style="padding-left: ' . ($osC_Image->getWidth('mini') + 10) . 'px;">' . osc_link_object(tep_href_link(FILENAME_PRODUCTS, $product['keyword']), $product['name']) . '<br />'; |
| |
| 46 | + | $this->_content .= '<div style="padding-left: ' . ($osC_Image->getWidth('mini') + 10) . 'px;">' . osc_link_object(osc_href_link(FILENAME_PRODUCTS, $product['keyword']), $product['name']) . '<br />'; |
|
47 | 47 | | |
| |
48 | 48 | | if (SERVICE_RECENTLY_VISITED_SHOW_PRODUCT_PRICES == '1') { |
| |
49 | 49 | | $this->_content .= $product['price'] . ' '; |
| |
50 | 50 | | } |
| |
51 | 51 | | |
  |
52 | | - | $this->_content .= '<i>(' . sprintf($osC_Language->get('recently_visited_item_in_category'), osc_link_object(tep_href_link(FILENAME_DEFAULT, 'cPath=' . $product['category_path']), $product['category_name'])) . ')</i></div></li>'; |
| |
| 52 | + | $this->_content .= '<i>(' . sprintf($osC_Language->get('recently_visited_item_in_category'), osc_link_object(osc_href_link(FILENAME_DEFAULT, 'cPath=' . $product['category_path']), $product['category_name'])) . ')</i></div></li>'; |
|
53 | 53 | | } |
| |
54 | 54 | | |
| |
55 | 55 | | $this->_content .= ' </ol>' . |
| |
|
|
 |
… |
|
62 | 62 | | ' <ol style="list-style: none; margin: 0; padding: 0;">'; |
| |
63 | 63 | | |
| |
64 | 64 | | foreach ($osC_RecentlyVisited->getCategories() as $category) { |
  |
65 | | - | $this->_content .= '<li>' . osc_link_object(tep_href_link(FILENAME_DEFAULT, 'cPath=' . $category['path']), $category['name']); |
| |
| 65 | + | $this->_content .= '<li>' . osc_link_object(osc_href_link(FILENAME_DEFAULT, 'cPath=' . $category['path']), $category['name']); |
|
66 | 66 | | |
| |
67 | 67 | | if (!empty($category['parent_id'])) { |
  |
68 | | - | $this->_content .= ' <i>(' . sprintf($osC_Language->get('recently_visited_item_in_category'), osc_link_object(tep_href_link(FILENAME_DEFAULT, 'cPath=' . $category['parent_id']), $category['parent_name'])) . ')</i>'; |
| |
| 68 | + | $this->_content .= ' <i>(' . sprintf($osC_Language->get('recently_visited_item_in_category'), osc_link_object(osc_href_link(FILENAME_DEFAULT, 'cPath=' . $category['parent_id']), $category['parent_name'])) . ')</i>'; |
|
69 | 69 | | } |
| |
70 | 70 | | |
| |
71 | 71 | | $this->_content .= '</li>'; |
| |
|
|
 |
… |
|
81 | 81 | | ' <ol style="list-style: none; margin: 0; padding: 0;">'; |
| |
82 | 82 | | |
| |
83 | 83 | | foreach ($osC_RecentlyVisited->getSearches() as $searchphrase) { |
  |
84 | | - | $this->_content .= '<li>' . osc_link_object(tep_href_link(FILENAME_SEARCH, 'keywords=' . $searchphrase['keywords']), tep_output_string_protected($searchphrase['keywords'])) . ' <i>(' . number_format($searchphrase['results']) . ' results)</i></li>'; |
| |
| 84 | + | $this->_content .= '<li>' . osc_link_object(osc_href_link(FILENAME_SEARCH, 'keywords=' . $searchphrase['keywords']), tep_output_string_protected($searchphrase['keywords'])) . ' <i>(' . number_format($searchphrase['results']) . ' results)</i></li>'; |
  |
85 | 85 | | } |
| |
86 | 86 | | |
| |
87 | 87 | | $this->_content .= ' </ol>' . |