public function setMedia() { parent::setMedia(); $this->addCSS(_THEME_CSS_DIR_ . "history.css"); $this->addCSS(_THEME_CSS_DIR_ . "addresses.css"); $this->addJqueryPlugin("scrollTo"); $this->addJS(array(_THEME_JS_DIR_ . "tools.js")); }
public function setMedia() { if (Tools::getValue("ajax") != "true") { parent::setMedia(); $this->addCSS(_THEME_CSS_DIR_ . "history.css"); $this->addCSS(_THEME_CSS_DIR_ . "addresses.css"); } }
public function setMedia() { $zusodetsuhi = "deflang"; parent::setMedia(); ${$zusodetsuhi} = new Language(self::$cookie->id_lang); ${${"GLOBALS"}["toerefshhk"]} = file_exists(_PS_JS_DIR_ . "jquery/ui/jquery.ui.datepicker-" . $deflang->iso_code . ".js") ? $deflang->iso_code : "en"; $this->addJS(array(_PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/sellerbusiness.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/agile_tiny_mce.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/replica/filemanager/plugin.js", _PS_JS_DIR_ . "admin.js", _PS_JS_DIR_ . "jquery/plugins/jquery.typewatch.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.core.min.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.widget.min.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.mouse.min.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.slider.min.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.widget.min.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.datepicker.min.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.datepicker-" . ${${"GLOBALS"}["toerefshhk"]} . ".js", _PS_JS_DIR_ . "jquery/plugins/timepicker/jquery-ui-timepicker-addon.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/AgileStatesManagement.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/replica/themes/default/js/dropdown.js")); if (version_compare(_PS_VERSION_, "1.6.0.12", ">=")) { $this->addJS(array(_PS_JS_DIR_ . "admin/tinymce.inc.js")); } else { $this->addJS(array(_PS_JS_DIR_ . "tinymce.inc.js")); } $this->addCSS(array(_PS_JS_DIR_ . "jquery/ui/themes/base/jquery.ui.theme.css", _PS_JS_DIR_ . "jquery/ui/themes/base/jquery.ui.datepicker.css")); }
public function setMedia() { parent::setMedia(); $deflang = new Language(self::$cookie->id_lang); $isocode = file_exists(_PS_JS_DIR_ . 'jquery/ui/jquery.ui.datepicker-' . $deflang->iso_code . '.js') ? $deflang->iso_code : 'en'; $this->addJqueryUI(array('ui.core', 'ui.widget')); $this->addJS(array(_PS_JS_DIR_ . 'admin.js', _PS_JS_DIR_ . 'tools.js', _PS_JS_DIR_ . 'jquery/ui/jquery.ui.mouse.min.js', _PS_JS_DIR_ . 'jquery/ui/jquery.ui.slider.min.js', _PS_JS_DIR_ . 'jquery/ui/jquery.ui.datepicker.min.js', _PS_JS_DIR_ . 'jquery/ui/jquery.ui.datepicker-' . $isocode . '.js', _PS_JS_DIR_ . 'jquery/ui/jquery.ui.core.min.js', _PS_JS_DIR_ . 'jquery/ui/jquery.ui.widget.min.js', _PS_JS_DIR_ . 'jquery/plugins/jquery.typewatch.js', _PS_JS_DIR_ . 'jquery/plugins/timepicker/jquery-ui-timepicker-addon.js', _PS_JS_DIR_ . 'jquery/plugins/jquery.tablednd.js', _PS_ROOT_DIR_ . '/modules/agilemultipleseller/js/AgileStatesManagement.js', _PS_ROOT_DIR_ . '/modules/agilemultipleseller/js/agile_tiny_mce.js', _PS_ROOT_DIR_ . '/modules/agilemultipleseller/replica/filemanager/plugin.js', _PS_ROOT_DIR_ . '/modules/agilemultipleseller/replica/themes/default/js/dropdown.js')); if (version_compare(_PS_VERSION_, '1.6.0.12', '>=')) { $this->addJS(array(_PS_JS_DIR_ . 'admin/tinymce.inc.js')); } else { $this->addJS(array(_PS_JS_DIR_ . 'tinymce.inc.js')); } $this->addjQueryPlugin(array('tagify', 'fancybox', 'alerts', 'ajaxfileupload')); $this->addCSS(_PS_JS_DIR_ . 'jquery/ui/themes/base/jquery.ui.theme.css', 'all'); $this->addCSS(_PS_JS_DIR_ . 'jquery/ui/themes/base/jquery.ui.slider.css', 'all'); $this->addCSS(_PS_JS_DIR_ . 'jquery/ui/themes/base/jquery.ui.datepicker.css', 'all'); $this->addCSS(_PS_JS_DIR_ . 'jquery/plugins/timepicker/jquery-ui-timepicker-addon.css', 'all'); $this->addCSS(__PS_BASE_URI__ . 'modules/agilemultipleseller/js/treeview-categories/jquery.treeview-categories.css', 'all'); }
public function setMedia() { $xolbggmz = "isocode"; ${"GLOBALS"}["dcbeglrqpnpl"] = "isocode"; parent::setMedia(); ${${"GLOBALS"}["mnlopnzrbbl"]} = new Language(self::$cookie->id_lang); ${${"GLOBALS"}["dcbeglrqpnpl"]} = file_exists(_PS_JS_DIR_ . "jquery/ui/jquery.ui.datepicker-" . $deflang->iso_code . ".js") ? $deflang->iso_code : "en"; $this->addJqueryUI(array("ui.core", "ui.widget")); $this->addJS(array(_PS_JS_DIR_ . "admin.js", _PS_JS_DIR_ . "tools.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.mouse.min.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.slider.min.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.datepicker.min.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.datepicker-" . ${$xolbggmz} . ".js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.core.min.js", _PS_JS_DIR_ . "jquery/ui/jquery.ui.widget.min.js", _PS_JS_DIR_ . "jquery/plugins/jquery.typewatch.js", _PS_JS_DIR_ . "jquery/plugins/timepicker/jquery-ui-timepicker-addon.js", _PS_JS_DIR_ . "jquery/plugins/jquery.tablednd.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/AgileStatesManagement.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/front-categories-tree.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/front-products.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/treeview-categories/jquery.treeview-categories.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/treeview-categories/jquery.treeview-categories.async.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/treeview-categories/jquery.treeview-categories.edit.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/agile_tiny_mce.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/replica/filemanager/plugin.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/replica/themes/default/js/dropdown.js")); if (version_compare(_PS_VERSION_, "1.6.0.12", ">=")) { $this->addJS(array(_PS_JS_DIR_ . "admin/price.js", _PS_JS_DIR_ . "admin/attributes.js", _PS_JS_DIR_ . "admin/tinymce.inc.js")); } else { $this->addJS(array(_PS_JS_DIR_ . "price.js", _PS_JS_DIR_ . "attributesBack.js", _PS_JS_DIR_ . "tinymce.inc.js")); } $this->addjQueryPlugin(array("tagify", "fancybox", "alerts", "ajaxfileupload")); if (Module::isInstalled("agilesellerlistoptions")) { $this->addJS(array(_PS_ROOT_DIR_ . "/modules/agilesellerlistoptions/js/listoptions.js")); } $this->addCSS(_PS_JS_DIR_ . "jquery/ui/themes/base/jquery.ui.theme.css", "all"); $this->addCSS(_PS_JS_DIR_ . "jquery/ui/themes/base/jquery.ui.slider.css", "all"); $this->addCSS(_PS_JS_DIR_ . "jquery/ui/themes/base/jquery.ui.datepicker.css", "all"); $this->addCSS(_PS_JS_DIR_ . "jquery/plugins/timepicker/jquery-ui-timepicker-addon.css", "all"); $this->addCSS(__PS_BASE_URI__ . "modules/agilemultipleseller/js/treeview-categories/jquery.treeview-categories.css", "all"); }