From 529498d84bccbb7aae2f24dde893068eee202149 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Tue, 26 Apr 2022 19:26:37 +0530 Subject: [PATCH] Remove blocktopmenu --- config/xml/themes/default.xml | 1 - controllers/admin/AdminThemesController.php | 1 - modules/blocktopmenu/CHANGELOG.txt | 14 - modules/blocktopmenu/Readme.md | 37 - modules/blocktopmenu/blocktopmenu.php | 1361 ----------------- modules/blocktopmenu/blocktopmenu.tpl | 24 - modules/blocktopmenu/css/blocktopmenu.css | 4 - modules/blocktopmenu/css/index.php | 35 - .../blocktopmenu/css/superfish-modified.css | 241 --- modules/blocktopmenu/img/arrows-ffffff.png | Bin 175 -> 0 bytes .../img/bg_blocktopmenu_li_seleted.png | Bin 208 -> 0 bytes modules/blocktopmenu/img/blocktopmenu.gif | Bin 839 -> 0 bytes .../blocktopmenu/img/blocktopmenu_hover.gif | Bin 155 -> 0 bytes .../blocktopmenu/img/blocktopmenu_left.gif | Bin 353 -> 0 bytes .../blocktopmenu/img/blocktopmenu_right.gif | Bin 353 -> 0 bytes modules/blocktopmenu/img/index.php | 35 - modules/blocktopmenu/img/search.gif | Bin 662 -> 0 bytes modules/blocktopmenu/img/shadow.png | Bin 1661 -> 0 bytes modules/blocktopmenu/index.php | 35 - modules/blocktopmenu/js/blocktopmenu.js | 131 -- modules/blocktopmenu/js/hoverIntent.js | 114 -- modules/blocktopmenu/js/index.php | 35 - modules/blocktopmenu/js/superfish-modified.js | 257 ---- modules/blocktopmenu/logo.gif | Bin 595 -> 0 bytes modules/blocktopmenu/logo.png | Bin 732 -> 0 bytes modules/blocktopmenu/menutoplinks.class.php | 146 -- modules/blocktopmenu/translations/ag.php | 59 - modules/blocktopmenu/translations/ar.php | 27 - modules/blocktopmenu/translations/bg.php | 59 - modules/blocktopmenu/translations/br.php | 59 - modules/blocktopmenu/translations/ca.php | 59 - modules/blocktopmenu/translations/de.php | 59 - modules/blocktopmenu/translations/en.php | 59 - modules/blocktopmenu/translations/es.php | 59 - modules/blocktopmenu/translations/fr.php | 59 - modules/blocktopmenu/translations/gl.php | 26 - modules/blocktopmenu/translations/id.php | 59 - modules/blocktopmenu/translations/index.php | 35 - modules/blocktopmenu/translations/nl.php | 59 - modules/blocktopmenu/upgrade/install-1.6.php | 10 - .../blocktopmenu/upgrade/install-2.1.1.php | 33 - modules/blocktopmenu/views/index.php | 35 - .../admin/_configure/helpers/form/form.tpl | 125 -- .../admin/_configure/helpers/form/index.php | 35 - .../admin/_configure/helpers/index.php | 35 - .../admin/_configure/helpers/list/index.php | 35 - .../_configure/helpers/list/list_content.tpl | 34 - .../templates/admin/_configure/index.php | 35 - .../views/templates/admin/index.php | 35 - .../blocktopmenu/views/templates/index.php | 35 - .../modules/blocktopmenu/css/blocktopmenu.css | 4 - .../css/modules/blocktopmenu/css/index.php | 35 - .../blocktopmenu/css/superfish-modified.css | 241 --- .../css/modules/blocktopmenu/index.php | 35 - .../js/modules/blocktopmenu/index.php | 35 - .../modules/blocktopmenu/js/blocktopmenu.js | 131 -- .../js/modules/blocktopmenu/js/hoverIntent.js | 114 -- .../js/modules/blocktopmenu/js/index.php | 35 - .../blocktopmenu/js/superfish-modified.js | 257 ---- .../modules/blocktopmenu/blocktopmenu.tpl | 22 - .../modules/blocktopmenu/index.php | 35 - 61 files changed, 4540 deletions(-) delete mode 100644 modules/blocktopmenu/CHANGELOG.txt delete mode 100644 modules/blocktopmenu/Readme.md delete mode 100644 modules/blocktopmenu/blocktopmenu.php delete mode 100644 modules/blocktopmenu/blocktopmenu.tpl delete mode 100644 modules/blocktopmenu/css/blocktopmenu.css delete mode 100644 modules/blocktopmenu/css/index.php delete mode 100644 modules/blocktopmenu/css/superfish-modified.css delete mode 100644 modules/blocktopmenu/img/arrows-ffffff.png delete mode 100644 modules/blocktopmenu/img/bg_blocktopmenu_li_seleted.png delete mode 100644 modules/blocktopmenu/img/blocktopmenu.gif delete mode 100644 modules/blocktopmenu/img/blocktopmenu_hover.gif delete mode 100644 modules/blocktopmenu/img/blocktopmenu_left.gif delete mode 100644 modules/blocktopmenu/img/blocktopmenu_right.gif delete mode 100644 modules/blocktopmenu/img/index.php delete mode 100644 modules/blocktopmenu/img/search.gif delete mode 100644 modules/blocktopmenu/img/shadow.png delete mode 100644 modules/blocktopmenu/index.php delete mode 100644 modules/blocktopmenu/js/blocktopmenu.js delete mode 100644 modules/blocktopmenu/js/hoverIntent.js delete mode 100644 modules/blocktopmenu/js/index.php delete mode 100644 modules/blocktopmenu/js/superfish-modified.js delete mode 100644 modules/blocktopmenu/logo.gif delete mode 100644 modules/blocktopmenu/logo.png delete mode 100644 modules/blocktopmenu/menutoplinks.class.php delete mode 100644 modules/blocktopmenu/translations/ag.php delete mode 100644 modules/blocktopmenu/translations/ar.php delete mode 100644 modules/blocktopmenu/translations/bg.php delete mode 100644 modules/blocktopmenu/translations/br.php delete mode 100644 modules/blocktopmenu/translations/ca.php delete mode 100644 modules/blocktopmenu/translations/de.php delete mode 100644 modules/blocktopmenu/translations/en.php delete mode 100644 modules/blocktopmenu/translations/es.php delete mode 100644 modules/blocktopmenu/translations/fr.php delete mode 100644 modules/blocktopmenu/translations/gl.php delete mode 100644 modules/blocktopmenu/translations/id.php delete mode 100644 modules/blocktopmenu/translations/index.php delete mode 100644 modules/blocktopmenu/translations/nl.php delete mode 100644 modules/blocktopmenu/upgrade/install-1.6.php delete mode 100644 modules/blocktopmenu/upgrade/install-2.1.1.php delete mode 100644 modules/blocktopmenu/views/index.php delete mode 100644 modules/blocktopmenu/views/templates/admin/_configure/helpers/form/form.tpl delete mode 100644 modules/blocktopmenu/views/templates/admin/_configure/helpers/form/index.php delete mode 100644 modules/blocktopmenu/views/templates/admin/_configure/helpers/index.php delete mode 100644 modules/blocktopmenu/views/templates/admin/_configure/helpers/list/index.php delete mode 100644 modules/blocktopmenu/views/templates/admin/_configure/helpers/list/list_content.tpl delete mode 100644 modules/blocktopmenu/views/templates/admin/_configure/index.php delete mode 100644 modules/blocktopmenu/views/templates/admin/index.php delete mode 100644 modules/blocktopmenu/views/templates/index.php delete mode 100644 themes/hotel-reservation-theme/css/modules/blocktopmenu/css/blocktopmenu.css delete mode 100644 themes/hotel-reservation-theme/css/modules/blocktopmenu/css/index.php delete mode 100644 themes/hotel-reservation-theme/css/modules/blocktopmenu/css/superfish-modified.css delete mode 100644 themes/hotel-reservation-theme/css/modules/blocktopmenu/index.php delete mode 100644 themes/hotel-reservation-theme/js/modules/blocktopmenu/index.php delete mode 100644 themes/hotel-reservation-theme/js/modules/blocktopmenu/js/blocktopmenu.js delete mode 100644 themes/hotel-reservation-theme/js/modules/blocktopmenu/js/hoverIntent.js delete mode 100644 themes/hotel-reservation-theme/js/modules/blocktopmenu/js/index.php delete mode 100644 themes/hotel-reservation-theme/js/modules/blocktopmenu/js/superfish-modified.js delete mode 100644 themes/hotel-reservation-theme/modules/blocktopmenu/blocktopmenu.tpl delete mode 100644 themes/hotel-reservation-theme/modules/blocktopmenu/index.php diff --git a/config/xml/themes/default.xml b/config/xml/themes/default.xml index 14ff08c50..faa92c618 100644 --- a/config/xml/themes/default.xml +++ b/config/xml/themes/default.xml @@ -86,7 +86,6 @@ - diff --git a/controllers/admin/AdminThemesController.php b/controllers/admin/AdminThemesController.php index 0fdfcdcf0..801736677 100644 --- a/controllers/admin/AdminThemesController.php +++ b/controllers/admin/AdminThemesController.php @@ -2116,7 +2116,6 @@ class AdminThemesControllerCore extends AdminController 'blockstore', 'blocksupplier', 'blocktags', - 'blocktopmenu', 'blockuserinfo', 'blockviewed', 'carriercompare', diff --git a/modules/blocktopmenu/CHANGELOG.txt b/modules/blocktopmenu/CHANGELOG.txt deleted file mode 100644 index 886eec80b..000000000 --- a/modules/blocktopmenu/CHANGELOG.txt +++ /dev/null @@ -1,14 +0,0 @@ ------------------------------- -# V2.2.2 to V2.2.3 ------------------------------- - -## Improved/Changed Features: - -* [CO] : getCMSPages() changed for duplicate parameters - -__________________________________________________________________________________ - -2014-04-22 18:57:57 +0200 // Changelog updated -2014-03-24 11:43:29 +0100 / MO blocktopmenu : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:04:46 +0100 / MO blocktopmenu : ps_versions_compliancy added -2014-03-20 14:28:17 +0100 Initial commit diff --git a/modules/blocktopmenu/Readme.md b/modules/blocktopmenu/Readme.md deleted file mode 100644 index 965c3cc72..000000000 --- a/modules/blocktopmenu/Readme.md +++ /dev/null @@ -1,37 +0,0 @@ -# Top horizontal menu - -## About - -Adds a new horizontal menu to the top of your e-commerce website. - -## Contributing - -PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements. - -### Requirements - -Contributors **must** follow the following rules: - -* **Make your Pull Request on the "dev" branch**, NOT the "master" branch. -* Do not update the module's version number. -* Follow [the coding standards][1]. - -### Process in details - -Contributors wishing to edit a module's files should follow the following process: - -1. Create your GitHub account, if you do not have one already. -2. Fork the project to your GitHub account. -3. Clone your fork to your local machine in the ```/modules``` directory of your PrestaShop installation. -4. Create a branch in your local clone of the module for your changes. -5. Change the files in your branch. Be sure to follow [the coding standards][1]! -6. Push your changed branch to your fork in your GitHub account. -7. Create a pull request for your changes **on the _'dev'_ branch** of the module's project. Be sure to follow [the commit message norm][2] in your pull request. If you need help to make a pull request, read the [Github help page about creating pull requests][3]. -8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code. - -That's it: you have contributed to this open-source project! Congratulations! - -[1]: http://doc.prestashop.com/display/PS16/Coding+Standards -[2]: http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message -[3]: https://help.github.com/articles/using-pull-requests - diff --git a/modules/blocktopmenu/blocktopmenu.php b/modules/blocktopmenu/blocktopmenu.php deleted file mode 100644 index 5994b1360..000000000 --- a/modules/blocktopmenu/blocktopmenu.php +++ /dev/null @@ -1,1361 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/menutoplinks.class.php'); - -class Blocktopmenu extends Module -{ - protected $_menu = ''; - protected $_html = ''; - protected $user_groups; - - /* - * Pattern for matching config values - */ - protected $pattern = '/^([A-Z_]*)[0-9]+/'; - - /* - * Name of the controller - * Used to set item selected or not in top menu - */ - protected $page_name = ''; - - /* - * Spaces per depth in BO - */ - protected $spacer_size = '5'; - - public function __construct() - { - $this->name = 'blocktopmenu'; - $this->tab = 'front_office_features'; - $this->version = '2.2.3'; - $this->author = 'PrestaShop'; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Top horizontal menu'); - $this->description = $this->l('Adds a new horizontal menu to the top of your e-commerce website.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_); - } - - public function install($delete_params = true) - { - if (!parent::install() || - !$this->registerHook('header') || - !$this->registerHook('displayTop') || - !$this->registerHook('actionObjectCategoryUpdateAfter') || - !$this->registerHook('actionObjectCategoryDeleteAfter') || - !$this->registerHook('actionObjectCategoryAddAfter') || - !$this->registerHook('actionObjectCmsUpdateAfter') || - !$this->registerHook('actionObjectCmsDeleteAfter') || - !$this->registerHook('actionObjectCmsAddAfter') || - !$this->registerHook('actionObjectSupplierUpdateAfter') || - !$this->registerHook('actionObjectSupplierDeleteAfter') || - !$this->registerHook('actionObjectSupplierAddAfter') || - !$this->registerHook('actionObjectManufacturerUpdateAfter') || - !$this->registerHook('actionObjectManufacturerDeleteAfter') || - !$this->registerHook('actionObjectManufacturerAddAfter') || - !$this->registerHook('actionObjectProductUpdateAfter') || - !$this->registerHook('actionObjectProductDeleteAfter') || - !$this->registerHook('actionObjectProductAddAfter') || - !$this->registerHook('categoryUpdate') || - !$this->registerHook('actionShopDataDuplication')) { - return false; - } - - $this->clearMenuCache(); - - if ($delete_params) { - if (!$this->installDb() || !Configuration::updateGlobalValue('MOD_BLOCKTOPMENU_ITEMS', 'CAT3,CAT26') || !Configuration::updateGlobalValue('MOD_BLOCKTOPMENU_SEARCH', '1')) { - return false; - } - } - - return true; - } - - public function installDb() - { - return (Db::getInstance()->execute(' - CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'linksmenutop` ( - `id_linksmenutop` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, - `id_shop` INT(11) UNSIGNED NOT NULL, - `new_window` TINYINT( 1 ) NOT NULL, - INDEX (`id_shop`) - ) ENGINE = '._MYSQL_ENGINE_.' CHARACTER SET utf8 COLLATE utf8_general_ci;') && - Db::getInstance()->execute(' - CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'linksmenutop_lang` ( - `id_linksmenutop` INT(11) UNSIGNED NOT NULL, - `id_lang` INT(11) UNSIGNED NOT NULL, - `id_shop` INT(11) UNSIGNED NOT NULL, - `label` VARCHAR( 128 ) NOT NULL , - `link` VARCHAR( 128 ) NOT NULL , - INDEX ( `id_linksmenutop` , `id_lang`, `id_shop`) - ) ENGINE = '._MYSQL_ENGINE_.' CHARACTER SET utf8 COLLATE utf8_general_ci;')); - } - - public function uninstall($delete_params = true) - { - if (!parent::uninstall()) { - return false; - } - - $this->clearMenuCache(); - - if ($delete_params) { - if (!$this->uninstallDB() || !Configuration::deleteByName('MOD_BLOCKTOPMENU_ITEMS') || !Configuration::deleteByName('MOD_BLOCKTOPMENU_SEARCH')) { - return false; - } - } - - return true; - } - - protected function uninstallDb() - { - Db::getInstance()->execute('DROP TABLE `'._DB_PREFIX_.'linksmenutop`'); - Db::getInstance()->execute('DROP TABLE `'._DB_PREFIX_.'linksmenutop_lang`'); - return true; - } - - public function reset() - { - if (!$this->uninstall(false)) { - return false; - } - if (!$this->install(false)) { - return false; - } - - return true; - } - - public function getContent() - { - $this->context->controller->addjQueryPlugin('hoverIntent'); - - $id_lang = (int)Context::getContext()->language->id; - $languages = $this->context->controller->getLanguages(); - $default_language = (int)Configuration::get('PS_LANG_DEFAULT'); - - $labels = Tools::getValue('label') ? array_filter(Tools::getValue('label'), 'strlen') : array(); - $links_label = Tools::getValue('link') ? array_filter(Tools::getValue('link'), 'strlen') : array(); - $spacer = str_repeat(' ', $this->spacer_size); - $divLangName = 'link_label'; - - $update_cache = false; - - if (Tools::isSubmit('submitBlocktopmenu')) { - $errors_update_shops = array(); - $items = Tools::getValue('items'); - $shops = Shop::getContextListShopID(); - - - foreach ($shops as $shop_id) { - $shop_group_id = Shop::getGroupFromShop($shop_id); - $updated = true; - - if (count($shops) == 1) { - if (is_array($items) && count($items)) { - $updated = Configuration::updateValue('MOD_BLOCKTOPMENU_ITEMS', (string)implode(',', $items), false, (int)$shop_group_id, (int)$shop_id); - } else { - $updated = Configuration::updateValue('MOD_BLOCKTOPMENU_ITEMS', '', false, (int)$shop_group_id, (int)$shop_id); - } - } - - $updated &= Configuration::updateValue('MOD_BLOCKTOPMENU_SEARCH', (bool)Tools::getValue('search'), false, (int)$shop_group_id, (int)$shop_id); - - if (!$updated) { - $shop = new Shop($shop_id); - $errors_update_shops[] = $shop->name; - } - } - - if (!count($errors_update_shops)) { - $this->_html .= $this->displayConfirmation($this->l('The settings have been updated.')); - } else { - $this->_html .= $this->displayError(sprintf($this->l('Unable to update settings for the following shop(s): %s'), implode(', ', $errors_update_shops))); - } - - $update_cache = true; - } else { - if (Tools::isSubmit('submitBlocktopmenuLinks')) { - $errors_add_link = array(); - - foreach ($languages as $key => $val) { - $links_label[$val['id_lang']] = Tools::getValue('link_'.(int)$val['id_lang']); - $labels[$val['id_lang']] = Tools::getValue('label_'.(int)$val['id_lang']); - } - - $count_links_label = count($links_label); - $count_label = count($labels); - - if ($count_links_label || $count_label) { - if (!$count_links_label) { - $this->_html .= $this->displayError($this->l('Please complete the "Link" field.')); - } elseif (!$count_label) { - $this->_html .= $this->displayError($this->l('Please add a label.')); - } elseif (!isset($labels[$default_language])) { - $this->_html .= $this->displayError($this->l('Please add a label for your default language.')); - } else { - $shops = Shop::getContextListShopID(); - - foreach ($shops as $shop_id) { - $added = MenuTopLinks::add($links_label, $labels, Tools::getValue('new_window', 0), (int)$shop_id); - - if (!$added) { - $shop = new Shop($shop_id); - $errors_add_link[] = $shop->name; - } - } - - if (!count($errors_add_link)) { - $this->_html .= $this->displayConfirmation($this->l('The link has been added.')); - } else { - $this->_html .= $this->displayError(sprintf($this->l('Unable to add link for the following shop(s): %s'), implode(', ', $errors_add_link))); - } - } - } - $update_cache = true; - } elseif (Tools::isSubmit('deletelinksmenutop')) { - $errors_delete_link = array(); - $id_linksmenutop = Tools::getValue('id_linksmenutop', 0); - $shops = Shop::getContextListShopID(); - - foreach ($shops as $shop_id) { - $deleted = MenuTopLinks::remove($id_linksmenutop, (int)$shop_id); - Configuration::updateValue('MOD_BLOCKTOPMENU_ITEMS', str_replace(array('LNK'.$id_linksmenutop.',', 'LNK'.$id_linksmenutop), '', Configuration::get('MOD_BLOCKTOPMENU_ITEMS'))); - - if (!$deleted) { - $shop = new Shop($shop_id); - $errors_delete_link[] = $shop->name; - } - } - - if (!count($errors_delete_link)) { - $this->_html .= $this->displayConfirmation($this->l('The link has been removed.')); - } else { - $this->_html .= $this->displayError(sprintf($this->l('Unable to remove link for the following shop(s): %s'), implode(', ', $errors_delete_link))); - } - - $update_cache = true; - } elseif (Tools::isSubmit('updatelinksmenutop')) { - $id_linksmenutop = (int)Tools::getValue('id_linksmenutop', 0); - $id_shop = (int)Shop::getContextShopID(); - - if (Tools::isSubmit('updatelink')) { - $link = array(); - $label = array(); - $new_window = (int)Tools::getValue('new_window', 0); - - foreach (Language::getLanguages(false) as $lang) { - $link[$lang['id_lang']] = Tools::getValue('link_'.(int)$lang['id_lang']); - $label[$lang['id_lang']] = Tools::getValue('label_'.(int)$lang['id_lang']); - } - - MenuTopLinks::update($link, $label, $new_window, (int)$id_shop, (int)$id_linksmenutop, (int)$id_linksmenutop); - $this->_html .= $this->displayConfirmation($this->l('The link has been edited.')); - } - $update_cache = true; - } - } - - if ($update_cache) { - $this->clearMenuCache(); - } - - - $shops = Shop::getContextListShopID(); - $links = array(); - - if (count($shops) > 1) { - $this->_html .= $this->getWarningMultishopHtml(); - } - - if (Shop::isFeatureActive()) { - $this->_html .= $this->getCurrentShopInfoMsg(); - } - - $this->_html .= $this->renderForm().$this->renderAddForm(); - - foreach ($shops as $shop_id) { - $links = array_merge($links, MenuTopLinks::gets((int)$id_lang, null, (int)$shop_id)); - } - - if (!count($links)) { - return $this->_html; - } - - $this->_html .= $this->renderList(); - return $this->_html; - } - - protected function getWarningMultishopHtml() - { - return '

