Removed the PS_STORES_ICON from the category front controller and added in hotel reservation system
This commit is contained in:
@@ -59,11 +59,6 @@ class CategoryControllerCore extends FrontController
|
||||
|
||||
$this->addCSS(_THEME_CSS_DIR_.'occupancy.css');
|
||||
$this->addJS(_THEME_JS_DIR_.'occupancy.js');
|
||||
Media::addJsDef(
|
||||
array(
|
||||
'PS_STORES_ICON' => $this->context->link->getMediaLink(_PS_IMG_.Configuration::get('PS_STORES_ICON')),
|
||||
)
|
||||
);
|
||||
$scenes = Scene::getScenes($this->category->id, $this->context->language->id, true, false);
|
||||
if ($scenes && count($scenes)) {
|
||||
$this->addJS(_THEME_JS_DIR_.'scenes.js');
|
||||
|
||||
@@ -310,6 +310,7 @@ class HotelReservationSystem extends Module
|
||||
'map_input_text' => $objHotel->map_input_text,
|
||||
),
|
||||
'hotel_name' => $objHotel->hotel_name,
|
||||
'PS_STORES_ICON' => $this->context->link->getMediaLink(_PS_IMG_.Configuration::get('PS_STORES_ICON')),
|
||||
));
|
||||
|
||||
$this->context->controller->addJS(
|
||||
|
||||
Reference in New Issue
Block a user