'. - $this->l('You cannot manage top menu items from a "All Shops" or a "Group Shop" context, select directly the shop you want to edit'). - '

'; - } - - protected function getCurrentShopInfoMsg() - { - $shop_info = null; - - if (Shop::getContext() == Shop::CONTEXT_SHOP) { - $shop_info = sprintf($this->l('The modifications will be applied to shop: %s'), $this->context->shop->name); - } else { - if (Shop::getContext() == Shop::CONTEXT_GROUP) { - $shop_info = sprintf($this->l('The modifications will be applied to this group: %s'), Shop::getContextShopGroup()->name); - } else { - $shop_info = $this->l('The modifications will be applied to all shops'); - } - } - - return '
'. - $shop_info. - '
'; - } - - protected function getMenuItems() - { - $items = Tools::getValue('items'); - if (is_array($items) && count($items)) { - return $items; - } else { - $shops = Shop::getContextListShopID(); - $conf = null; - - if (count($shops) > 1) { - foreach ($shops as $key => $shop_id) { - $shop_group_id = Shop::getGroupFromShop($shop_id); - $conf .= (string)($key > 1 ? ',' : '').Configuration::get('MOD_BLOCKTOPMENU_ITEMS', null, $shop_group_id, $shop_id); - } - } else { - $shop_id = (int)$shops[0]; - $shop_group_id = Shop::getGroupFromShop($shop_id); - $conf = Configuration::get('MOD_BLOCKTOPMENU_ITEMS', null, $shop_group_id, $shop_id); - } - - if (strlen($conf)) { - return explode(',', $conf); - } else { - return array(); - } - } - } - - protected function makeMenuOption() - { - $id_shop = (int)Shop::getContextShopID(); - - $menu_item = $this->getMenuItems(); - $id_lang = (int)$this->context->language->id; - - $html = ''; - } - - protected function makeMenu() - { - $menu_items = $this->getMenuItems(); - $id_lang = (int)$this->context->language->id; - $id_shop = (int)Shop::getContextShopID(); - - foreach ($menu_items as $item) { - if (!$item) { - continue; - } - - preg_match($this->pattern, $item, $value); - $id = (int)substr($item, strlen($value[1]), strlen($item)); - - switch (substr($item, 0, strlen($value[1]))) { - case 'CAT': - $this->_menu .= $this->generateCategoriesMenu(Category::getNestedCategories($id, $id_lang, false, $this->user_groups)); - break; - - case 'PRD': - $selected = ($this->page_name == 'product' && (Tools::getValue('id_product') == $id)) ? ' class="sfHover"' : ''; - $product = new Product((int)$id, true, (int)$id_lang); - if (!is_null($product->id)) { - $this->_menu .= ''.$product->name.''.PHP_EOL; - } - break; - - case 'CMS': - $selected = ($this->page_name == 'cms' && (Tools::getValue('id_cms') == $id)) ? ' class="sfHover"' : ''; - $cms = CMS::getLinks((int)$id_lang, array($id)); - if (count($cms)) { - $this->_menu .= ''.Tools::safeOutput($cms[0]['meta_title']).''.PHP_EOL; - } - break; - - case 'CMS_CAT': - $category = new CMSCategory((int)$id, (int)$id_lang); - if (count($category)) { - $this->_menu .= '
  • '.$category->name.''; - $this->getCMSMenuItems($category->id); - $this->_menu .= '
  • '.PHP_EOL; - } - break; - - // Case to handle the option to show all Manufacturers - case 'ALLMAN': - $link = new Link; - $this->_menu .= '
  • '.$this->l('All manufacturers').''; - break; - - case 'MAN': - $selected = ($this->page_name == 'manufacturer' && (Tools::getValue('id_manufacturer') == $id)) ? ' class="sfHover"' : ''; - $manufacturer = new Manufacturer((int)$id, (int)$id_lang); - if (!is_null($manufacturer->id)) { - if (intval(Configuration::get('PS_REWRITING_SETTINGS'))) { - $manufacturer->link_rewrite = Tools::link_rewrite($manufacturer->name); - } else { - $manufacturer->link_rewrite = 0; - } - $link = new Link; - $this->_menu .= ''.Tools::safeOutput($manufacturer->name).'
  • '.PHP_EOL; - } - break; - - // Case to handle the option to show all Suppliers - case 'ALLSUP': - $link = new Link; - $this->_menu .= '
  • '.$this->l('All suppliers').''; - break; - - case 'SUP': - $selected = ($this->page_name == 'supplier' && (Tools::getValue('id_supplier') == $id)) ? ' class="sfHover"' : ''; - $supplier = new Supplier((int)$id, (int)$id_lang); - if (!is_null($supplier->id)) { - $link = new Link; - $this->_menu .= ''.$supplier->name.'
  • '.PHP_EOL; - } - break; - - case 'SHOP': - $selected = ($this->page_name == 'index' && ($this->context->shop->id == $id)) ? ' class="sfHover"' : ''; - $shop = new Shop((int)$id); - if (Validate::isLoadedObject($shop)) { - $link = new Link; - $this->_menu .= ''.$shop->name.''.PHP_EOL; - } - break; - case 'LNK': - $link = MenuTopLinks::get((int)$id, (int)$id_lang, (int)$id_shop); - if (count($link)) { - if (!isset($link[0]['label']) || ($link[0]['label'] == '')) { - $default_language = Configuration::get('PS_LANG_DEFAULT'); - $link = MenuTopLinks::get($link[0]['id_linksmenutop'], $default_language, (int)Shop::getContextShopID()); - } - $this->_menu .= '
  • '.Tools::safeOutput($link[0]['label']).'
  • '.PHP_EOL; - } - break; - } - } - } - - protected function generateCategoriesOption($categories, $items_to_skip = null) - { - $html = ''; - - foreach ($categories as $key => $category) { - if (isset($items_to_skip) /*&& !in_array('CAT'.(int)$category['id_category'], $items_to_skip)*/) { - $shop = (object) Shop::getShop((int)$category['id_shop']); - $html .= ''; - } - - if (isset($category['children']) && !empty($category['children'])) { - $html .= $this->generateCategoriesOption($category['children'], $items_to_skip); - } - } - return $html; - } - - protected function generateCategoriesMenu($categories, $is_children = 0) - { - $html = ''; - - foreach ($categories as $key => $category) { - if ($category['level_depth'] > 1) { - $cat = new Category($category['id_category']); - $link = Tools::HtmlEntitiesUTF8($cat->getLink()); - } else { - $link = $this->context->link->getPageLink('index'); - } - - /* Whenever a category is not active we shouldnt display it to customer */ - if ((bool)$category['active'] === false) { - continue; - } - - $html .= 'page_name == 'category' - && (int)Tools::getValue('id_category') == (int)$category['id_category']) ? ' class="sfHoverForce"' : '').'>'; - $html .= ''.$category['name'].''; - - if (isset($category['children']) && !empty($category['children'])) { - $html .= '
      '; - $html .= $this->generateCategoriesMenu($category['children'], 1); - - if ((int)$category['level_depth'] > 1 && !$is_children) { - $files = scandir(_PS_CAT_IMG_DIR_); - - if (count(preg_grep('/^'.$category['id_category'].'-([0-9])?_thumb.jpg/i', $files)) > 0) { - $html .= '
    • '; - - foreach ($files as $file) { - if (preg_match('/^'.$category['id_category'].'-([0-9])?_thumb.jpg/i', $file) === 1) { - $html .= '
      '.Tools::SafeOutput($category['name']).'
      '; - } - } - - $html .= '
    • '; - } - } - - $html .= '
    '; - } - - $html .= ''; - } - - return $html; - } - - protected function getCMSMenuItems($parent, $depth = 1, $id_lang = false) - { - $id_lang = $id_lang ? (int)$id_lang : (int)Context::getContext()->language->id; - - if ($depth > 3) { - return; - } - - $categories = $this->getCMSCategories(false, (int)$parent, (int)$id_lang); - $pages = $this->getCMSPages((int)$parent); - - if (count($categories) || count($pages)) { - $this->_menu .= '
      '; - - foreach ($categories as $category) { - $cat = new CMSCategory((int)$category['id_cms_category'], (int)$id_lang); - - $this->_menu .= '
    • '; - $this->_menu .= ''.$category['name'].''; - $this->getCMSMenuItems($category['id_cms_category'], (int)$depth + 1); - $this->_menu .= '
    • '; - } - - foreach ($pages as $page) { - $cms = new CMS($page['id_cms'], (int)$id_lang); - $links = $cms->getLinks((int)$id_lang, array((int)$cms->id)); - - $selected = ($this->page_name == 'cms' && ((int)Tools::getValue('id_cms') == $page['id_cms'])) ? ' class="sfHoverForce"' : ''; - $this->_menu .= '
    • '; - $this->_menu .= ''.$cms->meta_title.''; - $this->_menu .= '
    • '; - } - - $this->_menu .= '
    '; - } - } - - protected function getCMSOptions($parent = 0, $depth = 1, $id_lang = false, $items_to_skip = null, $id_shop = false) - { - $html = ''; - $id_lang = $id_lang ? (int)$id_lang : (int)Context::getContext()->language->id; - $id_shop = ($id_shop !== false) ? $id_shop : Context::getContext()->shop->id; - $categories = $this->getCMSCategories(false, (int)$parent, (int)$id_lang, (int)$id_shop); - $pages = $this->getCMSPages((int)$parent, (int)$id_shop, (int)$id_lang); - - $spacer = str_repeat(' ', $this->spacer_size * (int)$depth); - - foreach ($categories as $category) { - if (isset($items_to_skip) && !in_array('CMS_CAT'.$category['id_cms_category'], $items_to_skip)) { - $html .= ''; - } - $html .= $this->getCMSOptions($category['id_cms_category'], (int)$depth + 1, (int)$id_lang, $items_to_skip); - } - - foreach ($pages as $page) { - if (isset($items_to_skip) && !in_array('CMS'.$page['id_cms'], $items_to_skip)) { - $html .= ''; - } - } - - return $html; - } - - protected function getCacheId($name = null) - { - $page_name = in_array($this->page_name, array('category', 'supplier', 'manufacturer', 'cms', 'product')) ? $this->page_name : 'index'; - return parent::getCacheId().'|'.$page_name.($page_name != 'index' ? '|'.(int)Tools::getValue('id_'.$page_name) : ''); - } - - public function hookHeader() - { - $this->context->controller->addJS($this->_path.'js/hoverIntent.js'); - $this->context->controller->addJS($this->_path.'js/superfish-modified.js'); - $this->context->controller->addJS($this->_path.'js/blocktopmenu.js'); - $this->context->controller->addCSS($this->_path.'css/blocktopmenu.css'); - $this->context->controller->addCSS($this->_path.'css/superfish-modified.css'); - } - - public function hookDisplayTop($param) - { - $this->user_groups = ($this->context->customer->isLogged() ? - $this->context->customer->getGroups() : array(Configuration::get('PS_UNIDENTIFIED_GROUP'))); - $this->page_name = Dispatcher::getInstance()->getController(); - if (!$this->isCached('blocktopmenu.tpl', $this->getCacheId())) { - if (Tools::isEmpty($this->_menu)) { - $this->makeMenu(); - } - - $shop_id = (int)$this->context->shop->id; - $shop_group_id = Shop::getGroupFromShop($shop_id); - - $this->smarty->assign('MENU_SEARCH', Configuration::get('MOD_BLOCKTOPMENU_SEARCH', null, $shop_group_id, $shop_id)); - $this->smarty->assign('MENU', $this->_menu); - $this->smarty->assign('this_path', $this->_path); - } - - $html = $this->display(__FILE__, 'blocktopmenu.tpl', $this->getCacheId()); - return $html; - } - - public function hookDisplayNav($params) - { - return $this->hookDisplayTop($params); - } - - protected function getCMSCategories($recursive = false, $parent = 1, $id_lang = false, $id_shop = false) - { - $id_lang = $id_lang ? (int)$id_lang : (int)Context::getContext()->language->id; - $id_shop = ($id_shop !== false) ? $id_shop : Context::getContext()->shop->id; - $join_shop = ''; - $where_shop = ''; - - if (Tools::version_compare(_PS_VERSION_, '1.6.0.12', '>=') == true) { - $join_shop = ' INNER JOIN `'._DB_PREFIX_.'cms_category_shop` cs - ON (bcp.`id_cms_category` = cs.`id_cms_category`)'; - $where_shop = ' AND cs.`id_shop` = '.(int)$id_shop.' AND cl.`id_shop` = '.(int)$id_shop; - } - - if ($recursive === false) { - $sql = 'SELECT bcp.`id_cms_category`, bcp.`id_parent`, bcp.`level_depth`, bcp.`active`, bcp.`position`, cl.`name`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms_category` bcp'. - $join_shop.' - INNER JOIN `'._DB_PREFIX_.'cms_category_lang` cl - ON (bcp.`id_cms_category` = cl.`id_cms_category`) - WHERE cl.`id_lang` = '.(int)$id_lang.' - AND bcp.`id_parent` = '.(int)$parent. - $where_shop; - - return Db::getInstance()->executeS($sql); - } else { - $sql = 'SELECT bcp.`id_cms_category`, bcp.`id_parent`, bcp.`level_depth`, bcp.`active`, bcp.`position`, cl.`name`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms_category` bcp'. - $join_shop.' - INNER JOIN `'._DB_PREFIX_.'cms_category_lang` cl - ON (bcp.`id_cms_category` = cl.`id_cms_category`) - WHERE cl.`id_lang` = '.(int)$id_lang.' - AND bcp.`id_parent` = '.(int)$parent. - $where_shop; - - $results = Db::getInstance()->executeS($sql); - foreach ($results as $result) { - $sub_categories = $this->getCMSCategories(true, $result['id_cms_category'], (int)$id_lang); - if ($sub_categories && count($sub_categories) > 0) { - $result['sub_categories'] = $sub_categories; - } - $categories[] = $result; - } - - return isset($categories) ? $categories : false; - } - } - - protected function getCMSPages($id_cms_category, $id_shop = false, $id_lang = false) - { - $id_shop = ($id_shop !== false) ? (int)$id_shop : (int)Context::getContext()->shop->id; - $id_lang = $id_lang ? (int)$id_lang : (int)Context::getContext()->language->id; - - $where_shop = ''; - if (Tools::version_compare(_PS_VERSION_, '1.6.0.12', '>=') == true) { - $where_shop = ' AND cl.`id_shop` = '.(int)$id_shop; - } - - $sql = 'SELECT c.`id_cms`, cl.`meta_title`, cl.`link_rewrite` - FROM `'._DB_PREFIX_.'cms` c - INNER JOIN `'._DB_PREFIX_.'cms_shop` cs - ON (c.`id_cms` = cs.`id_cms`) - INNER JOIN `'._DB_PREFIX_.'cms_lang` cl - ON (c.`id_cms` = cl.`id_cms`) - WHERE c.`id_cms_category` = '.(int)$id_cms_category.' - AND cs.`id_shop` = '.(int)$id_shop.' - AND cl.`id_lang` = '.(int)$id_lang. - $where_shop.' - AND c.`active` = 1 - ORDER BY `position`'; - - return Db::getInstance()->executeS($sql); - } - - public function hookActionObjectCategoryAddAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectCategoryUpdateAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectCategoryDeleteAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectCmsUpdateAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectCmsDeleteAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectCmsAddAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectSupplierUpdateAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectSupplierDeleteAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectSupplierAddAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectManufacturerUpdateAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectManufacturerDeleteAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectManufacturerAddAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectProductUpdateAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectProductDeleteAfter($params) - { - $this->clearMenuCache(); - } - - public function hookActionObjectProductAddAfter($params) - { - $this->clearMenuCache(); - } - - public function hookCategoryUpdate($params) - { - $this->clearMenuCache(); - } - - protected function clearMenuCache() - { - $this->_clearCache('blocktopmenu.tpl'); - } - - public function hookActionShopDataDuplication($params) - { - $linksmenutop = Db::getInstance()->executeS(' - SELECT * - FROM '._DB_PREFIX_.'linksmenutop - WHERE id_shop = '.(int)$params['old_id_shop'] - ); - - foreach ($linksmenutop as $id => $link) { - Db::getInstance()->execute(' - INSERT IGNORE INTO '._DB_PREFIX_.'linksmenutop (id_linksmenutop, id_shop, new_window) - VALUES (null, '.(int)$params['new_id_shop'].', '.(int)$link['new_window'].')'); - - $linksmenutop[$id]['new_id_linksmenutop'] = Db::getInstance()->Insert_ID(); - } - - foreach ($linksmenutop as $id => $link) { - $lang = Db::getInstance()->executeS(' - SELECT id_lang, '.(int)$params['new_id_shop'].', label, link - FROM '._DB_PREFIX_.'linksmenutop_lang - WHERE id_linksmenutop = '.(int)$link['id_linksmenutop'].' AND id_shop = '.(int)$params['old_id_shop']); - - foreach ($lang as $l) { - Db::getInstance()->execute(' - INSERT IGNORE INTO '._DB_PREFIX_.'linksmenutop_lang (id_linksmenutop, id_lang, id_shop, label, link) - VALUES ('.(int)$link['new_id_linksmenutop'].', '.(int)$l['id_lang'].', '.(int)$params['new_id_shop'].', '.(int)$l['label'].', '.(int)$l['link'].' )'); - } - } - } - - public function renderForm() - { - $shops = Shop::getContextListShopID(); - - if (count($shops) == 1) { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Menu Top Link'), - 'icon' => 'icon-link' - ), - 'input' => array( - array( - 'type' => 'link_choice', - 'label' => '', - 'name' => 'link', - 'lang' => true, - ), - array( - 'type' => 'switch', - 'label' => $this->l('Search bar'), - 'name' => 'search', - 'is_bool' => true, - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ) - ), - 'submit' => array( - 'name' => 'submitBlocktopmenu', - 'title' => $this->l('Save') - ) - ), - ); - } else { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Menu Top Link'), - 'icon' => 'icon-link' - ), - 'info' => '
    '. - $this->l('All active products combinations quantities will be changed').'
    ', - 'input' => array( - array( - 'type' => 'switch', - 'label' => $this->l('Search bar'), - 'name' => 'search', - 'is_bool' => true, - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ) - ), - 'submit' => array( - 'name' => 'submitBlocktopmenu', - 'title' => $this->l('Save') - ) - ), - ); - } - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $this->fields_form = array(); - $helper->module = $this; - $helper->identifier = $this->identifier; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false). - '&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id, - 'choices' => $this->renderChoicesSelect(), - 'selected_links' => $this->makeMenuOption(), - ); - return $helper->generateForm(array($fields_form)); - } - - public function renderAddForm() - { - $fields_form = array( - 'form' => array( - 'legend' => array( - 'title' => (Tools::getIsset('updatelinksmenutop') && !Tools::getValue('updatelinksmenutop')) ? - $this->l('Update link') : $this->l('Add a new link'), - 'icon' => 'icon-link' - ), - 'input' => array( - array( - 'type' => 'text', - 'label' => $this->l('Label'), - 'name' => 'label', - 'lang' => true, - ), - array( - 'type' => 'text', - 'label' => $this->l('Link'), - 'name' => 'link', - 'lang' => true, - ), - array( - 'type' => 'switch', - 'label' => $this->l('New window'), - 'name' => 'new_window', - 'is_bool' => true, - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ) - ), - 'submit' => array( - 'name' => 'submitBlocktopmenuLinks', - 'title' => $this->l('Add') - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $helper->table = $this->table; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $this->fields_form = array(); - $helper->identifier = $this->identifier; - $helper->fields_value = $this->getAddLinkFieldsValues(); - - if (Tools::getIsset('updatelinksmenutop') && !Tools::getValue('updatelinksmenutop')) { - $fields_form['form']['submit'] = array( - 'name' => 'updatelinksmenutop', - 'title' => $this->l('Update') - ); - } - - if (Tools::isSubmit('updatelinksmenutop')) { - $fields_form['form']['input'][] = array('type' => 'hidden', 'name' => 'updatelink'); - $fields_form['form']['input'][] = array('type' => 'hidden', 'name' => 'id_linksmenutop'); - $helper->fields_value['updatelink'] = ''; - } - - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false). - '&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->languages = $this->context->controller->getLanguages(); - $helper->default_form_language = (int)$this->context->language->id; - - return $helper->generateForm(array($fields_form)); - } - - public function renderChoicesSelect() - { - $spacer = str_repeat(' ', $this->spacer_size); - $items = $this->getMenuItems(); - - $html = ''; - return $html; - } - - - public function customGetNestedCategories($shop_id, $root_category = null, $id_lang = false, $active = false, $groups = null, $use_shop_restriction = true, $sql_filter = '', $sql_sort = '', $sql_limit = '') - { - if (isset($root_category) && !Validate::isInt($root_category)) { - die(Tools::displayError()); - } - - if (!Validate::isBool($active)) { - die(Tools::displayError()); - } - - if (isset($groups) && Group::isFeatureActive() && !is_array($groups)) { - $groups = (array)$groups; - } - - $cache_id = 'Category::getNestedCategories_'.md5((int)$shop_id.(int)$root_category.(int)$id_lang.(int)$active.(int)$active - .(isset($groups) && Group::isFeatureActive() ? implode('', $groups) : '')); - - if (!Cache::isStored($cache_id)) { - $result = Db::getInstance()->executeS(' - SELECT c.*, cl.* - FROM `'._DB_PREFIX_.'category` c - INNER JOIN `'._DB_PREFIX_.'category_shop` category_shop ON (category_shop.`id_category` = c.`id_category` AND category_shop.`id_shop` = "'.(int)$shop_id.'") - LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.`id_shop` = "'.(int)$shop_id.'") - WHERE 1 '.$sql_filter.' '.($id_lang ? 'AND cl.`id_lang` = '.(int)$id_lang : '').' - '.($active ? ' AND (c.`active` = 1 OR c.`is_root_category` = 1)' : '').' - '.(isset($groups) && Group::isFeatureActive() ? ' AND cg.`id_group` IN ('.implode(',', $groups).')' : '').' - '.(!$id_lang || (isset($groups) && Group::isFeatureActive()) ? ' GROUP BY c.`id_category`' : '').' - '.($sql_sort != '' ? $sql_sort : ' ORDER BY c.`level_depth` ASC').' - '.($sql_sort == '' && $use_shop_restriction ? ', category_shop.`position` ASC' : '').' - '.($sql_limit != '' ? $sql_limit : '') - ); - - $categories = array(); - $buff = array(); - - foreach ($result as $row) { - $current = &$buff[$row['id_category']]; - $current = $row; - - if ($row['id_parent'] == 0) { - $categories[$row['id_category']] = &$current; - } else { - $buff[$row['id_parent']]['children'][$row['id_category']] = &$current; - } - } - - Cache::store($cache_id, $categories); - } - - return Cache::retrieve($cache_id); - } - - public function getConfigFieldsValues() - { - $shops = Shop::getContextListShopID(); - $is_search_on = true; - - foreach ($shops as $shop_id) { - $shop_group_id = Shop::getGroupFromShop($shop_id); - $is_search_on &= (bool)Configuration::get('MOD_BLOCKTOPMENU_SEARCH', null, $shop_group_id, $shop_id); - } - - return array( - 'search' => (int)$is_search_on - ); - } - - public function getAddLinkFieldsValues() - { - $links_label_edit = ''; - $labels_edit = ''; - $new_window_edit = ''; - - if (Tools::isSubmit('updatelinksmenutop')) { - $link = MenuTopLinks::getLinkLang(Tools::getValue('id_linksmenutop'), (int)Shop::getContextShopID()); - - foreach ($link['link'] as $key => $label) { - $link['link'][$key] = Tools::htmlentitiesDecodeUTF8($label); - } - - $links_label_edit = $link['link']; - $labels_edit = $link['label']; - $new_window_edit = $link['new_window']; - } - - $fields_values = array( - 'new_window' => Tools::getValue('new_window', $new_window_edit), - 'id_linksmenutop' => Tools::getValue('id_linksmenutop'), - ); - - if (Tools::getValue('submitAddmodule')) { - foreach (Language::getLanguages(false) as $lang) { - $fields_values['label'][$lang['id_lang']] = ''; - $fields_values['link'][$lang['id_lang']] = ''; - } - } else { - foreach (Language::getLanguages(false) as $lang) { - $fields_values['label'][$lang['id_lang']] = Tools::getValue('label_'.(int)$lang['id_lang'], isset($labels_edit[$lang['id_lang']]) ? - $labels_edit[$lang['id_lang']] : ''); - $fields_values['link'][$lang['id_lang']] = Tools::getValue('link_'.(int)$lang['id_lang'], isset($links_label_edit[$lang['id_lang']]) ? - $links_label_edit[$lang['id_lang']] : ''); - } - } - - return $fields_values; - } - - public function renderList() - { - $shops = Shop::getContextListShopID(); - $links = array(); - - foreach ($shops as $shop_id) { - $links = array_merge($links, MenuTopLinks::gets((int)$this->context->language->id, null, (int)$shop_id)); - } - - $fields_list = array( - 'id_linksmenutop' => array( - 'title' => $this->l('Link ID'), - 'type' => 'text', - ), - 'name' => array( - 'title' => $this->l('Shop name'), - 'type' => 'text', - ), - 'label' => array( - 'title' => $this->l('Label'), - 'type' => 'text', - ), - 'link' => array( - 'title' => $this->l('Link'), - 'type' => 'link', - ), - 'new_window' => array( - 'title' => $this->l('New window'), - 'type' => 'bool', - 'align' => 'center', - 'active' => 'status', - ) - ); - - $helper = new HelperList(); - $helper->shopLinkType = ''; - $helper->simple_header = true; - $helper->identifier = 'id_linksmenutop'; - $helper->table = 'linksmenutop'; - $helper->actions = array('edit', 'delete'); - $helper->show_toolbar = false; - $helper->module = $this; - $helper->title = $this->l('Link list'); - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; - - return $helper->generateList($links, $fields_list); - } -} diff --git a/modules/blocktopmenu/blocktopmenu.tpl b/modules/blocktopmenu/blocktopmenu.tpl deleted file mode 100644 index cf8d86fba..000000000 --- a/modules/blocktopmenu/blocktopmenu.tpl +++ /dev/null @@ -1,24 +0,0 @@ -{if $MENU != ''} - - -
    -
      - {$MENU} - {if $MENU_SEARCH} - - {/if} -
    -
    -
     
    - - -{/if} \ No newline at end of file diff --git a/modules/blocktopmenu/css/blocktopmenu.css b/modules/blocktopmenu/css/blocktopmenu.css deleted file mode 100644 index 3d5c749d4..000000000 --- a/modules/blocktopmenu/css/blocktopmenu.css +++ /dev/null @@ -1,4 +0,0 @@ -#block_top_menu { - padding-top: 25px; } - -/*# sourceMappingURL=blocktopmenu.css.map */ diff --git a/modules/blocktopmenu/css/index.php b/modules/blocktopmenu/css/index.php deleted file mode 100644 index 2d4b752c4..000000000 --- a/modules/blocktopmenu/css/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/css/superfish-modified.css b/modules/blocktopmenu/css/superfish-modified.css deleted file mode 100644 index ce26a24c3..000000000 --- a/modules/blocktopmenu/css/superfish-modified.css +++ /dev/null @@ -1,241 +0,0 @@ -/*** ESSENTIAL STYLES ***/ -.sf-contener { - clear: both; - float: left; - width: 100%; } - -.sf-menu, -.sf-menu * { - margin: 0; - padding: 0; - list-style: none; } - -.sf-menu { - position: relative; - padding: 0; - width: 100%; - border-bottom: 3px solid #e9e9e9; - background: #f6f6f6; } - @media (max-width: 767px) { - .sf-menu { - display: none; } } - -.sf-menu ul { - position: absolute; - top: -999em; - background: #fff; } - @media (max-width: 767px) { - .sf-menu ul { - position: relative; } } - -.sf-menu ul li { - width: 100%; } - -.sf-menu li:hover { - visibility: inherit; - /* fixes IE7 'sticky bug' */ } - -.sf-menu > li { - float: left; - border-right: 1px solid #d6d4d4; - margin-bottom: -3px; } - @media (max-width: 767px) { - .sf-menu > li { - float: none; - position: relative; - border-right: none; } - .sf-menu > li span { - position: absolute; - right: 6px; - top: 20px; - width: 30px; - height: 30px; - z-index: 2; } - .sf-menu > li span:after { - font-family: "FontAwesome"; - content: "\f067"; - font-size: 26px; } - .sf-menu > li span.active:after { - content: "\f068"; } } - .sf-menu > li > a { - font: 600 18px/22px "Open Sans", sans-serif; - text-transform: uppercase; - color: #484848; - display: block; - padding: 17px 20px; - border-bottom: 3px solid #e9e9e9; } - .sf-menu > li.sfHover > a, - .sf-menu > li > a:hover, .sf-menu > li.sfHoverForce > a { - background: #333; - border-bottom-color: #666666; - color: #fff; } - -.sf-menu li li li a { - display: inline-block; - position: relative; - color: #777777; - font-size: 13px; - line-height: 16px; - font-weight: bold; - padding-bottom: 10px; } - .sf-menu li li li a:before { - content: "\f105"; - display: inline-block; - font-family: "FontAwesome"; - padding-right: 10px; } - .sf-menu li li li a:hover { - color: #333; } - -.sf-menu li ul { - display: none; - left: 0; - top: 59px; - /* match top ul list item height */ - z-index: 99; - padding: 12px 0px 18px 0px; - -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 13px; - -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 13px; - box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 13px; } - @media (max-width: 767px) { - .sf-menu li ul { - top: 0; } } - -.sf-menu li li ul { - position: static; - display: block !important; - opacity: 1 !important; - background: none; - -moz-box-shadow: transparent 0px 0px 0px; - -webkit-box-shadow: transparent 0px 0px 0px; - box-shadow: transparent 0px 0px 0px; } - -.sf-menu li li li ul { - padding: 0 0 0 20px; } - -.sf-menu li li li ul { - width: 220px; } - -ul.sf-menu li:hover li ul, -ul.sf-menu li.sfHover li ul { - top: -999em; } - -ul.sf-menu li li:hover ul, -ul.sf-menu li li.sfHover ul { - left: 200px; - /* match ul width */ - top: 0; } - -ul.sf-menu li li:hover li ul, -ul.sf-menu li li.sfHover li ul { - top: -999em; } - -ul.sf-menu li li li:hover ul, -ul.sf-menu li li li.sfHover ul { - left: 200px; - /* match ul width */ - top: 0; } - -.sf-menu > li > ul { - padding: 26px 30px 31px; - width: 100%; } - .sf-menu > li > ul > li > a { - text-transform: uppercase; - font: 600 16px/20px "Open Sans", sans-serif; - color: #333; } - .sf-menu > li > ul > li > a:hover { - color: #515151; } - -.sf-menu > li > ul > li { - float: left; - width: 20%; - padding-right: 15px; } - @media (max-width: 767px) { - .sf-menu > li > ul > li { - width: 50%; } } - @media (max-width: 479px) { - .sf-menu > li > ul > li { - width: 100%; - padding-bottom: 20px; } } - @media (min-width: 768px) { - .sf-menu > li > ul > li.first-in-line-lg { - clear: left; } } - @media (min-width: 480px) and (max-width: 767px) { - .sf-menu > li > ul > li.first-in-line-xs { - clear: left; } } - -.sf-menu > li > ul > li.category-thumbnail { - width: 100% !important; - float: none; - clear: both; - overflow: hidden; - padding-right: 0; } - .sf-menu > li > ul > li.category-thumbnail > div { - float: left; - padding-left: 10px; - width: 33.333%; } - @media (max-width: 479px) { - .sf-menu > li > ul > li.category-thumbnail > div { - width: 100%; - padding-left: 0; - padding-top: 10px; - text-align: center; } } - .sf-menu > li > ul > li.category-thumbnail > div:first-child { - padding-left: 0; } - .sf-menu > li > ul > li.category-thumbnail > div img { - max-width: 100%; - display: block; } - -.cat-title { - display: none; } - @media (max-width: 767px) { - .cat-title { - display: block; - font: 600 18px/22px "Open Sans", sans-serif; - text-transform: uppercase; - color: #484848; - display: block; - padding: 17px 20px; - border-bottom: 3px solid #e9e9e9; - background: #f6f6f6; - position: relative; } - .cat-title:hover { - background: #333; - border-bottom-color: #666666; - color: #fff; } - .cat-title:after { - display: block; - font-family: "FontAwesome"; - content: "\f067"; - position: absolute; - right: 15px; - top: 18px; - font-size: 26px; } - .cat-title.active:after { - content: "\f068"; } } - -.sf-menu li.sf-search { - border: none; } - .sf-menu li.sf-search input { - display: inline; - padding: 0 13px; - height: 30px; - line-height: 30px; - background: #fff; - margin: 13px 10px 0 0; - font-size: 13px; - color: #9c9b9b; - border: 1px solid #d6d4d4; } - -#block_top_menu .category-thumbnail { - clear: both; - width: 100%; - float: none; } - #block_top_menu .category-thumbnail div { - float: left; - width: 33.33333%; } - #block_top_menu .category-thumbnail div img { - max-width: 100%; } -#block_top_menu li.category-thumbnail { - padding-right: 0; } - -/*# sourceMappingURL=superfish-modified.css.map */ diff --git a/modules/blocktopmenu/img/arrows-ffffff.png b/modules/blocktopmenu/img/arrows-ffffff.png deleted file mode 100644 index 246dd919fea5798e8da3fe1e804043d58cc4ffad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 175 zcmeAS@N?(olHy`uVBq!ia0vp^B0!wS!2%?EEq^NlsWML&$B>A_Z*O?>H5hQX2Hsn> zyKUXBW2-jGFUpXy*daSjn5o1iRHtmq;grfQ(aG$&i?TiBWL}C*Vy~{6qR+qW%bVc! z#%$Ry(ca$P{{H?!K|v7_5y8R12?+@S0RgeGvA({(QBhIh;o%`6A&H5J zfq{W>adBQ=UMVRletv#QNl89FKD+on)d8(A@pN$v;keFwsFkz zIbQg&=&0~kwdLm$!V@ohugz+`xzxmJPvE1zqMQ7_O-z#4eLr3R>SyqD^>bP0l+XkK D!4^ia diff --git a/modules/blocktopmenu/img/blocktopmenu.gif b/modules/blocktopmenu/img/blocktopmenu.gif deleted file mode 100644 index b4b507de5b91d8b0614a8c67fc44421863d3eb66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 839 zcmZ?wbhEHbWMq(I_|D0&|KQQhTX$~TvFGUVQ|B*Uxp3*~#mm<&U%7te+D!%qhP(G3 z{QdiP?}5XIjvPOI_QHu%XAd4ecJ9LEeFu+RzIx-^_wRf5A3A&f^3FZ`&z!q>_~?n_ zC(fKWb?(%e^E-C!Tfb@B*6q7DZP~GV-@(264<9^ye8cAL>o#r$8aoO`Ltv1EfZ|UU zMg|5>1|5)lKzV|JLxsW9$0Ff?10$1|LBWj;j)xm~lo>iW1RpuEGs-hHFgPA^?rdPN F1^`IUW=#M9 diff --git a/modules/blocktopmenu/img/blocktopmenu_hover.gif b/modules/blocktopmenu/img/blocktopmenu_hover.gif deleted file mode 100644 index 09f9c0af576bb075d846561997abdac5828bbcb1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 155 zcmZ?wbhEHbWMq(IIKsfNb^GqkTX$Z*a(&0HeMgUamH@xwjVdG8a$LK*YXZ-{``pbAYNy>^Y*}+8?{vV29XxL9 z&%Z9YnR$LXy0_2H|ROZ^Rw-8GUk=z -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/img/search.gif b/modules/blocktopmenu/img/search.gif deleted file mode 100644 index e32a989f13c60bd75cd71e7aadce57f2e418d148..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 662 zcmV;H0%`q6Nk%w1VG{rn0OkMy>+J0f4Grq*?CI+3>g(+lCn~nLxDF2x88tk&z{4qN zco{Z44Gs<&H9Nt=!yzFdp`)cuQBzG#P14lW93mqU93H&E!^h6hD^pw`N>oZxRJggi zeu#>AczJE8wvC{rOkrhRWM(H(TiM#%tFg1k$jP?6zs=6iB_$ht8bLroadC1^S6Fp*ch}h2)z#O&zrd-ftHs908X6jro}$#<-+6m`y}iF8A|hK` zT$rAqDk>_du(M)eV_{)pICFrZqNGh>XP%^{AWBmsJwwRO(bLq`yuZPtqof@;KHc8m zMn^}Dk&`JZDrI+kXlQ7FfPrFjci!OQsl>}eLPVdduRKdmbbf&l5D*j;6h?fBBqSwE zOG~-ByA&B36%`e_$IG*`w9CxR+uYvg=;|ynGAL16uCcQ!IzE1gixU+VMNm_loSkWF zZRqLi@bU8S@$>KS@$BsG?(gyK?(gX6>g?_B?(gvD=;`tD^XBL2A^8LV00000EC2ui z022Tb000N`fPR95goT84h>3_aFkk@zKr%Clbd{ELW)A^jRaH;{C^eOKq@^b~Qevfc z20af;c6hS0K3xv8vpfMqcznLTBVH`O#C$Dee0j>s8w^d$(0OqTd3)B@1_w6R+@MJwy~J_)obmV8eCHa}nrxR0V zX$JFiSUkSDIra1`m7D!f*T&gb%FQ%NKR4&rXU4vYZ#j{hzi36R+q(A4$zbE>#`9+e zpOxEjcCM+n-1X&?mhAPLcfRJSaE5EZW09dSrXcE8V%a)!T9+C)*rhww-4hy-jhU^1L#$OPkV9&r%JZsqf8Ml9lN9G&;{UKmz2M%adzUXo z6_re$GAZVw%=^Z4yT_9+ES_sTZ^@G`H;WJ38_pFStEe(Q)F{s^)m8ajKZmR7ee(0G a^0nFTr>E_geF&^p7(8A5T-G@yGywo1ihY;> diff --git a/modules/blocktopmenu/index.php b/modules/blocktopmenu/index.php deleted file mode 100644 index 2d4b752c4..000000000 --- a/modules/blocktopmenu/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/js/blocktopmenu.js b/modules/blocktopmenu/js/blocktopmenu.js deleted file mode 100644 index 54937da51..000000000 --- a/modules/blocktopmenu/js/blocktopmenu.js +++ /dev/null @@ -1,131 +0,0 @@ -/* -* 2007-2017 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* DISCLAIMER -* -* Do not edit or add to this file if you wish to upgrade PrestaShop to newer -* versions in the future. If you wish to customize PrestaShop for your -* needs please refer to http://www.prestashop.com for more information. -* -* @author PrestaShop SA -* @copyright 2007-2017 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -var responsiveflagMenu = false; -var categoryMenu = $('ul.sf-menu'); -var mCategoryGrover = $('.sf-contener .cat-title'); - -$(document).ready(function(){ - categoryMenu = $('ul.sf-menu'); - mCategoryGrover = $('.sf-contener .cat-title'); - responsiveMenu(); - $(window).resize(responsiveMenu); -}); - -// check resolution -function responsiveMenu() -{ - if ($(window).width() <= 767 && responsiveflagMenu == false) { - menuChange('enable'); - responsiveflagMenu = true; - } else if ($(window).width() >= 768) { - menuChange('disable'); - responsiveflagMenu = false; - } -} - -// init Super Fish Menu for 767px+ resolution -function desktopInit() -{ - mCategoryGrover.off(); - mCategoryGrover.removeClass('active'); - $('.sf-menu > li > ul').removeClass('menu-mobile').parent().find('.menu-mobile-grover').remove(); - $('.sf-menu').removeAttr('style'); - categoryMenu.superfish('init'); - //add class for width define - $('.sf-menu > li > ul').addClass('submenu-container clearfix'); - // loop through each sublist under each top list item - $('.sf-menu > li > ul').each(function(){ - i = 0; - //add classes for clearing - $(this).each(function(){ - if ($(this).attr('class') != "category-thumbnail"){ - i++; - if(i % 2 == 1) - $(this).addClass('first-in-line-xs'); - else if (i % 5 == 1) - $(this).addClass('first-in-line-lg'); - } - }); - }); -} - -function mobileInit() -{ - - categoryMenu.superfish('destroy'); - $('.sf-menu').removeAttr('style'); - - mCategoryGrover.on('click', function(e){ - $(this).toggleClass('active').parent().find('ul.menu-content').stop().slideToggle('medium'); - return false; - }); - - $('.sf-menu > li > ul').addClass('menu-mobile clearfix').parent().prepend(''); - - $(".sf-menu .menu-mobile-grover").on('click', function(e){ - var catSubUl = $(this).next().next('.menu-mobile'); - if (catSubUl.is(':hidden')) - { - catSubUl.slideDown(); - $(this).addClass('active'); - } - else - { - catSubUl.slideUp(); - $(this).removeClass('active'); - } - return false; - }); - - - $('#block_top_menu > ul:first > li > a').on('click', function(e){ - var parentOffset = $(this).prev().offset(); - var relX = parentOffset.left - e.pageX; - if ($(this).parent('li').find('ul').length && relX >= 0 && relX <= 20) - { - e.preventDefault(); - var mobCatSubUl = $(this).next('.menu-mobile'); - var mobMenuGrover = $(this).prev(); - if (mobCatSubUl.is(':hidden')) - { - mobCatSubUl.slideDown(); - mobMenuGrover.addClass('active'); - } - else - { - mobCatSubUl.slideUp(); - mobMenuGrover.removeClass('active'); - } - } - }); - -} - -// change the menu display at different resolutions -function menuChange(status) -{ - status == 'enable' ? mobileInit(): desktopInit(); -} diff --git a/modules/blocktopmenu/js/hoverIntent.js b/modules/blocktopmenu/js/hoverIntent.js deleted file mode 100644 index cbe3ae715..000000000 --- a/modules/blocktopmenu/js/hoverIntent.js +++ /dev/null @@ -1,114 +0,0 @@ -/** - * hoverIntent is similar to jQuery's built-in "hover" method except that - * instead of firing the handlerIn function immediately, hoverIntent checks - * to see if the user's mouse has slowed down (beneath the sensitivity - * threshold) before firing the event. The handlerOut function is only - * called after a matching handlerIn. - * - * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+ - * http://cherne.net/brian/resources/jquery.hoverIntent.html - * - * You may use hoverIntent under the terms of the MIT license. Basically that - * means you are free to use hoverIntent as long as this header is left intact. - * Copyright 2007, 2013 Brian Cherne - * - * // basic usage ... just like .hover() - * .hoverIntent( handlerIn, handlerOut ) - * .hoverIntent( handlerInOut ) - * - * // basic usage ... with event delegation! - * .hoverIntent( handlerIn, handlerOut, selector ) - * .hoverIntent( handlerInOut, selector ) - * - * // using a basic configuration object - * .hoverIntent( config ) - * - * @param handlerIn function OR configuration object - * @param handlerOut function OR selector for delegation OR undefined - * @param selector selector OR undefined - * @author Brian Cherne - **/ -(function($) { - $.fn.hoverIntent = function(handlerIn,handlerOut,selector) { - - // default configuration values - var cfg = { - interval: 100, - sensitivity: 7, - timeout: 0 - }; - - if ( typeof handlerIn === "object" ) { - cfg = $.extend(cfg, handlerIn ); - } else if ($.isFunction(handlerOut)) { - cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } ); - } else { - cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } ); - } - - // instantiate variables - // cX, cY = current X and Y position of mouse, updated by mousemove event - // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval - var cX, cY, pX, pY; - - // A private function for getting mouse position - var track = function(ev) { - cX = ev.pageX; - cY = ev.pageY; - }; - - // A private function for comparing current and previous mouse position - var compare = function(ev,ob) { - ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); - // compare mouse positions to see if they've crossed the threshold - if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) { - $(ob).off("mousemove.hoverIntent",track); - // set hoverIntent state to true (so mouseOut can be called) - ob.hoverIntent_s = 1; - return cfg.over.apply(ob,[ev]); - } else { - // set previous coordinates for next time - pX = cX; pY = cY; - // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) - ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); - } - }; - - // A private function for delaying the mouseOut function - var delay = function(ev,ob) { - ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); - ob.hoverIntent_s = 0; - return cfg.out.apply(ob,[ev]); - }; - - // A private function for handling mouse 'hovering' - var handleHover = function(e) { - // copy objects to be passed into t (required for event object to be passed in IE) - var ev = jQuery.extend({},e); - var ob = this; - - // cancel hoverIntent timer if it exists - if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } - - // if e.type == "mouseenter" - if (e.type == "mouseenter") { - // set "previous" X and Y position based on initial entry point - pX = ev.pageX; pY = ev.pageY; - // update "current" X and Y position based on mousemove - $(ob).on("mousemove.hoverIntent",track); - // start polling interval (self-calling timeout) to compare mouse coordinates over time - if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} - - // else e.type == "mouseleave" - } else { - // unbind expensive mousemove event - $(ob).off("mousemove.hoverIntent",track); - // if hoverIntent state is true, then call the mouseOut function after the specified delay - if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} - } - }; - - // listen for mouseenter and mouseleave - return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector); - }; -})(jQuery); \ No newline at end of file diff --git a/modules/blocktopmenu/js/index.php b/modules/blocktopmenu/js/index.php deleted file mode 100644 index 2d4b752c4..000000000 --- a/modules/blocktopmenu/js/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/js/superfish-modified.js b/modules/blocktopmenu/js/superfish-modified.js deleted file mode 100644 index c12ca421b..000000000 --- a/modules/blocktopmenu/js/superfish-modified.js +++ /dev/null @@ -1,257 +0,0 @@ -/* - * jQuery Superfish Menu Plugin - v1.7.4 - * Copyright (c) 2013 Joel Birch - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - */ - -(function ($) { - "use strict"; - - var methods = (function () { - // private properties and methods go here - var c = { - bcClass: 'sf-breadcrumb', - menuClass: 'sf-js-enabled', - anchorClass: 'sf-with-ul', - menuArrowClass: 'sf-arrows' - }, - ios = (function () { - var ios = /iPhone|iPad|iPod/i.test(navigator.userAgent); - if (ios) { - // iOS clicks only bubble as far as body children - $(window).load(function () { - $('body').children().on('click', $.noop); - }); - } - return ios; - })(), - wp7 = (function () { - var style = document.documentElement.style; - return ('behavior' in style && 'fill' in style && /iemobile/i.test(navigator.userAgent)); - })(), - toggleMenuClasses = function ($menu, o) { - var classes = c.menuClass; - if (o.cssArrows) { - classes += ' ' + c.menuArrowClass; - } - $menu.toggleClass(classes); - }, - setPathToCurrent = function ($menu, o) { - return $menu.find('li.' + o.pathClass).slice(0, o.pathLevels) - .addClass(o.hoverClass + ' ' + c.bcClass) - .filter(function () { - return ($(this).children(o.popUpSelector).hide().show().length); - }).removeClass(o.pathClass); - }, - toggleAnchorClass = function ($li) { - $li.children('a').toggleClass(c.anchorClass); - }, - toggleTouchAction = function ($menu) { - var touchAction = $menu.css('ms-touch-action'); - touchAction = (touchAction === 'pan-y') ? 'auto' : 'pan-y'; - $menu.css('ms-touch-action', touchAction); - }, - applyHandlers = function ($menu, o) { - var targets = 'li:has(' + o.popUpSelector + ')'; - if ($.fn.hoverIntent && !o.disableHI) { - $menu.hoverIntent(over, out, targets); - } - else { - $menu - .on('mouseenter.superfish', targets, over) - .on('mouseleave.superfish', targets, out); - } - var touchevent = 'MSPointerDown.superfish'; - if (!ios) { - touchevent += ' touchend.superfish'; - } - if (wp7) { - touchevent += ' mousedown.superfish'; - } - $menu - .on('focusin.superfish', 'li', over) - .on('focusout.superfish', 'li', out) - .on(touchevent, 'a', o, touchHandler); - }, - touchHandler = function (e) { - var $this = $(this), - $ul = $this.siblings(e.data.popUpSelector); - - if ($ul.length > 0 && $ul.is(':hidden')) { - $this.one('click.superfish', false); - if (e.type === 'MSPointerDown') { - $this.trigger('focus'); - } else { - $.proxy(over, $this.parent('li'))(); - } - } - }, - over = function () { - var $this = $(this), - o = getOptions($this); - clearTimeout(o.sfTimer); - $this.siblings().superfish('hide').end().superfish('show'); - }, - out = function () { - var $this = $(this), - o = getOptions($this); - if (ios) { - $.proxy(close, $this, o)(); - } - else { - clearTimeout(o.sfTimer); - o.sfTimer = setTimeout($.proxy(close, $this, o), o.delay); - } - }, - close = function (o) { - o.retainPath = ($.inArray(this[0], o.$path) > -1); - this.superfish('hide'); - - if (!this.parents('.' + o.hoverClass).length) { - o.onIdle.call(getMenu(this)); - if (o.$path.length) { - $.proxy(over, o.$path)(); - } - } - }, - getMenu = function ($el) { - return $el.closest('.' + c.menuClass); - }, - getOptions = function ($el) { - return getMenu($el).data('sf-options'); - }; - - return { - // public methods - hide: function (instant) { - if (this.length) { - var $this = this, - o = getOptions($this); - if (!o) { - return this; - } - var not = (o.retainPath === true) ? o.$path : '', - $ul = $this.find('li.' + o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector), - speed = o.speedOut; - - if (instant) { - $ul.show(); - speed = 0; - } - o.retainPath = false; - o.onBeforeHide.call($ul); - $ul.stop(true, true).animate(o.animationOut, speed, function () { - var $this = $(this); - o.onHide.call($this); - }); - } - return this; - }, - show: function () { - var o = getOptions(this); - if (!o) { - return this; - } - var $this = this.addClass(o.hoverClass), - $ul = $this.children(o.popUpSelector); - - o.onBeforeShow.call($ul); - $ul.stop(true, true).animate(o.animation, o.speed, function () { - o.onShow.call($ul); - }); - return this; - }, - destroy: function () { - return this.each(function () { - var $this = $(this), - o = $this.data('sf-options'), - $hasPopUp; - if (!o) { - return false; - } - $hasPopUp = $this.find(o.popUpSelector).parent('li'); - clearTimeout(o.sfTimer); - toggleMenuClasses($this, o); - toggleAnchorClass($hasPopUp); - toggleTouchAction($this); - // remove event handlers - $this.off('.superfish').off('.hoverIntent'); - // clear animation's inline display style - $hasPopUp.children(o.popUpSelector).attr('style', function (i, style) { - return style.replace(/display[^;]+;?/g, ''); - }); - // reset 'current' path classes - o.$path.removeClass(o.hoverClass + ' ' + c.bcClass).addClass(o.pathClass); - $this.find('.' + o.hoverClass).removeClass(o.hoverClass); - o.onDestroy.call($this); - $this.removeData('sf-options'); - }); - }, - init: function (op) { - return this.each(function () { - var $this = $(this); - if ($this.data('sf-options')) { - return false; - } - var o = $.extend({}, $.fn.superfish.defaults, op), - $hasPopUp = $this.find(o.popUpSelector).parent('li'); - o.$path = setPathToCurrent($this, o); - - $this.data('sf-options', o); - - toggleMenuClasses($this, o); - toggleAnchorClass($hasPopUp); - toggleTouchAction($this); - applyHandlers($this, o); - - $hasPopUp.not('.' + c.bcClass).superfish('hide', true); - - o.onInit.call(this); - }); - } - }; - })(); - - $.fn.superfish = function (method, args) { - if (methods[method]) { - return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); - } - else if (typeof method === 'object' || ! method) { - return methods.init.apply(this, arguments); - } - else { - return $.error('Method ' + method + ' does not exist on jQuery.fn.superfish'); - } - }; - - $.fn.superfish.defaults = { - popUpSelector: 'ul,.sf-mega', // within menu context - hoverClass: 'sfHover', - pathClass: 'overrideThisToUse', - pathLevels: 1, - delay: 800, - animation: {opacity: 'show'}, - animationOut: {opacity: 'hide'}, - speed: 'normal', - speedOut: 'fast', - cssArrows: true, - disableHI: false, - onInit: $.noop, - onBeforeShow: $.noop, - onShow: $.noop, - onBeforeHide: $.noop, - onHide: $.noop, - onIdle: $.noop, - onDestroy: $.noop - }; - - // soon to be deprecated - $.fn.extend({ - hideSuperfishUl: methods.hide, - showSuperfishUl: methods.show - }); - -})(jQuery); \ No newline at end of file diff --git a/modules/blocktopmenu/logo.gif b/modules/blocktopmenu/logo.gif deleted file mode 100644 index 5e0095b0bc43e1defd14fe78c750fbfd78faf577..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 595 zcmZ?wbhEHb6krfwc$UEM{m0KAKY#uD4FrGw{P}zL!P8v_j!vGvHUXKUcd7&v#@5<_I>I3m6!d!w(dJ|=fRU13sz^BHuOwcSkpH7(8-I( z&Rki&Y3GyYuL^70?>~Chbfs?jx^4O8%?FO0oWFd-qqX8Y_Z@!G*ICotvu4w-il+Yk zM@}?!PJZ?F{laByC(K;5@6d^ghR(Y7iM#h7cG_UqH+BA=14ovw*;-NG@#yKxy+_a0 zwDzyxak#X;d*RAWkDtA)YU-}3FD^{+E)(vJ0+py6|TFQ!7#LLE1ZPnhr&YbZv zhmRaR9Iqo7A9*H{g_((wAtEX~-bnNGxeJ%BgvZ9kTPwz&zj*oTgSdwpcJa^ey?Xu7 z!6p91{m;MR4Flsp#xim7{9rxK&B9~#=fpw>$4UGiTp}wP7M$u}mY8ReILXnKpI=GO PVL}2+*TTuoK+~-O%Rd<^ diff --git a/modules/blocktopmenu/logo.png b/modules/blocktopmenu/logo.png deleted file mode 100644 index 743bdf945c87eb5d7ee8fd12f7d7a275c1a3c819..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 732 zcmV<20wev2P) z-)j{|6vsbjcK7CjO>6KMlBzeYP_IAQqyz$*CJ!14@uk#1!M`Feu|DNr5yaq&;6q+S z#JA?54;ET$s!$Ny;Js-{cIM2SKJ4C`P;0p&G%xqSvdhezozL0%&UaSKjQtG9KF1JX z2rvW~0tk?=tgPJ4vh1n=c_uvAaOAG)93%|T1oN$gMq?0fjWOO^T3Y%>fKfB+?(O{L zV39mX^6q!Rr5Rtk@`A5xA9V3RB5i~JzEWhj**eZ zo)vy`)y+Uv0VD^wdGkBG_be~pK-IGy60Q)gFV0eW&-BGPetz-;TdzBO+CI;3FE$t* z{fGjaH2h z5g!6&S@P|*YqVM|PPR@FV`6G*iZ3QVuiGbBTU#T>*#AaHUw67MV@!nLaTdA%;~zAO zoTAadWf_7%tp!V|rywjDQ9}i;k+07jBH<{Cf;`Vbq{_ueb)JZjk`beF$ diff --git a/modules/blocktopmenu/menutoplinks.class.php b/modules/blocktopmenu/menutoplinks.class.php deleted file mode 100644 index b483afdce..000000000 --- a/modules/blocktopmenu/menutoplinks.class.php +++ /dev/null @@ -1,146 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -class MenuTopLinks -{ - public static function gets($id_lang, $id_linksmenutop = null, $id_shop) - { - $sql = 'SELECT l.id_linksmenutop, l.new_window, s.name, ll.link, ll.label - FROM '._DB_PREFIX_.'linksmenutop l - LEFT JOIN '._DB_PREFIX_.'linksmenutop_lang ll ON (l.id_linksmenutop = ll.id_linksmenutop AND ll.id_lang = '.(int)$id_lang.' AND ll.id_shop='.(int)$id_shop.') - LEFT JOIN '._DB_PREFIX_.'shop s ON l.id_shop = s.id_shop - WHERE 1 '.((!is_null($id_linksmenutop)) ? ' AND l.id_linksmenutop = "'.(int)$id_linksmenutop.'"' : '').' - AND l.id_shop IN (0, '.(int)$id_shop.')'; - - return Db::getInstance()->executeS($sql); - } - - public static function get($id_linksmenutop, $id_lang, $id_shop) - { - return self::gets($id_lang, $id_linksmenutop, $id_shop); - } - - public static function getLinkLang($id_linksmenutop, $id_shop) - { - $ret = Db::getInstance()->executeS(' - SELECT l.id_linksmenutop, l.new_window, ll.link, ll.label, ll.id_lang - FROM '._DB_PREFIX_.'linksmenutop l - LEFT JOIN '._DB_PREFIX_.'linksmenutop_lang ll ON (l.id_linksmenutop = ll.id_linksmenutop AND ll.id_shop='.(int)$id_shop.') - WHERE 1 - '.((!is_null($id_linksmenutop)) ? ' AND l.id_linksmenutop = "'.(int)$id_linksmenutop.'"' : '').' - AND l.id_shop IN (0, '.(int)$id_shop.') - '); - - $link = array(); - $label = array(); - $new_window = false; - - foreach ($ret as $line) { - $link[$line['id_lang']] = Tools::safeOutput($line['link']); - $label[$line['id_lang']] = Tools::safeOutput($line['label']); - $new_window = (bool)$line['new_window']; - } - - return array('link' => $link, 'label' => $label, 'new_window' => $new_window); - } - - public static function add($link, $label, $newWindow = 0, $id_shop) - { - if (!is_array($label)) { - return false; - } - if (!is_array($link)) { - return false; - } - - Db::getInstance()->insert( - 'linksmenutop', - array( - 'new_window'=>(int)$newWindow, - 'id_shop' => (int)$id_shop - ) - ); - $id_linksmenutop = Db::getInstance()->Insert_ID(); - - $result = true; - - foreach ($label as $id_lang=>$label) { - $result &= Db::getInstance()->insert( - 'linksmenutop_lang', - array( - 'id_linksmenutop'=>(int)$id_linksmenutop, - 'id_lang'=>(int)$id_lang, - 'id_shop'=>(int)$id_shop, - 'label'=>pSQL($label), - 'link'=>pSQL($link[$id_lang]) - ) - ); - } - - return $result; - } - - public static function update($link, $labels, $newWindow = 0, $id_shop, $id_link) - { - if (!is_array($labels)) { - return false; - } - if (!is_array($link)) { - return false; - } - - Db::getInstance()->update( - 'linksmenutop', - array( - 'new_window'=>(int)$newWindow, - 'id_shop' => (int)$id_shop - ), - 'id_linksmenutop = '.(int)$id_link - ); - - foreach ($labels as $id_lang => $label) { - Db::getInstance()->update( - 'linksmenutop_lang', - array( - 'id_shop'=>(int)$id_shop, - 'label'=>pSQL($label), - 'link'=>pSQL($link[$id_lang]) - ), - 'id_linksmenutop = '.(int)$id_link.' AND id_lang = '.(int)$id_lang - ); - } - } - - - public static function remove($id_linksmenutop, $id_shop) - { - $result = true; - $result &= Db::getInstance()->delete('linksmenutop', 'id_linksmenutop = '.(int)$id_linksmenutop.' AND id_shop = '.(int)$id_shop); - $result &= Db::getInstance()->delete('linksmenutop_lang', 'id_linksmenutop = '.(int)$id_linksmenutop); - - return $result; - } -} diff --git a/modules/blocktopmenu/translations/ag.php b/modules/blocktopmenu/translations/ag.php deleted file mode 100644 index 510c383f7..000000000 --- a/modules/blocktopmenu/translations/ag.php +++ /dev/null @@ -1,59 +0,0 @@ -blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Menú horizontal superior'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Añadir un nuevo menú en la parte superior de su tienda.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'Ajustes actualizados'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'No se puede actualizar los siguientes parámetros de la tienda(s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Por favor, llene el campo "enlace".'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Por favor, añada una etiqueta.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Por favor, añada una etiqueta para el idioma por defecto'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'En enlace se ha añadido con éxito'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'No se puede agregar enlace para la siguiente tienda (s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'El enlace ha sido eliminado.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'No se puede eliminar el enlace para la siguiente tienda (s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'El enlace ha sido editado.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'No se puede gestionar los elementos del menú superior de "Todas las tiendas " o un "Grupo de tiendas", seleccione directamente la tienda que desea editar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_298b615220606d42b6ac60269df0d321'] = 'Las modificaciones se aplicarán a la tienda: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_aef3662e6419ddaaa0a31df70e3b6557'] = 'Las modificaciones se aplicarán a este grupo: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'Las modificaciones se aplicarán a todas las tiendas'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'Todos las marcas'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Todos los proveedores'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Menu de enlace superior'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Barra de búsqueda'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activado'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Desactivado'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Guardar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'Todas las cantidades de las combinaciones de productos activos serán cambiadas'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Actualizar enlace'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Añadir un nuevo enlace'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Etiqueta'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Enlace'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Nueva Ventana'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Agregar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Actualizar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Proveedor'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Fabricante'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Categorías'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Tiendas'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Productos'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Seleccione ID de producto'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Menú de Enlaces superiores'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'Link ID'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Nombre de la Tienda'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Lista de enlaces'; -$_MODULE['<{blocktopmenu}prestashop>form_17a1352d3f69a733fd472fce0238a07d'] = 'Indica el número ID del producto'; -$_MODULE['<{blocktopmenu}prestashop>form_6bb999afde6fca60d70edce79d20b370'] = 'ID del producto'; -$_MODULE['<{blocktopmenu}prestashop>form_3ee3549ff0c93372a730749f784e9438'] = 'Por favor seleccione un sólo elemento'; -$_MODULE['<{blocktopmenu}prestashop>form_e1b11c03820641dd1d1441bf68898d08'] = 'Cambiar posición'; -$_MODULE['<{blocktopmenu}prestashop>form_3713a99a6284e39061bd48069807aa52'] = 'Elementos seleccionados'; -$_MODULE['<{blocktopmenu}prestashop>form_8fb31b552d63ffef9df733646a195bc0'] = 'Artículos disponibles'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Eliminar'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Agregar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'Menú'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/ar.php b/modules/blocktopmenu/translations/ar.php deleted file mode 100644 index 7f38e29c5..000000000 --- a/modules/blocktopmenu/translations/ar.php +++ /dev/null @@ -1,27 +0,0 @@ -blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'تم تعديل الاعدادات بنحاج'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'وقد أضيف الارتباط.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'كافة الماركات'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'كافة الموردين'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'نص التسمية'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'رابط'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'new window'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'إضافة'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'إدارة الصفحات'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'المورد'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'الماركة'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'التصنيفات'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'المتاجر:'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'المنتجات'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'رقم تعريف المنتج'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'اسم المتجر'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'إزالة'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'إضافة'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'القائمة'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/bg.php b/modules/blocktopmenu/translations/bg.php deleted file mode 100644 index 2af1bea8b..000000000 --- a/modules/blocktopmenu/translations/bg.php +++ /dev/null @@ -1,59 +0,0 @@ -blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Хоризонтално меню'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Добавяне на ново хоризонтално меню в горната част на магазина.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'Настройките бяха обновени.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'Невъзможно е да се обновят настройките на следните магазин(и) : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Моля, попълнете полето "Връзка".'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Моля, добавете етикет.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Моля, добавете етикет за езика по подразбиране.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'Линкът беше добавен.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'Невъзможно е да се добавят линкове на следните магазин(и) : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'Линкът беше премахнат.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'Невъзможно е да се премахне линка на следните магазин(и) : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'Линкът беше редактиран.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'Не можете да управлявате артикулите в горното меню от контекста на "Всички магазини" или "Колективно пазаруване", изберете директно магазина, който желаете да управлявате'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_298b615220606d42b6ac60269df0d321'] = 'Промените ще бъдат приложени за магазин: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_aef3662e6419ddaaa0a31df70e3b6557'] = 'Промените ще бъдат приложени за следната група: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'Модификацията ще бъде приложена върху всички магазини'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'Всички производители'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Всички снабдители'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Линк на горното меню'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Поле за търсене'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Активен'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Забранено'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Запазване'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'Всички количества на активни продуктови комбинации ще се променят'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Линк за обновяване'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Добавяне на нов линк'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Етикет'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Връзка'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Нов прозорец'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Добавяне'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Обновяване'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Снабдител'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Производител'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Категории'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Магазини'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Продукти'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Изберете ИД на продукта'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Линкове в горното меню'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'ИД на линка'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Име на магазина'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Списък с линкове'; -$_MODULE['<{blocktopmenu}prestashop>form_17a1352d3f69a733fd472fce0238a07d'] = 'Указва ИД (идентификационен) номер на продукта'; -$_MODULE['<{blocktopmenu}prestashop>form_6bb999afde6fca60d70edce79d20b370'] = 'ИД № на продукт'; -$_MODULE['<{blocktopmenu}prestashop>form_3ee3549ff0c93372a730749f784e9438'] = 'Моля, изберете само един артикул'; -$_MODULE['<{blocktopmenu}prestashop>form_e1b11c03820641dd1d1441bf68898d08'] = 'Промяна на позиция'; -$_MODULE['<{blocktopmenu}prestashop>form_3713a99a6284e39061bd48069807aa52'] = 'Избрани артикули'; -$_MODULE['<{blocktopmenu}prestashop>form_8fb31b552d63ffef9df733646a195bc0'] = 'Налични артикули'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Премахване'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Добавяне'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'Меню'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/br.php b/modules/blocktopmenu/translations/br.php deleted file mode 100644 index 33c01da00..000000000 --- a/modules/blocktopmenu/translations/br.php +++ /dev/null @@ -1,59 +0,0 @@ -blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Menu horizontal superior'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Adiciona um menu horizontal no topo da sua loja.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'As configurações foram atualizadas.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'Não foi possível atualizar as configurações para a(s) seguinte(s) loja(s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Favor completar o campo \\"Link\\".'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Favor adicionar um rótulo.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Por favor, adicione um rótulo para o seu idioma padrão'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'O link foi adicionado.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'Não foi possível adicionar o link para a(s) seguinte(s) loja(s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'O link foi removido.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'Não foi possível remover o link para a(s) seguinte(s) loja(s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'O link foi editado.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'Você não pode gerenciar o menu de topo no contexto "Todas as Lojas" ou "Grupos de Lojas", selecione diretamente a loja que deseja alterar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_298b615220606d42b6ac60269df0d321'] = 'As modificações serão aplicadas para a loja: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_aef3662e6419ddaaa0a31df70e3b6557'] = 'As modificações serão aplicadas para este grupo: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'As alterações serão aplicadas a todas as lojas'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'Todos os fabricantes'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Todos os fornecedores'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Link do Menu Superior'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Barra de busca'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Ativado'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Desativado'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Salvar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'Todas as quantidade das combinações de produtos ativos serão alteradas'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Atualizar link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Adiciona um novo link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Rótulo'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Nova janela'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Adicionar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Atualizar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Fornecedor'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Fabricante'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Categorias'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Lojas'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Produtos'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Selecione o ID do produto'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Link do menu superior'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'ID do Link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Nome da loja'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Lista de links'; -$_MODULE['<{blocktopmenu}prestashop>form_17a1352d3f69a733fd472fce0238a07d'] = 'Indique o número da ID deste produto'; -$_MODULE['<{blocktopmenu}prestashop>form_6bb999afde6fca60d70edce79d20b370'] = 'ID do Produto'; -$_MODULE['<{blocktopmenu}prestashop>form_3ee3549ff0c93372a730749f784e9438'] = 'Por favor escolha apenas 1 item'; -$_MODULE['<{blocktopmenu}prestashop>form_e1b11c03820641dd1d1441bf68898d08'] = 'Alterar posição'; -$_MODULE['<{blocktopmenu}prestashop>form_3713a99a6284e39061bd48069807aa52'] = 'Itens selecionados'; -$_MODULE['<{blocktopmenu}prestashop>form_8fb31b552d63ffef9df733646a195bc0'] = 'Itens disponíveis'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Remover'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Adicionar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'Menu'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/ca.php b/modules/blocktopmenu/translations/ca.php deleted file mode 100644 index 4c5369b1f..000000000 --- a/modules/blocktopmenu/translations/ca.php +++ /dev/null @@ -1,59 +0,0 @@ -blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Menú horitzontal superior'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Afegeix un nou menú a la part superior de la vostra botiga.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'La configuració s\'ha actualitzat.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'No es poden actualitzar les configuracions a les següents botigues: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Si us plau, empleneu el camp "Enllaç".'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Si us plau afegiu una etiqueta.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Si us plau afegiu una etiqueta pel vostre idioma predeterminat'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'L\'enllaç ha estat afegit.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'No es poden afegir enllaços a les següents botigues: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'L\'enllaç ha estat eliminat.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'No es poden esborrar enllaços a les següents botigues: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'S\'ha editat l\'enllaç.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'No podeu gestionar directament els elements del menú superior a "Totes les botigues" o a "Grup de botigues", cal que seleccioneu directament la botiga que voleu editar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_298b615220606d42b6ac60269df0d321'] = 'Les modificacions seran aplicades a la botiga: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_aef3662e6419ddaaa0a31df70e3b6557'] = 'Les modificacions seran aplicades a aquest grup: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'Les modificacions seran aplicades a totes les botigues'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'Tots els fabricants'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Tots els proveïdors'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Enllaç al menú superior'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Barra de cerca'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activat'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Desactivat'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Desar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'Canviaran totes les quantitats de les combinacions actives de productes'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Enllaç d\'actualització'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Afegir un nou enllaç'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Etiqueta'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Enllaç'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Nova finestra'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Afegir'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Actualitzar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Proveïdor'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Fabricant'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Categories'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Botigues'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Articles'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Trieu l\'identificador del producte'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Enllaços del menú d\'inici'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'Identificador de l\'enllaç'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Nom de la botiga'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Llista d\'enllaços'; -$_MODULE['<{blocktopmenu}prestashop>form_17a1352d3f69a733fd472fce0238a07d'] = 'Indiqueu l\'Identificador numèric pel producte'; -$_MODULE['<{blocktopmenu}prestashop>form_6bb999afde6fca60d70edce79d20b370'] = 'ID de producte núm.'; -$_MODULE['<{blocktopmenu}prestashop>form_3ee3549ff0c93372a730749f784e9438'] = 'Si us plau seleccioneu només un element'; -$_MODULE['<{blocktopmenu}prestashop>form_e1b11c03820641dd1d1441bf68898d08'] = 'Canviar la posició'; -$_MODULE['<{blocktopmenu}prestashop>form_3713a99a6284e39061bd48069807aa52'] = 'Elements seleccionats'; -$_MODULE['<{blocktopmenu}prestashop>form_8fb31b552d63ffef9df733646a195bc0'] = 'Elements disponibles'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Eliminar'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Afegir'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'Menú'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/de.php b/modules/blocktopmenu/translations/de.php deleted file mode 100644 index 8949ee2b1..000000000 --- a/modules/blocktopmenu/translations/de.php +++ /dev/null @@ -1,59 +0,0 @@ -blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Horizontale Navigationsleiste'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Zeigt eine frei konfigurierbare horizontale Navigationsleiste im Kopf Ihrer Website an.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'Einstellungen wurden aktualisiert.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'Einstellungen für folgende Shop(s) konnten nicht aktualisiert werden: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Bitte das "Link"-Feld füllen.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Bitte eine Bezeichnung hinzufügen.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Bitte eine Bezeichnung für die Standard-Sprache hinzufügen'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'Link hinzugefügt'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'Link zu folgenden Shops konnte nicht hinzugefügt werden: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'Der Link wurde entfernt.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'Link für folgende Shops konnte nicht entfernt werden: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'Der Link wurde bearbeitet.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'Startmenü-Einträge können nicht in der Einstellung "Alle Shops" oder Shopgruppen" verwaltet werden. Bitte wählen Sie einen Shop, den Sie bearbeiten möchten.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_298b615220606d42b6ac60269df0d321'] = 'Die Änderungen werden auf folgenden Shop angewendet: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_aef3662e6419ddaaa0a31df70e3b6557'] = 'Die Änderungen werden auf folgende Gruppe angewendet: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'Die Änderungen werden für alle Shops übernommen'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'Alle Hersteller'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Alle Lieferanten'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Horizontale Navigationsleiste'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Suchleiste'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Aktiviert'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Deaktiviert'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'Alle Stückzahlen von Kombinationen für aktivierte Produkte werden geändert'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Update-Link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Neuen Link hinzufügen'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Name'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Neues Fenster'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Hinzufügen'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Aktualisieren'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS-Seiten'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Lieferant'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Hersteller'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Kategorien'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Geschäfte'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Artikel'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Wähle Produkt-ID'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Menu Top Links'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'ID Link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Name des Shops'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Link-Liste'; -$_MODULE['<{blocktopmenu}prestashop>form_17a1352d3f69a733fd472fce0238a07d'] = 'Geben Sie hier die Artikelnummer des Artikels ein'; -$_MODULE['<{blocktopmenu}prestashop>form_6bb999afde6fca60d70edce79d20b370'] = 'Artikel-Nr.'; -$_MODULE['<{blocktopmenu}prestashop>form_3ee3549ff0c93372a730749f784e9438'] = 'Sie können jeweils nur einen Menüpunkt auswählen.'; -$_MODULE['<{blocktopmenu}prestashop>form_e1b11c03820641dd1d1441bf68898d08'] = 'Position ändern'; -$_MODULE['<{blocktopmenu}prestashop>form_3713a99a6284e39061bd48069807aa52'] = 'Ausgewählte Elemente'; -$_MODULE['<{blocktopmenu}prestashop>form_8fb31b552d63ffef9df733646a195bc0'] = 'Vorhandene Eintragungen'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Entfernen'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Hinzufügen'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'Menü'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/en.php b/modules/blocktopmenu/translations/en.php deleted file mode 100644 index e98fe5e38..000000000 --- a/modules/blocktopmenu/translations/en.php +++ /dev/null @@ -1,59 +0,0 @@ -blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Top horizontal menu'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Adds a new horizontal menu to the top of your e-commerce website.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'The settings have been updated.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'Unable to update settings for the following shop(s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Please complete the "Link" field.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Please add a label.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Please add a label for your default language.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'The link has been added.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'Unable to add link for the following shop(s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'The link has been removed.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'Unable to remove link for the following shop(s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'The link has been edited.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'You cannot manage top menu items from a "All Shops" or a "Group Shop" context, select directly the shop you want to edit'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_298b615220606d42b6ac60269df0d321'] = 'The modifications will be applied to shop: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_aef3662e6419ddaaa0a31df70e3b6557'] = 'The modifications will be applied to this group: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'The modifications will be applied to all shops'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'All manufacturers'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'All suppliers'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Menu Top Link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Search bar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Enabled'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Disabled'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Save'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'All active products combinations quantities will be changed'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Update link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Add a new link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Label'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'New window'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Add'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Update'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Supplier'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Manufacturer'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Categories'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Shops'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Products'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Choose product ID'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Menu Top Links'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'Link ID'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Shop name'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Link list'; -$_MODULE['<{blocktopmenu}prestashop>form_17a1352d3f69a733fd472fce0238a07d'] = 'Indicate the ID number for the product'; -$_MODULE['<{blocktopmenu}prestashop>form_6bb999afde6fca60d70edce79d20b370'] = 'Product ID #'; -$_MODULE['<{blocktopmenu}prestashop>form_3ee3549ff0c93372a730749f784e9438'] = 'Please select just one item'; -$_MODULE['<{blocktopmenu}prestashop>form_e1b11c03820641dd1d1441bf68898d08'] = 'Change position'; -$_MODULE['<{blocktopmenu}prestashop>form_3713a99a6284e39061bd48069807aa52'] = 'Selected items'; -$_MODULE['<{blocktopmenu}prestashop>form_8fb31b552d63ffef9df733646a195bc0'] = 'Available items'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Remove'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Add'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'Menu'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/es.php b/modules/blocktopmenu/translations/es.php deleted file mode 100644 index 5e22a41b8..000000000 --- a/modules/blocktopmenu/translations/es.php +++ /dev/null @@ -1,59 +0,0 @@ -blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Menú horizontal superior'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Añadir un nuevo menú en la parte superior de su tienda.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'Parámetros actualizados'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'No se puede actualizar los siguientes parámetros de la tienda(s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Por favor, llene el campo "enlace".'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Por favor, añada una etiqueta.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Por favor, añada una etiqueta para el idioma por defecto'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'En enlace se ha añadido con éxito'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'No se puede agregar enlace para la siguiente tienda (s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'El enlace ha sido eliminado.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'No se puede eliminar el enlace para la siguiente tienda (s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'El enlace ha sido editado.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'No se puede gestionar los elementos del menú superior de "Todas las tiendas " o un "Grupo de tiendas", seleccione directamente la tienda que desea editar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_298b615220606d42b6ac60269df0d321'] = 'Las modificaciones se aplicarán a la tienda: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_aef3662e6419ddaaa0a31df70e3b6557'] = 'Las modificaciones se aplicarán a este grupo: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'Las modificaciones se aplicarán a todas las tiendas'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'Todos los fabricantes'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Todos los proveedores'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Menu de enlace superior'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Barra de búsqueda'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activado'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Desactivado'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Guardar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'Todas las cantidades de las combinaciones de productos activos serán cambiadas'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Actualizar enlace'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Añadir un nuevo enlace'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Etiqueta'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Enlace'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Nueva ventana'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Añadir'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Actualizar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Proveedor'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Fabricante'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Categorías'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Tiendas'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Productos'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Seleccione ID de producto'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Menú de Enlaces superiores'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'Link ID'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Nombre de la tienda'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Lista de enlaces'; -$_MODULE['<{blocktopmenu}prestashop>form_17a1352d3f69a733fd472fce0238a07d'] = 'Indica el número ID del producto'; -$_MODULE['<{blocktopmenu}prestashop>form_6bb999afde6fca60d70edce79d20b370'] = 'ID del producto'; -$_MODULE['<{blocktopmenu}prestashop>form_3ee3549ff0c93372a730749f784e9438'] = 'Por favor seleccione un sólo elemento'; -$_MODULE['<{blocktopmenu}prestashop>form_e1b11c03820641dd1d1441bf68898d08'] = 'Cambiar posición'; -$_MODULE['<{blocktopmenu}prestashop>form_3713a99a6284e39061bd48069807aa52'] = 'Elementos seleccionados'; -$_MODULE['<{blocktopmenu}prestashop>form_8fb31b552d63ffef9df733646a195bc0'] = 'Artículos disponibles'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Borrar'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Añadir'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'Menú'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/fr.php b/modules/blocktopmenu/translations/fr.php deleted file mode 100644 index 667bfdfae..000000000 --- a/modules/blocktopmenu/translations/fr.php +++ /dev/null @@ -1,59 +0,0 @@ -blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Menu Haut horizontal'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Ajouter un nouveau menu horizontal en haut de votre site e-commerce.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'Paramètres mis à jour'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'Impossible de mettre à jour les paramètres pour la (les) boutique(s) suivante(s) : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Veuillez remplir le champ "Lien".'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Veuillez ajouter un label.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Veuillez ajouter un label pour le langage par défaut'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'Le lien a été ajouté'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'Impossible d\'ajouter un lien pour la (les) boutique(s) suivante(s) : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'Le lien a été enlevé.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'Impossible de supprimer le lien pour la (les) boutiques suivante(s) : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'Le lien a été modifié.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'Vous ne pouvez pas modifier le menu horizontal pour un groupe de boutiques ou toutes les boutiques à la fois. Sélectionnez uniquement la boutique que vous souhaitez modifier'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_298b615220606d42b6ac60269df0d321'] = 'Les modifications s\'appliqueront à la boutique suivante : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_aef3662e6419ddaaa0a31df70e3b6557'] = 'Les modifications s\'appliqueront au groupe de boutiques suivant : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'Les modifications seront appliquées à toutes les boutiques'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'Tous les fabricants'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Tous les fournisseurs'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Lien du menu'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Barre de recherche'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'Toutes les quantités des combinaisons de produits actives seront modifiées'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Mettre à jour le lien'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Ajouter un nouveau lien'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Libellé'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Lien'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Nouvelle fenêtre'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Mettre à jour'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Fournisseurs'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Fabricant'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Catégories'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Boutiques'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Produits'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Choisissez un ID de produit'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Liens du menu'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'ID du lien'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Nom de la boutique'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Liste des liens'; -$_MODULE['<{blocktopmenu}prestashop>form_17a1352d3f69a733fd472fce0238a07d'] = 'Indiquez l\'identifiant (ID) du produit'; -$_MODULE['<{blocktopmenu}prestashop>form_6bb999afde6fca60d70edce79d20b370'] = 'Identifiant du produit'; -$_MODULE['<{blocktopmenu}prestashop>form_3ee3549ff0c93372a730749f784e9438'] = 'Veuillez sélectionner un seul élément'; -$_MODULE['<{blocktopmenu}prestashop>form_e1b11c03820641dd1d1441bf68898d08'] = 'Modifier la position'; -$_MODULE['<{blocktopmenu}prestashop>form_3713a99a6284e39061bd48069807aa52'] = 'Éléments sélectionnés'; -$_MODULE['<{blocktopmenu}prestashop>form_8fb31b552d63ffef9df733646a195bc0'] = 'Éléments disponibles'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Retirer'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'Menu'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/gl.php b/modules/blocktopmenu/translations/gl.php deleted file mode 100644 index d7ae32bcf..000000000 --- a/modules/blocktopmenu/translations/gl.php +++ /dev/null @@ -1,26 +0,0 @@ -blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'configuracion de actualizacion'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'todos os fabricantes'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activado'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Desactivado'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Gardar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Etiqueta'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Enlace'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Nova fiestra'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Engadir'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Actualizar'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Distribuidor'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Fabricante'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Categorias'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Boutiques'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Produtos'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Nome da Tenda'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Remover'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Engadir'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/id.php b/modules/blocktopmenu/translations/id.php deleted file mode 100644 index d4a2417b5..000000000 --- a/modules/blocktopmenu/translations/id.php +++ /dev/null @@ -1,59 +0,0 @@ -blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Menu horizontal'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Menambahkan horizontal menu di website Anda.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'Seting berhasil disimpan.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'Seting tidak dapat disimpan untuk toko berikut: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Harap isi field "Tautan".'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Harap tambahkan label.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Harap tambahkan label untuk bahasa aktif'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'Link telah ditambahkan.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'Gagal menambahkan link untuk toko berikut : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'Tautan telah dihapus.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'Gagal menghapus link untuk toko berikut ini: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'Tautan telah diedit.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'Anda tidak dapat mengelola menu dari konteks "Semua toko" atau "Grup Toko", pilih toko yang akan Anda edit'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_298b615220606d42b6ac60269df0d321'] = 'Perubahan akan diterapkan pada toko: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_aef3662e6419ddaaa0a31df70e3b6557'] = 'Perubahan akan diterapkan pada grup: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'Perubahan akan diaplikasikan kesemua toko'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'Semua brand'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Daftar Supplier'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Tautan menu'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Kotak pencarian'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Aktifkan'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Nonaktifkan'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Simpan'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'Semua jumlah kombinasi produk akan berubah'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Update tautan'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Tambah Link baru'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Label'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Tautan'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Jendela baru'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Tambah'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Update'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Pemasok'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Brand'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Kategori'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Toko'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Produk'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Pilih ID produk'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Link top menu'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'ID Tautan'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Nama Toko'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Daftar link'; -$_MODULE['<{blocktopmenu}prestashop>form_17a1352d3f69a733fd472fce0238a07d'] = 'Nomor ID dari produk'; -$_MODULE['<{blocktopmenu}prestashop>form_6bb999afde6fca60d70edce79d20b370'] = 'ID Produk #'; -$_MODULE['<{blocktopmenu}prestashop>form_3ee3549ff0c93372a730749f784e9438'] = 'Silahkan pilih salah satu'; -$_MODULE['<{blocktopmenu}prestashop>form_e1b11c03820641dd1d1441bf68898d08'] = 'Ubah posisi'; -$_MODULE['<{blocktopmenu}prestashop>form_3713a99a6284e39061bd48069807aa52'] = 'Item yang dipilih'; -$_MODULE['<{blocktopmenu}prestashop>form_8fb31b552d63ffef9df733646a195bc0'] = 'Item yang tersedia'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Hapus'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Tambah'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'Menu'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/translations/index.php b/modules/blocktopmenu/translations/index.php deleted file mode 100644 index d8f7de2e0..000000000 --- a/modules/blocktopmenu/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/translations/nl.php b/modules/blocktopmenu/translations/nl.php deleted file mode 100644 index 469896788..000000000 --- a/modules/blocktopmenu/translations/nl.php +++ /dev/null @@ -1,59 +0,0 @@ -blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Horizontaal top menu'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Voeg een nieuw horizontaal menu toe bovenaan je winkel.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'Instellingen zijn bijgewerkt'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'Niet in staat om instelling op te slaan voor deze winkel(s): %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Vul het veld "Link" in aub'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Voeg een label toe aub.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Voeg een label voor uw standaard taal toe aub'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'De link is toegevoegd'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'Niet in staat link toe te voegen aan de volgende winkel(s) : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'De link is verwijderd.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'Niet in staat link te verwijderen uit de volgende winkel(s) : %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'De link is bewerkt.'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'Je kan niet Bovenste Menu Items bewerken vanuit "alle winkels" of "groep winkel" maar je moet direct de winkel selecteren die je wilt bewerken'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_298b615220606d42b6ac60269df0d321'] = 'De modificatie zal worden toegepast bij winkel: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_aef3662e6419ddaaa0a31df70e3b6557'] = 'De modificatie zal worden toegepast bij deze groep: %s'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'Deze aanpassingen zullen worden toegepast op alle winkels'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'Alle fabrikanten'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Alle leveranciers'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Top menu links'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Zoekbalk'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Ingeschakeld'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Uitgeschakeld'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Opslaan'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'Alle actieve product combinatie hoeveelheden zullen worden veranderd'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Link bijwerken'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Voeg een nieuwe link toe'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Label'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Link'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Nieuw venster'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Toevoegen'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Bijwerken'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Leverancier'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Fabrikant'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Categorieën'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Winkels'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Producten'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Kies productnummer'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Top menu links'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'Link ID'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Winkel naam'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Linklijst'; -$_MODULE['<{blocktopmenu}prestashop>form_17a1352d3f69a733fd472fce0238a07d'] = 'Geef het ID-nummer op voor dit product'; -$_MODULE['<{blocktopmenu}prestashop>form_6bb999afde6fca60d70edce79d20b370'] = 'Product ID #'; -$_MODULE['<{blocktopmenu}prestashop>form_3ee3549ff0c93372a730749f784e9438'] = 'Selecteer slechts een item'; -$_MODULE['<{blocktopmenu}prestashop>form_e1b11c03820641dd1d1441bf68898d08'] = 'Positie veranderen'; -$_MODULE['<{blocktopmenu}prestashop>form_3713a99a6284e39061bd48069807aa52'] = 'Geselecteerde items'; -$_MODULE['<{blocktopmenu}prestashop>form_8fb31b552d63ffef9df733646a195bc0'] = 'Beschikbare items'; -$_MODULE['<{blocktopmenu}prestashop>form_1063e38cb53d94d386f21227fcd84717'] = 'Verwijder'; -$_MODULE['<{blocktopmenu}prestashop>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Toevoegen'; -$_MODULE['<{blocktopmenu}prestashop>blocktopmenu_b61541208db7fa7dba42c85224405911'] = 'Menu'; - - -return $_MODULE; diff --git a/modules/blocktopmenu/upgrade/install-1.6.php b/modules/blocktopmenu/upgrade/install-1.6.php deleted file mode 100644 index 948aee709..000000000 --- a/modules/blocktopmenu/upgrade/install-1.6.php +++ /dev/null @@ -1,10 +0,0 @@ -registerHook('actionObjectCategoryAddAfter')); -} diff --git a/modules/blocktopmenu/upgrade/install-2.1.1.php b/modules/blocktopmenu/upgrade/install-2.1.1.php deleted file mode 100644 index 95dd18ad6..000000000 --- a/modules/blocktopmenu/upgrade/install-2.1.1.php +++ /dev/null @@ -1,33 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ -if (!defined('_PS_VERSION_')) { - exit; -} - -function upgrade_module_2_1_1($object) -{ - return ($object->registerHook('header')); -} diff --git a/modules/blocktopmenu/views/index.php b/modules/blocktopmenu/views/index.php deleted file mode 100644 index d8f7de2e0..000000000 --- a/modules/blocktopmenu/views/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/views/templates/admin/_configure/helpers/form/form.tpl b/modules/blocktopmenu/views/templates/admin/_configure/helpers/form/form.tpl deleted file mode 100644 index 80f23a5ee..000000000 --- a/modules/blocktopmenu/views/templates/admin/_configure/helpers/form/form.tpl +++ /dev/null @@ -1,125 +0,0 @@ -{* -* 2007-2015 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* DISCLAIMER -* -* Do not edit or add to this file if you wish to upgrade PrestaShop to newer -* versions in the future. If you wish to customize PrestaShop for your -* needs please refer to http://www.prestashop.com for more information. -* -* @author PrestaShop SA -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -{extends file="helpers/form/form.tpl"} - -{block name="script"} -$(document).ready(function(){ -$('#menuOrderUp').click(function(e){ - e.preventDefault(); - move(true); -}); -$('#menuOrderDown').click(function(e){ - e.preventDefault(); - move(); -}); -$("#items").closest('form').on('submit', function(e) { - $("#items option").prop('selected', true); -}); -$("#addItem").click(add); -$("#availableItems").dblclick(add); -$("#removeItem").click(remove); -$("#items").dblclick(remove); -function add() -{ - $("#availableItems option:selected").each(function(i){ - var val = $(this).val(); - var text = $(this).text(); - text = text.replace(/(^\s*)|(\s*$)/gi,""); - if (val == "PRODUCT") - { - val = prompt('{l s="Indicate the ID number for the product" mod='blocktopmenu' js=1}'); - if (val == null || val == "" || isNaN(val)) - return; - text = '{l s="Product ID #" mod='blocktopmenu' js=1}'+val; - val = "PRD"+val; - } - $("#items").append(''); - }); - serialize(); - return false; -} -function remove() -{ - $("#items option:selected").each(function(i){ - $(this).remove(); - }); - serialize(); - return false; -} -function serialize() -{ - var options = ""; - $("#items option").each(function(i){ - options += $(this).val()+","; - }); - $("#itemsInput").val(options.substr(0, options.length - 1)); -} -function move(up) -{ - var tomove = $('#items option:selected'); - if (tomove.length >1) - { - alert('{l s="Please select just one item" mod='blocktopmenu'}'); - return false; - } - if (up) - tomove.prev().insertAfter(tomove); - else - tomove.next().insertBefore(tomove); - serialize(); - return false; -} -}); -{/block} - -{block name="input"} - {if $input.type == 'link_choice'} -
    -
    -

    {l s='Change position' mod='blocktopmenu'}

    -
    -
    -
    -
    -

    {l s='Selected items' mod='blocktopmenu'}

    - {$selected_links} -
    -
    -

    {l s='Available items' mod='blocktopmenu'}

    - {$choices} -
    - -
    -
    - - {else} - {$smarty.block.parent} - {/if} -{/block} diff --git a/modules/blocktopmenu/views/templates/admin/_configure/helpers/form/index.php b/modules/blocktopmenu/views/templates/admin/_configure/helpers/form/index.php deleted file mode 100644 index d8f7de2e0..000000000 --- a/modules/blocktopmenu/views/templates/admin/_configure/helpers/form/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/views/templates/admin/_configure/helpers/index.php b/modules/blocktopmenu/views/templates/admin/_configure/helpers/index.php deleted file mode 100644 index d8f7de2e0..000000000 --- a/modules/blocktopmenu/views/templates/admin/_configure/helpers/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/views/templates/admin/_configure/helpers/list/index.php b/modules/blocktopmenu/views/templates/admin/_configure/helpers/list/index.php deleted file mode 100644 index d8f7de2e0..000000000 --- a/modules/blocktopmenu/views/templates/admin/_configure/helpers/list/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/views/templates/admin/_configure/helpers/list/list_content.tpl b/modules/blocktopmenu/views/templates/admin/_configure/helpers/list/list_content.tpl deleted file mode 100644 index 9167e2fe9..000000000 --- a/modules/blocktopmenu/views/templates/admin/_configure/helpers/list/list_content.tpl +++ /dev/null @@ -1,34 +0,0 @@ -{* -* 2007-2015 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* DISCLAIMER -* -* Do not edit or add to this file if you wish to upgrade PrestaShop to newer -* versions in the future. If you wish to customize PrestaShop for your -* needs please refer to http://www.prestashop.com for more information. -* -* @author PrestaShop SA -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -{extends file="helpers/list/list_content.tpl"} - -{block name="td_content"} - {if isset($params.type) && $params.type == 'link'} - {$tr.$key|escape:'html':'UTF-8'} - {else} - {$smarty.block.parent} - {/if} -{/block} diff --git a/modules/blocktopmenu/views/templates/admin/_configure/index.php b/modules/blocktopmenu/views/templates/admin/_configure/index.php deleted file mode 100644 index d8f7de2e0..000000000 --- a/modules/blocktopmenu/views/templates/admin/_configure/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/views/templates/admin/index.php b/modules/blocktopmenu/views/templates/admin/index.php deleted file mode 100644 index d8f7de2e0..000000000 --- a/modules/blocktopmenu/views/templates/admin/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/modules/blocktopmenu/views/templates/index.php b/modules/blocktopmenu/views/templates/index.php deleted file mode 100644 index d8f7de2e0..000000000 --- a/modules/blocktopmenu/views/templates/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2015 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/themes/hotel-reservation-theme/css/modules/blocktopmenu/css/blocktopmenu.css b/themes/hotel-reservation-theme/css/modules/blocktopmenu/css/blocktopmenu.css deleted file mode 100644 index 3d5c749d4..000000000 --- a/themes/hotel-reservation-theme/css/modules/blocktopmenu/css/blocktopmenu.css +++ /dev/null @@ -1,4 +0,0 @@ -#block_top_menu { - padding-top: 25px; } - -/*# sourceMappingURL=blocktopmenu.css.map */ diff --git a/themes/hotel-reservation-theme/css/modules/blocktopmenu/css/index.php b/themes/hotel-reservation-theme/css/modules/blocktopmenu/css/index.php deleted file mode 100644 index 9a99a8662..000000000 --- a/themes/hotel-reservation-theme/css/modules/blocktopmenu/css/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2017 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/themes/hotel-reservation-theme/css/modules/blocktopmenu/css/superfish-modified.css b/themes/hotel-reservation-theme/css/modules/blocktopmenu/css/superfish-modified.css deleted file mode 100644 index ce26a24c3..000000000 --- a/themes/hotel-reservation-theme/css/modules/blocktopmenu/css/superfish-modified.css +++ /dev/null @@ -1,241 +0,0 @@ -/*** ESSENTIAL STYLES ***/ -.sf-contener { - clear: both; - float: left; - width: 100%; } - -.sf-menu, -.sf-menu * { - margin: 0; - padding: 0; - list-style: none; } - -.sf-menu { - position: relative; - padding: 0; - width: 100%; - border-bottom: 3px solid #e9e9e9; - background: #f6f6f6; } - @media (max-width: 767px) { - .sf-menu { - display: none; } } - -.sf-menu ul { - position: absolute; - top: -999em; - background: #fff; } - @media (max-width: 767px) { - .sf-menu ul { - position: relative; } } - -.sf-menu ul li { - width: 100%; } - -.sf-menu li:hover { - visibility: inherit; - /* fixes IE7 'sticky bug' */ } - -.sf-menu > li { - float: left; - border-right: 1px solid #d6d4d4; - margin-bottom: -3px; } - @media (max-width: 767px) { - .sf-menu > li { - float: none; - position: relative; - border-right: none; } - .sf-menu > li span { - position: absolute; - right: 6px; - top: 20px; - width: 30px; - height: 30px; - z-index: 2; } - .sf-menu > li span:after { - font-family: "FontAwesome"; - content: "\f067"; - font-size: 26px; } - .sf-menu > li span.active:after { - content: "\f068"; } } - .sf-menu > li > a { - font: 600 18px/22px "Open Sans", sans-serif; - text-transform: uppercase; - color: #484848; - display: block; - padding: 17px 20px; - border-bottom: 3px solid #e9e9e9; } - .sf-menu > li.sfHover > a, - .sf-menu > li > a:hover, .sf-menu > li.sfHoverForce > a { - background: #333; - border-bottom-color: #666666; - color: #fff; } - -.sf-menu li li li a { - display: inline-block; - position: relative; - color: #777777; - font-size: 13px; - line-height: 16px; - font-weight: bold; - padding-bottom: 10px; } - .sf-menu li li li a:before { - content: "\f105"; - display: inline-block; - font-family: "FontAwesome"; - padding-right: 10px; } - .sf-menu li li li a:hover { - color: #333; } - -.sf-menu li ul { - display: none; - left: 0; - top: 59px; - /* match top ul list item height */ - z-index: 99; - padding: 12px 0px 18px 0px; - -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 13px; - -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 13px; - box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 13px; } - @media (max-width: 767px) { - .sf-menu li ul { - top: 0; } } - -.sf-menu li li ul { - position: static; - display: block !important; - opacity: 1 !important; - background: none; - -moz-box-shadow: transparent 0px 0px 0px; - -webkit-box-shadow: transparent 0px 0px 0px; - box-shadow: transparent 0px 0px 0px; } - -.sf-menu li li li ul { - padding: 0 0 0 20px; } - -.sf-menu li li li ul { - width: 220px; } - -ul.sf-menu li:hover li ul, -ul.sf-menu li.sfHover li ul { - top: -999em; } - -ul.sf-menu li li:hover ul, -ul.sf-menu li li.sfHover ul { - left: 200px; - /* match ul width */ - top: 0; } - -ul.sf-menu li li:hover li ul, -ul.sf-menu li li.sfHover li ul { - top: -999em; } - -ul.sf-menu li li li:hover ul, -ul.sf-menu li li li.sfHover ul { - left: 200px; - /* match ul width */ - top: 0; } - -.sf-menu > li > ul { - padding: 26px 30px 31px; - width: 100%; } - .sf-menu > li > ul > li > a { - text-transform: uppercase; - font: 600 16px/20px "Open Sans", sans-serif; - color: #333; } - .sf-menu > li > ul > li > a:hover { - color: #515151; } - -.sf-menu > li > ul > li { - float: left; - width: 20%; - padding-right: 15px; } - @media (max-width: 767px) { - .sf-menu > li > ul > li { - width: 50%; } } - @media (max-width: 479px) { - .sf-menu > li > ul > li { - width: 100%; - padding-bottom: 20px; } } - @media (min-width: 768px) { - .sf-menu > li > ul > li.first-in-line-lg { - clear: left; } } - @media (min-width: 480px) and (max-width: 767px) { - .sf-menu > li > ul > li.first-in-line-xs { - clear: left; } } - -.sf-menu > li > ul > li.category-thumbnail { - width: 100% !important; - float: none; - clear: both; - overflow: hidden; - padding-right: 0; } - .sf-menu > li > ul > li.category-thumbnail > div { - float: left; - padding-left: 10px; - width: 33.333%; } - @media (max-width: 479px) { - .sf-menu > li > ul > li.category-thumbnail > div { - width: 100%; - padding-left: 0; - padding-top: 10px; - text-align: center; } } - .sf-menu > li > ul > li.category-thumbnail > div:first-child { - padding-left: 0; } - .sf-menu > li > ul > li.category-thumbnail > div img { - max-width: 100%; - display: block; } - -.cat-title { - display: none; } - @media (max-width: 767px) { - .cat-title { - display: block; - font: 600 18px/22px "Open Sans", sans-serif; - text-transform: uppercase; - color: #484848; - display: block; - padding: 17px 20px; - border-bottom: 3px solid #e9e9e9; - background: #f6f6f6; - position: relative; } - .cat-title:hover { - background: #333; - border-bottom-color: #666666; - color: #fff; } - .cat-title:after { - display: block; - font-family: "FontAwesome"; - content: "\f067"; - position: absolute; - right: 15px; - top: 18px; - font-size: 26px; } - .cat-title.active:after { - content: "\f068"; } } - -.sf-menu li.sf-search { - border: none; } - .sf-menu li.sf-search input { - display: inline; - padding: 0 13px; - height: 30px; - line-height: 30px; - background: #fff; - margin: 13px 10px 0 0; - font-size: 13px; - color: #9c9b9b; - border: 1px solid #d6d4d4; } - -#block_top_menu .category-thumbnail { - clear: both; - width: 100%; - float: none; } - #block_top_menu .category-thumbnail div { - float: left; - width: 33.33333%; } - #block_top_menu .category-thumbnail div img { - max-width: 100%; } -#block_top_menu li.category-thumbnail { - padding-right: 0; } - -/*# sourceMappingURL=superfish-modified.css.map */ diff --git a/themes/hotel-reservation-theme/css/modules/blocktopmenu/index.php b/themes/hotel-reservation-theme/css/modules/blocktopmenu/index.php deleted file mode 100644 index 9a99a8662..000000000 --- a/themes/hotel-reservation-theme/css/modules/blocktopmenu/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2017 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/themes/hotel-reservation-theme/js/modules/blocktopmenu/index.php b/themes/hotel-reservation-theme/js/modules/blocktopmenu/index.php deleted file mode 100644 index 9a99a8662..000000000 --- a/themes/hotel-reservation-theme/js/modules/blocktopmenu/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2017 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/blocktopmenu.js b/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/blocktopmenu.js deleted file mode 100644 index 54937da51..000000000 --- a/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/blocktopmenu.js +++ /dev/null @@ -1,131 +0,0 @@ -/* -* 2007-2017 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* DISCLAIMER -* -* Do not edit or add to this file if you wish to upgrade PrestaShop to newer -* versions in the future. If you wish to customize PrestaShop for your -* needs please refer to http://www.prestashop.com for more information. -* -* @author PrestaShop SA -* @copyright 2007-2017 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -var responsiveflagMenu = false; -var categoryMenu = $('ul.sf-menu'); -var mCategoryGrover = $('.sf-contener .cat-title'); - -$(document).ready(function(){ - categoryMenu = $('ul.sf-menu'); - mCategoryGrover = $('.sf-contener .cat-title'); - responsiveMenu(); - $(window).resize(responsiveMenu); -}); - -// check resolution -function responsiveMenu() -{ - if ($(window).width() <= 767 && responsiveflagMenu == false) { - menuChange('enable'); - responsiveflagMenu = true; - } else if ($(window).width() >= 768) { - menuChange('disable'); - responsiveflagMenu = false; - } -} - -// init Super Fish Menu for 767px+ resolution -function desktopInit() -{ - mCategoryGrover.off(); - mCategoryGrover.removeClass('active'); - $('.sf-menu > li > ul').removeClass('menu-mobile').parent().find('.menu-mobile-grover').remove(); - $('.sf-menu').removeAttr('style'); - categoryMenu.superfish('init'); - //add class for width define - $('.sf-menu > li > ul').addClass('submenu-container clearfix'); - // loop through each sublist under each top list item - $('.sf-menu > li > ul').each(function(){ - i = 0; - //add classes for clearing - $(this).each(function(){ - if ($(this).attr('class') != "category-thumbnail"){ - i++; - if(i % 2 == 1) - $(this).addClass('first-in-line-xs'); - else if (i % 5 == 1) - $(this).addClass('first-in-line-lg'); - } - }); - }); -} - -function mobileInit() -{ - - categoryMenu.superfish('destroy'); - $('.sf-menu').removeAttr('style'); - - mCategoryGrover.on('click', function(e){ - $(this).toggleClass('active').parent().find('ul.menu-content').stop().slideToggle('medium'); - return false; - }); - - $('.sf-menu > li > ul').addClass('menu-mobile clearfix').parent().prepend(''); - - $(".sf-menu .menu-mobile-grover").on('click', function(e){ - var catSubUl = $(this).next().next('.menu-mobile'); - if (catSubUl.is(':hidden')) - { - catSubUl.slideDown(); - $(this).addClass('active'); - } - else - { - catSubUl.slideUp(); - $(this).removeClass('active'); - } - return false; - }); - - - $('#block_top_menu > ul:first > li > a').on('click', function(e){ - var parentOffset = $(this).prev().offset(); - var relX = parentOffset.left - e.pageX; - if ($(this).parent('li').find('ul').length && relX >= 0 && relX <= 20) - { - e.preventDefault(); - var mobCatSubUl = $(this).next('.menu-mobile'); - var mobMenuGrover = $(this).prev(); - if (mobCatSubUl.is(':hidden')) - { - mobCatSubUl.slideDown(); - mobMenuGrover.addClass('active'); - } - else - { - mobCatSubUl.slideUp(); - mobMenuGrover.removeClass('active'); - } - } - }); - -} - -// change the menu display at different resolutions -function menuChange(status) -{ - status == 'enable' ? mobileInit(): desktopInit(); -} diff --git a/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/hoverIntent.js b/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/hoverIntent.js deleted file mode 100644 index cbe3ae715..000000000 --- a/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/hoverIntent.js +++ /dev/null @@ -1,114 +0,0 @@ -/** - * hoverIntent is similar to jQuery's built-in "hover" method except that - * instead of firing the handlerIn function immediately, hoverIntent checks - * to see if the user's mouse has slowed down (beneath the sensitivity - * threshold) before firing the event. The handlerOut function is only - * called after a matching handlerIn. - * - * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+ - * http://cherne.net/brian/resources/jquery.hoverIntent.html - * - * You may use hoverIntent under the terms of the MIT license. Basically that - * means you are free to use hoverIntent as long as this header is left intact. - * Copyright 2007, 2013 Brian Cherne - * - * // basic usage ... just like .hover() - * .hoverIntent( handlerIn, handlerOut ) - * .hoverIntent( handlerInOut ) - * - * // basic usage ... with event delegation! - * .hoverIntent( handlerIn, handlerOut, selector ) - * .hoverIntent( handlerInOut, selector ) - * - * // using a basic configuration object - * .hoverIntent( config ) - * - * @param handlerIn function OR configuration object - * @param handlerOut function OR selector for delegation OR undefined - * @param selector selector OR undefined - * @author Brian Cherne - **/ -(function($) { - $.fn.hoverIntent = function(handlerIn,handlerOut,selector) { - - // default configuration values - var cfg = { - interval: 100, - sensitivity: 7, - timeout: 0 - }; - - if ( typeof handlerIn === "object" ) { - cfg = $.extend(cfg, handlerIn ); - } else if ($.isFunction(handlerOut)) { - cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } ); - } else { - cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } ); - } - - // instantiate variables - // cX, cY = current X and Y position of mouse, updated by mousemove event - // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval - var cX, cY, pX, pY; - - // A private function for getting mouse position - var track = function(ev) { - cX = ev.pageX; - cY = ev.pageY; - }; - - // A private function for comparing current and previous mouse position - var compare = function(ev,ob) { - ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); - // compare mouse positions to see if they've crossed the threshold - if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) { - $(ob).off("mousemove.hoverIntent",track); - // set hoverIntent state to true (so mouseOut can be called) - ob.hoverIntent_s = 1; - return cfg.over.apply(ob,[ev]); - } else { - // set previous coordinates for next time - pX = cX; pY = cY; - // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) - ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); - } - }; - - // A private function for delaying the mouseOut function - var delay = function(ev,ob) { - ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); - ob.hoverIntent_s = 0; - return cfg.out.apply(ob,[ev]); - }; - - // A private function for handling mouse 'hovering' - var handleHover = function(e) { - // copy objects to be passed into t (required for event object to be passed in IE) - var ev = jQuery.extend({},e); - var ob = this; - - // cancel hoverIntent timer if it exists - if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } - - // if e.type == "mouseenter" - if (e.type == "mouseenter") { - // set "previous" X and Y position based on initial entry point - pX = ev.pageX; pY = ev.pageY; - // update "current" X and Y position based on mousemove - $(ob).on("mousemove.hoverIntent",track); - // start polling interval (self-calling timeout) to compare mouse coordinates over time - if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} - - // else e.type == "mouseleave" - } else { - // unbind expensive mousemove event - $(ob).off("mousemove.hoverIntent",track); - // if hoverIntent state is true, then call the mouseOut function after the specified delay - if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} - } - }; - - // listen for mouseenter and mouseleave - return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector); - }; -})(jQuery); \ No newline at end of file diff --git a/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/index.php b/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/index.php deleted file mode 100644 index 9a99a8662..000000000 --- a/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2017 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; diff --git a/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/superfish-modified.js b/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/superfish-modified.js deleted file mode 100644 index c12ca421b..000000000 --- a/themes/hotel-reservation-theme/js/modules/blocktopmenu/js/superfish-modified.js +++ /dev/null @@ -1,257 +0,0 @@ -/* - * jQuery Superfish Menu Plugin - v1.7.4 - * Copyright (c) 2013 Joel Birch - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - */ - -(function ($) { - "use strict"; - - var methods = (function () { - // private properties and methods go here - var c = { - bcClass: 'sf-breadcrumb', - menuClass: 'sf-js-enabled', - anchorClass: 'sf-with-ul', - menuArrowClass: 'sf-arrows' - }, - ios = (function () { - var ios = /iPhone|iPad|iPod/i.test(navigator.userAgent); - if (ios) { - // iOS clicks only bubble as far as body children - $(window).load(function () { - $('body').children().on('click', $.noop); - }); - } - return ios; - })(), - wp7 = (function () { - var style = document.documentElement.style; - return ('behavior' in style && 'fill' in style && /iemobile/i.test(navigator.userAgent)); - })(), - toggleMenuClasses = function ($menu, o) { - var classes = c.menuClass; - if (o.cssArrows) { - classes += ' ' + c.menuArrowClass; - } - $menu.toggleClass(classes); - }, - setPathToCurrent = function ($menu, o) { - return $menu.find('li.' + o.pathClass).slice(0, o.pathLevels) - .addClass(o.hoverClass + ' ' + c.bcClass) - .filter(function () { - return ($(this).children(o.popUpSelector).hide().show().length); - }).removeClass(o.pathClass); - }, - toggleAnchorClass = function ($li) { - $li.children('a').toggleClass(c.anchorClass); - }, - toggleTouchAction = function ($menu) { - var touchAction = $menu.css('ms-touch-action'); - touchAction = (touchAction === 'pan-y') ? 'auto' : 'pan-y'; - $menu.css('ms-touch-action', touchAction); - }, - applyHandlers = function ($menu, o) { - var targets = 'li:has(' + o.popUpSelector + ')'; - if ($.fn.hoverIntent && !o.disableHI) { - $menu.hoverIntent(over, out, targets); - } - else { - $menu - .on('mouseenter.superfish', targets, over) - .on('mouseleave.superfish', targets, out); - } - var touchevent = 'MSPointerDown.superfish'; - if (!ios) { - touchevent += ' touchend.superfish'; - } - if (wp7) { - touchevent += ' mousedown.superfish'; - } - $menu - .on('focusin.superfish', 'li', over) - .on('focusout.superfish', 'li', out) - .on(touchevent, 'a', o, touchHandler); - }, - touchHandler = function (e) { - var $this = $(this), - $ul = $this.siblings(e.data.popUpSelector); - - if ($ul.length > 0 && $ul.is(':hidden')) { - $this.one('click.superfish', false); - if (e.type === 'MSPointerDown') { - $this.trigger('focus'); - } else { - $.proxy(over, $this.parent('li'))(); - } - } - }, - over = function () { - var $this = $(this), - o = getOptions($this); - clearTimeout(o.sfTimer); - $this.siblings().superfish('hide').end().superfish('show'); - }, - out = function () { - var $this = $(this), - o = getOptions($this); - if (ios) { - $.proxy(close, $this, o)(); - } - else { - clearTimeout(o.sfTimer); - o.sfTimer = setTimeout($.proxy(close, $this, o), o.delay); - } - }, - close = function (o) { - o.retainPath = ($.inArray(this[0], o.$path) > -1); - this.superfish('hide'); - - if (!this.parents('.' + o.hoverClass).length) { - o.onIdle.call(getMenu(this)); - if (o.$path.length) { - $.proxy(over, o.$path)(); - } - } - }, - getMenu = function ($el) { - return $el.closest('.' + c.menuClass); - }, - getOptions = function ($el) { - return getMenu($el).data('sf-options'); - }; - - return { - // public methods - hide: function (instant) { - if (this.length) { - var $this = this, - o = getOptions($this); - if (!o) { - return this; - } - var not = (o.retainPath === true) ? o.$path : '', - $ul = $this.find('li.' + o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector), - speed = o.speedOut; - - if (instant) { - $ul.show(); - speed = 0; - } - o.retainPath = false; - o.onBeforeHide.call($ul); - $ul.stop(true, true).animate(o.animationOut, speed, function () { - var $this = $(this); - o.onHide.call($this); - }); - } - return this; - }, - show: function () { - var o = getOptions(this); - if (!o) { - return this; - } - var $this = this.addClass(o.hoverClass), - $ul = $this.children(o.popUpSelector); - - o.onBeforeShow.call($ul); - $ul.stop(true, true).animate(o.animation, o.speed, function () { - o.onShow.call($ul); - }); - return this; - }, - destroy: function () { - return this.each(function () { - var $this = $(this), - o = $this.data('sf-options'), - $hasPopUp; - if (!o) { - return false; - } - $hasPopUp = $this.find(o.popUpSelector).parent('li'); - clearTimeout(o.sfTimer); - toggleMenuClasses($this, o); - toggleAnchorClass($hasPopUp); - toggleTouchAction($this); - // remove event handlers - $this.off('.superfish').off('.hoverIntent'); - // clear animation's inline display style - $hasPopUp.children(o.popUpSelector).attr('style', function (i, style) { - return style.replace(/display[^;]+;?/g, ''); - }); - // reset 'current' path classes - o.$path.removeClass(o.hoverClass + ' ' + c.bcClass).addClass(o.pathClass); - $this.find('.' + o.hoverClass).removeClass(o.hoverClass); - o.onDestroy.call($this); - $this.removeData('sf-options'); - }); - }, - init: function (op) { - return this.each(function () { - var $this = $(this); - if ($this.data('sf-options')) { - return false; - } - var o = $.extend({}, $.fn.superfish.defaults, op), - $hasPopUp = $this.find(o.popUpSelector).parent('li'); - o.$path = setPathToCurrent($this, o); - - $this.data('sf-options', o); - - toggleMenuClasses($this, o); - toggleAnchorClass($hasPopUp); - toggleTouchAction($this); - applyHandlers($this, o); - - $hasPopUp.not('.' + c.bcClass).superfish('hide', true); - - o.onInit.call(this); - }); - } - }; - })(); - - $.fn.superfish = function (method, args) { - if (methods[method]) { - return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); - } - else if (typeof method === 'object' || ! method) { - return methods.init.apply(this, arguments); - } - else { - return $.error('Method ' + method + ' does not exist on jQuery.fn.superfish'); - } - }; - - $.fn.superfish.defaults = { - popUpSelector: 'ul,.sf-mega', // within menu context - hoverClass: 'sfHover', - pathClass: 'overrideThisToUse', - pathLevels: 1, - delay: 800, - animation: {opacity: 'show'}, - animationOut: {opacity: 'hide'}, - speed: 'normal', - speedOut: 'fast', - cssArrows: true, - disableHI: false, - onInit: $.noop, - onBeforeShow: $.noop, - onShow: $.noop, - onBeforeHide: $.noop, - onHide: $.noop, - onIdle: $.noop, - onDestroy: $.noop - }; - - // soon to be deprecated - $.fn.extend({ - hideSuperfishUl: methods.hide, - showSuperfishUl: methods.show - }); - -})(jQuery); \ No newline at end of file diff --git a/themes/hotel-reservation-theme/modules/blocktopmenu/blocktopmenu.tpl b/themes/hotel-reservation-theme/modules/blocktopmenu/blocktopmenu.tpl deleted file mode 100644 index 38a58e187..000000000 --- a/themes/hotel-reservation-theme/modules/blocktopmenu/blocktopmenu.tpl +++ /dev/null @@ -1,22 +0,0 @@ -{if $MENU != ''} - -
    -
    {l s="Menu" mod="blocktopmenu"}
    - -
    - -{/if} \ No newline at end of file diff --git a/themes/hotel-reservation-theme/modules/blocktopmenu/index.php b/themes/hotel-reservation-theme/modules/blocktopmenu/index.php deleted file mode 100644 index 9a99a8662..000000000 --- a/themes/hotel-reservation-theme/modules/blocktopmenu/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2017 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit;