diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 06dcfe350..bb91f96b5 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,80 +1,140 @@ - - (d)oekia - - Alexander Otchenashev - - Benjamin PONGY - - Burhan - - Caleydon Media - - Damien Metzger - - DamienMetzger - - Damon Skelhorn - - Daniel - - David Gasperoni - - DrySs - - DrÿSs' - - François Gaillard - - Gabriel Schwardy - - Gregory Roussac - - Ha!*!*y - - Jonathan Danse - - Krystian Podemski - - Marco Cervellin - - Michel Courtade - - Milow - - Patanock - - Pierre - - PrestaEdit - - Raphaël Malié - - Rémi Gaillard - - Samy Rabih - - Sarah Lorenzini - - Shagshag - - Vincent Augagneur - - Xavier POITAU - - aFolletete - - aKorczak - - aNiassy - - adonis karavokyros - - anat - - bLeveque - - bMancone - - bumbu - - cmouleyre - - dMetzger - - dSevere - - djfm - - fBrignoli - - fSerny - - fram - - gBrunier - - gCharmes - - gPoulain - - gRoussac - - hAitmansour - - ivancasasempere - - jBreux - - jObregon - - jessylenne - - jmCollin - - kpodemski - - lBrieu - - lCherifi - - lLefevre - - mBertholino - - mDeflotte - - mMarinetti - - marcinsz101 - - montes - - nPellicari - - nezenmoins - - oleacorner - - rGaillard - - rMalie - - rMontagne - - root - - sLorenzini - - sThiebaut - - tDidierjean - - vAugagneur - - vChabot - - vKham - - vSchoener - +- adonis karavokyros +- aFolletete +- Agence CINS +- aKorczak +- Alexander Otchenashev +- anat +- Andrew +- aNiassy +- antoniofr +- AntonLejon +- Arnaud Lemercier +- Axome +- Benjamin PONGY +- BigZ +- bLeveque +- bMancone +- bumbu +- Burhan +- Cédric Mouleyre +- Caleydon Media +- cam.lafit +- Captain FLAM +- Captain-FLAM +- ccauw +- ChristopheBoucaut +- cippest +- cmouleyre +- Corentin Delcourt +- Cosmin Hutanu +- Damien Metzger +- DamienMetzger +- Damon Skelhorn +- Daniel +- David Gasperoni +- Davy Rolink +- djfm +- dMetzger +- (d)oekia +- Dragan Skrbic +- DrÿSs' +- dreammeup +- DrySs +- dSevere +- Edouard Gaulué +- emily-d +- Fabio Chelly +- fBrignoli +- fram +- François Gaillard +- fSerny +- Gabriel Schwardy +- gBrunier +- gCharmes +- gPoulain +- Grégoire Bélorgey +- Gregory Roussac +- gRoussac +- Guillaume DELOINCE +- hAitmansour +- Ha!*!*y +- indesign47 +- inem0o +- ivancasasempere +- Jérôme Nadaud +- jBreux +- jeromenadaud +- Jerome Nadaud +- jessylenne +- jmCollin +- jObregon +- Jonathan Danse +- joseantgv +- Kevin Granger +- kpodemski +- Krystian Podemski +- lBrieu +- lCherifi +- ldecoker +- lLefevre +- marcinsz101 +- Marco Cervellin +- Mats Rynge +- MatthieuB +- Maxence +- mBertholino +- mDeflotte +- Michel Courtade +- Milow +- minic studio +- misthero +- mMarinetti +- montes +- nezenmoins +- Nicolas Sorosac +- Nils-Helge Garli Hegvik +- nPellicari +- nturato +- oleacorner +- Otto Nascarella +- Patanock +- PhpMadman +- Pierre +- Piotr Kaczor +- Piotr Moćko +- PrestaEdit +- prestarocket +- pxls +- Rémi Gaillard +- Raphaël Malié +- raulgundin +- rGaillard +- Rimas Kudelis +- rMalie +- rMontagne +- root +- runningz +- Sébastien +- Sébastien Bocahu +- Samy Rabih +- Sarah Lorenzini +- Seb +- Seynaeve +- Shagshag +- sLorenzini +- soware +- Staging +- sThiebaut +- Sylvain WITMEYER +- tDidierjean +- vAugagneur +- vChabot +- Vincent Augagneur +- Vincent Schoener +- Vincent Terenti +- vinvin27 +- vKham +- vSchoener +- Xavier +- Xavier POITAU +- Yoozio diff --git a/README.md b/README.md index 0d1f0df50..f11b82139 100644 --- a/README.md +++ b/README.md @@ -2,47 +2,48 @@ README ====== ![PrestaShop](http://www.prestashop.com/images/banners/general/prestashop_728x90.png "PrestaShop") -PREPARATION +ABOUT -------- -To install PrestaShop, you need a remote web server or on your computer (MAMP), with access to a database like MySQL. -You'll need access to phpMyAdmin to create a database and to indicate the information in the database in the installer. +PrestaShop is a free and open-source e-commerce web application, committed to providing the best shopping cart experience for both merchants and consumers. + + +SERVER CONFIGURATION +-------- + +To install PrestaShop, you need a web server running PHP5 and any flavor of MySQL5 (MySQL, MariaDB, Percona Server...). +You will also need a database administration tool, such as phpMyAdmin, in order to create a database for PrestaShop. +We recommend the Apache or Nginx web servers. + +If your host does not offer PHP5 by default, here are a few [explanations][2] about PHP5 or the .htaccess file for certain hosting services (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc). + +If you want your online store ready to go, visit [http://www.prestabox.com][1]: it lets you create your online store in less than 10 minutes without any technical knowledge. -If you do not host and unable to create your store, we offer a turnkey store, which lets you create your online store in less than 10 minutes without any technical knowledge. -We invite you to visit: [http://www.prestabox.com][1] INSTALLATION -------- -Simply go to your PrestaShop web directory and use installer :-) +With your web browser, go to the root of your PrestaShop directory, and the installer will start. Follow the instructions until PrestaShop is installed. -If you have any PHP error, perhaps you don't have PHP5 or you need to activate it on your web host. -Please go to our forum to find pre-installation settings (PHP 5, htaccess) for certain hosting services (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc). +If you have any PHP error, perhaps you don't have PHP5 or you need to activate it on your web host. See the page linked above. +If you don't find any solution to start the installer, please post on [the PrestaShop forums][3]. -English webhost [specifics settings][2] - - -If you don't find any solution to launch installer, please post on [our forum][3] - - -There are always solutions for your issues ;-) DOCUMENTATION -------- -For any extra documentation (how-to), please read our [Online documentation][4] +The official PrestaShop documentation is available online [on its own website][4]. FORUMS -------- -You can also discuss, help and contribute with PrestaShop community on [our forums][5] +You can discuss, help and contribute with PrestaShop community on [the PrestaShop forums][5]. - -Thanks for downloading and using PrestaShop e-commerce Open-source solution! +Thank you for downloading and using PrestaShop e-commerce Open-source solution! [1]: http://www.prestabox.com [2]: http://www.prestashop.com/forums/topic/2946-pre-installation-settings-php-5-htaccess-for-certain-hosting-services/ [3]: http://www.prestashop.com/forums/forum/7-installing-prestashop/ [4]: http://doc.prestashop.com -[5]: http://www.prestashop.com/forums/ \ No newline at end of file +[5]: http://www.prestashop.com/forums/ diff --git a/admin-dev/ajax.php b/admin-dev/ajax.php index a8f1f3e28..332cd394d 100644 --- a/admin-dev/ajax.php +++ b/admin-dev/ajax.php @@ -26,45 +26,12 @@ define('_PS_ADMIN_DIR_', getcwd()); include(_PS_ADMIN_DIR_.'/../config/config.inc.php'); + /* Getting cookie or logout */ require_once(_PS_ADMIN_DIR_.'/init.php'); $context = Context::getContext(); -if (Tools::isSubmit('changeParentUrl')) - echo ''; -if (Tools::isSubmit('installBoughtModule')) -{ - $file = false; - while ($file === false OR file_exists(_PS_MODULE_DIR_.$file)) - $file = uniqid(); - $file = _PS_MODULE_DIR_.$file.'.zip'; - $sourceFile = 'http://addons.prestashop.com/iframe/getboughtfile.php?id_order_detail='.Tools::getValue('id_order_detail').'&token='.Tools::getValue('token'); - if (!copy($sourceFile, $file)) - { - if (!($content = file_get_contents($sourceFile))) - die(displayJavascriptAlert('Access denied: Please download your module directly from PrestaShop Addons website')); - elseif (!file_put_contents($file, $content)) - die(displayJavascriptAlert('Local error: your module directory is not writable')); - } - $first6 = fread($fd = fopen($file, 'r'), 6); - if (!strncmp($first6, 'Error:', 6)) - { - $displayJavascriptAlert = displayJavascriptAlert(fread($fd, 1024)); - fclose($fd); - unlink($file); - die($displayJavascriptAlert); - } - fclose($fd); - if (!Tools::ZipExtract($file, _PS_MODULE_DIR_)) - { - unlink($file); - die(displayJavascriptAlert('Cannot unzip file')); - } - unlink($file); - die(displayJavascriptAlert('Module copied to disk')); -} - if (Tools::isSubmit('ajaxReferrers')) { require(_PS_CONTROLLER_DIR_.'admin/AdminReferrersController.php'); @@ -101,39 +68,6 @@ if (Tools::isSubmit('ajaxProductPackItems')) die('['.implode(',', $jsonArray).']'); } -if (Tools::isSubmit('ajaxStates') AND Tools::isSubmit('id_country')) -{ - $states = Db::getInstance()->executeS(' - SELECT s.id_state, s.name - FROM '._DB_PREFIX_.'state s - LEFT JOIN '._DB_PREFIX_.'country c ON (s.`id_country` = c.`id_country`) - WHERE s.id_country = '.(int)(Tools::getValue('id_country')).' AND s.active = 1 AND c.`contains_states` = 1 - ORDER BY s.`name` ASC'); - - if (is_array($states) AND !empty($states)) - { - $list = ''; - if (Tools::getValue('no_empty') != true) - { - $empty_value = (Tools::isSubmit('empty_value')) ? Tools::getValue('empty_value') : '----------'; - $list = ''."\n"; - } - - foreach ($states AS $state) - $list .= ''."\n"; - } - else - $list = 'false'; - - die($list); -} - -if (Tools::getValue('form_language_id')) -{ - if (!($context->cookie->employee_form_lang = (int)(Tools::getValue('form_language_id')))) - die ('Error while updating cookie.'); - die ('Form language updated.'); -} if (Tools::isSubmit('submitTrackClickOnHelp')) { @@ -191,17 +125,6 @@ if (Tools::isSubmit('getParentCategoriesId') && $id_category = Tools::getValue(' die(Tools::jsonEncode($output)); } -/* Update attribute */ -if (Tools::isSubmit('ajaxUpdateTaxRule')) -{ - $id_tax_rule = Tools::getValue('id_tax_rule'); - $tax_rules = new TaxRule((int)$id_tax_rule); - $output = array(); - foreach ($tax_rules as $key => $result) - $output[$key] = $result; - die(Tools::jsonEncode($output)); -} - if (Tools::isSubmit('getZones')) { $zones = Zone::getZones(); @@ -214,8 +137,3 @@ if (Tools::isSubmit('getZones')) $array = array('hasError' => false, 'errors' => '', 'data' => $html); die(Tools::jsonEncode($html)); } - -function displayJavascriptAlert($s) -{ - echo ''; -} diff --git a/admin-dev/themes/default/css/backward/admin.css b/admin-dev/themes/default/css/backward/admin.css index b33bb4fe1..a40b7e237 100644 --- a/admin-dev/themes/default/css/backward/admin.css +++ b/admin-dev/themes/default/css/backward/admin.css @@ -1,1602 +1,677 @@ -#nobootstrap body { - font-family: Arial, Helvetica, sans-serif; } -#nobootstrap h1, #nobootstrap h2, #nobootstrap h3, #nobootstrap h4 { - font-family: Arial, Helvetica, sans-serif; - margin-bottom: .5em; - line-height: 1.4em; } -#nobootstrap h2 { - font-size: 1.7em; } -#nobootstrap h3 { - font-size: 1.25em; } -#nobootstrap h4 { - font-size: 1.05em; } -#nobootstrap h6 { - font-size: 1em; } -#nobootstrap ul, #nobootstrap ol { - list-style: none; - margin: 0; - padding: 0; } -#nobootstrap ul li { - color: #585A69; } -#nobootstrap label { - color: #585a69; - text-shadow: 0 1px 0 white; } -#nobootstrap fieldset { - background-color: #EBEDF4; - border: 1px solid #CCCED7; - color: #585A69; - font-size: 1.1em; - margin: 0; - padding: 1em; } -#nobootstrap .Bloc { - background-color: #EBEDF4; - border: 1px solid #CCCED7; - font-size: 1.1em; - margin: 0; - padding: 1em; } -#nobootstrap legend { - background: #EBEDF4; - border: 1px solid #CCCED7; - font-weight: 700; - margin: 0; - padding: .2em .5em; - text-align: left; } -#nobootstrap input[type="text"], #nobootstrap input[type="password"], #nobootstrap input[type="file"], #nobootstrap textarea { - border: 1px solid #ccc; - background-color: #fff; } -#nobootstrap input[type="text"]:disabled, #nobootstrap input[type="password"]:disabled, #nobootstrap input[type="file"]:disabled, #nobootstrap textarea:disabled { - border: 1px solid #ccc; - background-color: #dedede; - color: #444444; } -#nobootstrap select { - border: 1px solid #ccc; - font-size: 12px; } -#nobootstrap select[disabled="disabled"], #nobootstrap input[disabled="disabled"], #nobootstrap textarea[disabled="disabled"], #nobootstrap option[disabled="disabled"] { - border: 1px solid #CCCCCC; - color: #AAAAAA; } -#nobootstrap .header_module { - background: url("../img/header_module.png"); - padding-left: 0.5em; - padding-top: 0.8em; - height: 20px; - color: #812143; - border: solid 1px #CCC; } -#nobootstrap .double_select select { - width: 300px; - height: 160px; } -#nobootstrap .double_select a { - text-align: center; - display: block; - border: 1px solid #aaa; - text-decoration: none; - background-color: #fafafa; - color: #123456; - margin: 2px; - padding: 2px; } -#nobootstrap .icon { - vertical-align: middle; } -#nobootstrap .icon-top { - vertical-align: top; } -#nobootstrap .button { - background: #e3e3e3 url("../img/bg-button-degrade.png") repeat-x scroll left top; - background: -moz-linear-gradient(center top, #f9f9f9, #e3e3e3) repeat scroll 0 0 transparent; - background: -webkit-gradient(linear, center top, center bottom, from(#f9f9f9), to(#e3e3e3)) repeat scroll 0 0 transparent; - border-color: #CCCCCC #BBBBBB #A0A0A0; - border-left: 1px solid #BBBBBB; - border-radius: 3px 3px 3px 3px; - border-right: 1px solid #BBBBBB; - border-style: solid; - border-width: 1px; - color: #000000; - margin: 0; - outline: medium none; - padding: 3px 8px; - text-align: center; - vertical-align: middle; - white-space: nowrap; - text-shadow: 0 1px 0 #fff; } -#nobootstrap .button[disabled=disabled] { - color: #8C8C8C; } -#nobootstrap .button.bt-icon { - display: inline-block; - margin-bottom: 7px; } -#nobootstrap .button.bt-icon span { - padding-left: 5px; } -#nobootstrap input.button[disabled=disabled]:hover { - background-color: #FFF6D3; } -#nobootstrap .button:hover { - border: 1px solid #939393; } -#nobootstrap .button:active { - border: 1px solid #939393; } -#nobootstrap .button.export-csv span { - background: transparent url("../img/export-csv.png") no-repeat scroll left top; - padding: 1px 0 1px 20px; } -#nobootstrap #top_container { - margin: 0; - padding: 0; } -#nobootstrap #header { - background-color: #394049; - height: 90px; } -@media screen and (orientation: portrait) { - #nobootstrap #header { - min-width: 1250px; } } -@media screen and (orientation: landscape) { - #nobootstrap #header { - min-width: 1250px; } } -#nobootstrap #header #header_infos { - position: relative; - margin: 0; - padding: 0; - height: 60px; } -#nobootstrap #header #header_shopname { - float: left; - margin: 10px 15px 0 10px; } -#nobootstrap #header #employee_box { - float: right; - display: block; } -#nobootstrap #header #employee_infos { - display: block; - margin: 5px 15px 0 10px; } -#nobootstrap #header #employee_infos a { - color: #BABABA; - text-transform: capitalize; - margin-right: 5px; } -#nobootstrap #header #employee_infos a:hover { - color: #fff; } -#nobootstrap #header #employee_infos .employee_name { - float: left; - color: #fff; - padding: 0 20px 0 0; } -#nobootstrap #header .separator { - background: transparent url("../img/separator.png") no-repeat scroll center top; - height: 19px; - width: 16px; - margin-right: 5px; } -#nobootstrap #header ul#employee_links { - list-style: none; - display: block; - text-align: left; } -#nobootstrap #header ul#employee_links li { - display: inline; - line-height: 20px; } -#nobootstrap #header #header_infos #header_shopname span { - display: block; - font-size: 24px; - height: 28px; - overflow: hidden; - margin: 0; - color: #fff; - text-shadow: 0 1px 0 #000000; } -#nobootstrap #header #header_infos a#header_logout { - background: transparent url("../img/logout.png") no-repeat scroll left top; - padding-left: 20px; - color: #bababa; } -#nobootstrap #header #header_infos a#header_logout:hover { - color: #fff; } -#nobootstrap #header #header_infos #header_logout a span { - color: #bababa; } -#nobootstrap #header #header_infos #header_foaccess { - text-decoration: none; - color: #bababa; } -#nobootstrap #header #header_infos #header_foaccess a { - color: #bababa !important; } -#nobootstrap #header #header_infos a#header_foaccess:hover { - color: #fff; } -#nobootstrap #header #header_search { - background-color: #fff; - border: 2px solid #000; - float: left; - margin-top: 15px; - position: relative; - height: 25px; - box-shadow: 0 1px 0 #666666; } -#nobootstrap #header #header_search #bo_query { - font: 13px Arial,sans-serif; - float: left; - background: none repeat scroll 0 0 transparent; - border: none; - box-shadow: none; - padding: 5px 0px 5px 4px; - width: 160px; } -#nobootstrap #header #header_search #bo_search_type_chzn { - font-size: 13px; - float: left; - margin: 0 23px 0 0; - padding: 0 4px; - vertical-align: middle; - width: 80px !important; - height: 27px; - border: none; } -#nobootstrap #header #header_search #bo_search_type_chzn.chzn-container-single .chzn-single { - box-shadow: none; - border-radius: 0px; - border: none; - border-left: 1px dotted #ccc; } -#nobootstrap #header #header_search #bo_search_submit { - background: url("../img/icon-search2.png") no-repeat scroll center; - border: none; - width: 27px; - height: 25px; - float: left; - font-weight: normal; - margin: 0; - padding: 0; - cursor: pointer; - text-indent: -9999em; - position: absolute; - right: 0; - display: block; - border-left: 1px solid #3079ED; - border-radius: 0px; } -#nobootstrap #header #header_quick { - float: right; - display: block; - margin-top: 15px; } -#nobootstrap #header #header_quick #quick_select_chzn { - font-size: 13px; - margin: 0 10px 0 0; - padding: 0px 0 4px; } -#nobootstrap #header #header_myaccount { - background: url("../img/bg-lang.png") no-repeat; - display: block; - float: right; - height: 16px; - margin: 8px 1px 0 0; - width: 16px; } -#nobootstrap .path_bar { - display: none; } -#nobootstrap #notifs_icon_wrapper { - float: left; - position: relative; - margin: 15px 10px 0; - width: 95px; } -#nobootstrap .notifs { - float: left; - position: relative; - cursor: pointer; - margin: 0; - padding: 5px; - width: 18px; - height: 16px; } -#nobootstrap #orders_notif { - background: url("../img/notif_order.png") no-repeat center top; } -#nobootstrap #customers_notif { - background: url("../img/notif_customer.png") no-repeat center top; } -#nobootstrap #customer_messages_notif { - background: url("../img/notif_message.png") no-repeat center top; } -#nobootstrap #orders_notif.open_notifs, -#nobootstrap #customers_notif.open_notifs, -#nobootstrap #customer_messages_notif.open_notifs { - background-color: #FFFFFF; - border: 1px solid #000000; - position: relative; - display: block; - background-position: center bottom; } -#nobootstrap .number_wrapper { - color: white; - display: none; - font-size: 13px; - font-weight: bold; - position: absolute; - right: -8px; - top: -10px; - z-index: 101; - padding: 2px 5px; } -#nobootstrap .number_wrapper span { - background-color: #F03D25; - font-size: 11px; - display: block; - padding: 1px 3px; - border-color: -moz-use-text-color #DD3822 #DD3822; - border-radius: 2px 2px 2px 2px; - border-right: 1px solid #DD3822; - border-style: none solid solid; - border-width: 0 0px; } -#nobootstrap .notifs_wrapper { - background: none repeat scroll 0 0 #FFFFFF; - border: 1px solid #000; - border-top: none; - display: none; - cursor: auto; - position: absolute; - top: 25px; - left: -1px; - width: 300px; - padding: 10px; - color: black; - z-index: 9999; } -#nobootstrap .notifs_wrapper h3 { - font-size: 14px; - padding-bottom: 8px; - margin: 0; - border-bottom: 1px solid #E5E5E5; } -#nobootstrap .notifs_wrapper ul { - padding: 6px 0; - margin: 0; } -#nobootstrap .notifs_wrapper ul li { - text-decoration: none; - list-style: none; - font-size: 12px; - padding: 5px 0; } -#nobootstrap #header_infos .notifs_wrapper a { - font-weight: bold; - font-size: 11px; - color: black; - float: right; } -#nobootstrap .notifs_wrapper p { - font-size: 12px; - padding-top: 8px; - margin: 0; - border-top: 1px solid #E5E5E5; } -#nobootstrap .notifs_wrapper p.no_notifs { - border: none; } -#nobootstrap #header #menu { - background-color: #f8f8f8; - border-bottom: 1px solid #e5e5e5; - float: left; - line-height: normal; - margin: 0; - padding: 0; - width: 100%; } -#nobootstrap #header #menu li.maintab { - float: left; - height: 29px; - list-style: none; - list-style: none; - display: block; - border-left: 1px solid #fff; - border-right: 1px solid #ccc; } -#nobootstrap #header #menu li.submenu_size .title { - cursor: default; - color: #000; - display: block; - padding: 8px 3px 4px 0; - font-weight: normal; - font-size: 12px; } -#nobootstrap #header #menu li.submenu_size .title { - _display: inline; - _padding: 6px 5px 4px 0; } -#nobootstrap #header #menu li { - _height: 32px; - _padding-top: 3px; } -#nobootstrap #header #menu img { - display: inline; - padding: 0 3px 0 6px; - margin-top: -4px; - vertical-align: middle; - width: 16px; - height: 16px; } -#nobootstrap #header #menu li.active, #nobootstrap #header #menu li:hover { - background-position: 0 -38px; - white-space: nowrap; } -#nobootstrap #header #menu li:hover, #nobootstrap #header #menu li.active { - background-color: #49B2FF; } -#nobootstrap #header #menu li.maintab:hover, #nobootstrap #header #menu li.active { - border-left: 1px solid #49B2FF; - border-right: 1px solid #49B2FF; } -#nobootstrap #header #menu li.active a.title, #nobootstrap #header #menu li:hover a.title { - color: #fff; - text-shadow: -1px -1px 0 #3293D6; } -#nobootstrap #header #menu .withLeftBorder { - background: transparent url("../img/separator_subnav.png") no-repeat 0 5px; } -#nobootstrap #header #menu .submenu { - background: #f8f8f8; - clear: both; - margin: 0; - padding: 0; - border: 1px solid #d9d9d9; - z-index: 9999; - box-shadow: 1px 5px 5px #CCCCCC; - -moz-box-shadow: 1px 5px 10px #CCCCCC; - -webkit-box-shadow: 1px 5px 10px #CCCCCC; } -#nobootstrap #header #menu .submenu li { - list-style: none; - margin: 0; - padding: 0; - display: block; - min-width: 150px; } -#nobootstrap #header #menu .submenu li a { - font-size: 12px; - display: block; - padding: 5px 15px 5px 10px; - color: #666666; - border-top: 1px solid #fff; - border-bottom: 1px solid #ccc; } -#nobootstrap #header #menu .submenu li a:hover { - background-color: #eee; - text-shadow: 0 1px 0 #fff; } -#nobootstrap #header #menu .submenu li.active a { - color: #fff; } -#nobootstrap #header #menu .submenu li.active a:hover { - color: #666666; } -#nobootstrap .separation { - background-color: #ccc; - border-bottom: 1px solid #fff; - width: 100%; - height: 1px; - margin: 10px 0; } -#nobootstrap .table_grid { - width: 100%; } -#nobootstrap .table { - background-color: #fff; - border: 1px solid #ccc; - padding: 0; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; } -#nobootstrap .filter { - background-color: #f1f9ff; } -#nobootstrap .table .filter { - margin: 2px; } -#nobootstrap .table th a { - text-decoration: underline; } -#nobootstrap .table a:hover { - text-decoration: none; } -#nobootstrap .table tr th { - background-color: #F1F1F1; - text-shadow: 0 1px 0 #fff; - padding: 4px 6px; - background: #ececec url("../img/bg-degrade-table.png") repeat-x scroll left top; - background-image: -moz-linear-gradient(center top, #f9f9f9, #ececec); - background: -webkit-gradient(linear, center top, center bottom, from(#f9f9f9), to(#ececec)) repeat scroll 0 0 transparent; - font-size: 13px; - text-align: left; - color: #333; } -#nobootstrap .table tr th.right { - text-align: center; } -#nobootstrap .table tr td { - border-bottom: 1px solid #ccc; - color: #333; - font-size: 12px; - padding: 4px 4px 4px 6px; } -#nobootstrap .table tr.row_hover:hover td { - background: #fff1b5; } -#nobootstrap .table tr.row_hover.filter:hover td { - background: #F1F9FF; } -#nobootstrap .table tr td.row_hover:hover table tr td { - background: none; } -#nobootstrap .table tr.action_details td { - background: #FAFAFA; } -#nobootstrap .table tr.alt_row.action_details td { - background: #E8E8E8; } -#nobootstrap .table tr td.empty { - border-bottom: none; - background: white !important; } -#nobootstrap .table tr td.first { - border-left: 1px solid #DEDEDE; } -#nobootstrap .table tr td.last { - border-right: 1px solid #DEDEDE; } -#nobootstrap .table tr.small td { - height: 15px; } -#nobootstrap .table tr.last td { - border-bottom: none; } -#nobootstrap .col-left { - vertical-align: top; - padding-right: 10px; } -#nobootstrap .col-right { - padding-bottom: 5px; } -#nobootstrap #tabPane1 td.col-left { - width: 200px; } -#nobootstrap #product-tab-content-wait { - display: block; - background: url("../img/bg_loaderSpace.png"); - min-height: 420px; - position: absolute; - width: 96.5%; } -#nobootstrap div#loading { - height: 128px; - width: 128px; - background: url("../img/ajax-loader.gif"); - display: block; - text-indent: -9999px; - margin: 100px auto; } -#nobootstrap td.col-left label { - display: block; - width: 100%; - text-align: right; } -#nobootstrap .alt_row { - background-color: #f8f8f8; } -#nobootstrap .path_bar { - background-color: #E2EBEE; - border: 1px solid #999999; - font-family: Trebuchet,Arial,Helvetica,sans-serif; - font-size: 13px; - margin-bottom: 20px; - padding: 5px; } -#nobootstrap .path_bar a { - font-weight: 700; } -#nobootstrap .cat_bar { - background-color: #F4E8CD; - border: 1px solid #999999; - font-family: Trebuchet,Arial,Helvetica,sans-serif; - font-size: 12px; - font-weight: 700; - margin-bottom: 20px; - padding: 5px; } -#nobootstrap .cat_bar a { - font-weight: 700; } -#nobootstrap .table tr#total_products, -#nobootstrap .table tr#total_discounts, -#nobootstrap .table tr#total_wrapping, -#nobootstrap .table tr#total_shipping { - height: 35px; } -#nobootstrap .table tr#total_order { - height: 50px; } -#nobootstrap a.action_module { - color: #268CCD; - text-decoration: underline; } -#nobootstrap a.header_module_toggle { - font-weight: bold; - color: #268CCD; - display: block; } -#nobootstrap a.module_toggle_all { - color: #268CCD; } -#nobootstrap .nbr_module { - float: right; - margin-right: 10px; - font-style: italic; - font-size: 12px; - color: #268CCD; } -#nobootstrap .autoupgradeSteps div { - line-height: 30px; } -#nobootstrap .upgradestep { - margin-right: 5px; - padding-left: 10px; - padding-right: 5px; } -#nobootstrap #upgradeNow.stepok, #nobootstrap .autoupgradeSteps a.stepok { - background-image: url("../img/admin/enabled.gif"); - background-position: left center; - background-repeat: no-repeat; - padding-left: 15px; } -#nobootstrap #upgradeNow { - -moz-border-bottom-colors: none; - -moz-border-image: none; - -moz-border-left-colors: none; - -moz-border-right-colors: none; - -moz-border-top-colors: none; - border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3; - border-right: 1px solid #DFD5AF; - border-style: solid; - border-width: 1px; - color: #268CCD; - font-size: medium; - padding: 5px; } -#nobootstrap .button-autoupgrade { - -moz-border-bottom-colors: none; - -moz-border-image: none; - -moz-border-left-colors: none; - -moz-border-right-colors: none; - -moz-border-top-colors: none; - border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3; - border-right: 1px solid #DFD5AF; - border-style: solid; - border-width: 1px; - color: #268CCD; - font-size: medium; - padding: 5px; } -#nobootstrap .processing { - overflow: auto; } -#nobootstrap .ui-accordion-header { - background-color: #ccc; - color: #000; } -#nobootstrap .Bloc { - background: none repeat scroll 0 0 #EBEDF4; } -#nobootstrap .table td span.color_field { - font-size: 11px; - padding: 2px 5px; - border-radius: 3px; - text-transform: uppercase; - color: #fff; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; } -#nobootstrap .multishop_toolbar { - background-color: #F8F8F8; - border: 1px solid #CCCCCC; - margin-bottom: 10px; - padding: 10px; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - font-size: 18px; } -#nobootstrap .multishop_toolbar span.text_multishop { - vertical-align: 7px; - padding-right: 5px; } -#nobootstrap .multishop_toolbar select.shopList { - width: 300px; } -#nobootstrap .multishop_toolbar a.chzn-single { - background: url("../img/icon-multishop.png") no-repeat 5px 5px; - padding: 1px 2px 2px 25px; - font-weight: bold; } -#nobootstrap .multishop_toolbar .chzn-container .chzn-results .first { - font-weight: bold; - background-color: #408BD5; - color: #ffffff; } -#nobootstrap .multishop_toolbar .chzn-container .chzn-results .group { - font-weight: bold; - font-style: italic; - padding-left: 15px; - background-color: #C6DEFC; } -#nobootstrap .multishop_toolbar .chzn-container .chzn-results .shop { - padding-left: 30px; - background-color: #EAF2FC; } -#nobootstrap .toolbar-placeholder { - position: relative; } -#nobootstrap .toolbarBox { - background-color: #F8F8F8; - border: 1px solid #CCCCCC; - margin-bottom: 10px; - padding: 5px 0; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -o-border-radius: 3px; - position: relative; } -#nobootstrap .toolbarBox .pageTitle { - margin-left: 10px; - line-height: 48px; } -#nobootstrap .toolbarBox .pageTitle h3 { - font-size: 1.6em; - font-weight: normal; - line-height: 52px; - margin: 0; - padding: 0; - text-shadow: 0 1px 0 #fff; } -#nobootstrap .toolbarBox ul.cc_button { - float: right; - margin: 0 5px 0 0; - padding: 0; } -#nobootstrap .toolbarBox ul.cc_button li { - color: #666666; - float: left; - height: 48px; - list-style: none outside none; - padding: 1px 1px 3px 4px; - text-align: center; } -#nobootstrap .toolbarBox a.toolbar_btn { - border: 1px solid #f8f8f8; - min-width: 50px; - border-width: 1px; - font-size: 11px; - cursor: pointer; - display: block; - float: left; - padding: 3px 5px; - white-space: nowrap; - text-shadow: 0 1px 0 #ffffff; } -#nobootstrap .toolbarBox a.toolbar_btn:hover { - background-color: #fff; - border: 1px inset #ccc; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -o-border-radius: 3px; } -#nobootstrap .toolbarBox .toolbar_btn span { - display: block; - float: none; - height: 32px; - margin: 0 auto; - width: 32px; } -#nobootstrap .toolbarBox .process-icon-delete { - background-image: url("../img/process-icon-delete.png"); } -#nobootstrap .toolbarBox .process-icon-duplicate { - background-image: url("../img/process-icon-duplicate.png"); } -#nobootstrap .toolbarBox .process-icon-preview { - background-image: url("../img/process-icon-preview.png"); } -#nobootstrap .toolbarBox .process-icon-stats { - background-image: url("../img/process-icon-stats.png"); } -#nobootstrap .toolbarBox .process-icon-cancel, #nobootstrap .toolbarBox .toolbar-cancel { - background-image: url("../img/process-icon-cancel.png"); } -#nobootstrap .toolbarBox .process-icon-new, #nobootstrap .toolbarBox .toolbar-new { - background-image: url("../img/process-icon-new.png"); } -#nobootstrap .toolbarBox .process-icon-save { - background-image: url("../img/process-icon-save.png"); } -#nobootstrap .toolbarBox .process-icon-save-and-stay { - background-image: url("../img/process-icon-save-and-stay.png"); } -#nobootstrap .toolbarBox .process-icon-edit { - background-image: url("../img/process-icon-edit.png"); } -#nobootstrap .toolbarBox .process-icon-back { - background-image: url("../img/process-icon-back.png"); } -#nobootstrap .toolbarBox .process-icon-refresh-index { - background-image: url("../img/process-icon-refresh-index.png"); } -#nobootstrap .toolbarBox .process-icon-refresh-cache { - background-image: url("../img/process-icon-refresh-cache.png"); } -#nobootstrap .toolbarBox .process-icon-save-calendar { - background-image: url("../img/process-icon-save-calendar.png"); } -#nobootstrap .toolbarBox .process-icon-new-module { - background-image: url("../img/process-icon-new-module.png"); } -#nobootstrap .toolbarBox .process-icon-new-url { - background-image: url("../img/process-icon-new-url.png"); } -#nobootstrap .toolbarBox .process-icon-new-module-addon { - background-image: url("../img/process-icon-new-module-addon.png"); } -#nobootstrap .toolbarBox .process-icon-save-and-preview { - background-image: url("../img/process-icon-preview.png"); } -#nobootstrap .toolbarBox .process-icon-import { - background-image: url("../img/process-icon-export-csv.png"); } -#nobootstrap .toolbarBox .process-icon-export { - background-image: url("../img/process-icon-export-csv.png"); } -#nobootstrap .toolbarBox .process-icon-export-all { - background-image: url("../img/process-icon-export-csv-details.png"); } -#nobootstrap .toolbarBox .process-icon-export-stock-state-quantities-csv { - background-image: url("../img/process-icon-export-csv.png"); } -#nobootstrap .toolbarBox .process-icon-export-stock-state-prices-csv { - background-image: url("../img/process-icon-export-csv-details.png"); } -#nobootstrap .toolbarBox .process-icon-export-csv-orders { - background-image: url("../img/process-icon-export-csv.png"); } -#nobootstrap .toolbarBox .process-icon-export-csv-details { - background-image: url("../img/process-icon-export-csv-details.png"); } -#nobootstrap .toolbarBox .process-icon-export-stock-mvt-csv { - background-image: url("../img/process-icon-export-csv.png"); } -#nobootstrap .toolbarBox .process-icon-newAttributes, #nobootstrap .toolbarBox .toolbar-new { - background-image: url("../img/process-icon-new.png"); } -#nobootstrap .toolbarBox .process-icon-new.add_product { - background-image: url("../img/process-icon-addProduct.png"); } -#nobootstrap .toolbarBox .process-icon-partialRefund { - background-image: url("../img/process-icon-partial-refund.png"); } -#nobootstrap .toolbarBox .process-icon-standardRefund { - background-image: url("../img/process-icon-standard-refund.png"); } -#nobootstrap .toolbarBox .process-icon-help { - background-image: url("../img/process-icon-help.png"); } -#nobootstrap .toolbarBox .process-icon-help-new { - background-image: url("../img/process-icon-help-new.png"); } -#nobootstrap .toolbarBox .process-icon-modules-list { - background-image: url("../img/process-icon-modules-list.png"); } -#nobootstrap .toolbarReduced { - margin-right: 221px; } -#nobootstrap #modules_list_button { - width: 211px; - height: 63px; - border: none; - position: absolute; - top: 0; - right: 0; - background-image: url("../img/modules_list_button.png"); - font-size: 1.6em; - cursor: pointer; - padding-left: 45px; } -#nobootstrap .toolbarBox #modules_list_container { - background: none repeat scroll 0 0 #FFF; - border: solid 1px #CCC; - display: block; - float: right; - height: auto; - width: 500px; - position: absolute; - right: 13px; - top: 63px; - z-index: 100; - box-shadow: 1px 5px 5px #CCCCCC; - -moz-box-shadow: 1px 5px 10px #CCCCCC; - -webkit-box-shadow: 1px 5px 10px #CCCCCC; - opacity: 1; } -#nobootstrap .toolbarBox #modules_list_container #modules_list_container_content { - max-height: 500px; - overflow: auto; } -#nobootstrap .toolbarBox #modules_list_container #modules_list_container_tab { - margin-top: 10px; - width: auto; - height: auto; } -#nobootstrap .toolbarBox #modules_list_container #modules_list_container_tab table { - width: 100%; - border-spacing: 0px; } -#nobootstrap .toolbarBox #modules_list_container #modules_list_container_tab tr { - height: auto; } -#nobootstrap .toolbarBox #modules_list_container #modules_list_container_tab tr.rowalt { - background-color: #F0F7FF; } -#nobootstrap .toolbarBox #modules_list_container #modules_list_container_tab #tab_module_switch { - margin-bottom: 10px; } -#nobootstrap .toolbarBox #modules_list_container #modules_list_loader { - margin-top: 10px; } -#nobootstrap .toolbarBox #modules_list_container .nav-tabs-modules:after { - clear: both; } -#nobootstrap .toolbarBox #modules_list_container .nav-tabs-modules > li { - height: 19px; } -#nobootstrap .toolbarBox #modules_list_container .nav-tabs-modules > li > a { +body {font-family: Arial, Helvetica, sans-serif;} + + +h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; margin-bottom:.5em; line-height:1.4em; } +h2 { font-size:1.7em; } +h3 { font-size:1.25em; } +h4 { font-size:1.05em; } +h6 { font-size:1em; } + + +/*LIST*/ +ul,ol {list-style:none; margin: 0; padding: 0;} +ul li {color:#585A69;} + +/*FORM*/ +label {color:#585a69;text-shadow:0 1px 0#fff;} +fieldset{background-color:#EBEDF4; border:1px solid #CCCED7; color:#585A69; font-size:1.1em;margin:0;padding:1em} +.Bloc {background-color:#EBEDF4; border:1px solid #CCCED7;font-size:1.1em;margin:0;padding:1em} +legend{background:#EBEDF4;border:1px solid #CCCED7;font-weight:700;margin:0;padding:.2em .5em;text-align:left} +input[type="text"],input[type="password"],input[type="file"],textarea {border:1px solid #ccc; background-color:#fff;} +input[type="text"]:disabled,input[type="password"]:disabled,input[type="file"]:disabled,textarea:disabled {border:1px solid #ccc; background-color:#dedede; color: #444444;} +select { border:1px solid #ccc; font-size: 12px;} +select[disabled="disabled"], input[disabled="disabled"],textarea[disabled="disabled"], option[disabled="disabled"] {border: 1px solid #CCCCCC;color: #AAAAAA} +.header_module{background:url('../img/header_module.png');padding-left: 0.5em;padding-top: 0.8em;height:20px;color: #812143;border:solid 1px #CCC;} +.double_select select{width:300px;height:160px;} +.double_select a{text-align:center;display:block;border:1px solid #aaa;text-decoration:none;background-color:#fafafa;color:#123456;margin:2px;padding:2px} + +.icon {vertical-align:middle} +.icon-top {vertical-align:top} + +/*BUTTON*/ +.button{ + cursor: pointer; + background: #e3e3e3 url('../img/bg-button-degrade.png') repeat-x scroll left top; + background: -moz-linear-gradient(center top , #F9F9F9, #E3E3E3) repeat scroll 0 0 transparent; + background: -webkit-gradient(linear, center top ,center bottom, from(#F9F9F9), to(#E3E3E3)) repeat scroll 0 0 transparent; + border-color: #CCCCCC #BBBBBB #A0A0A0;border-left: 1px solid #BBBBBB;border-radius: 3px 3px 3px 3px;border-right: 1px solid #BBBBBB;border-style: solid;border-width: 1px;color: #000000;margin: 0;outline: medium none;padding: 3px 8px;text-align: center;vertical-align: middle;white-space: nowrap; text-shadow:0 1px 0 #fff;} +.button[disabled=disabled]{color:#8C8C8C} +.button.bt-icon { display:inline-block; margin-bottom:7px;} +.button.bt-icon span {padding-left:5px;} +input.button[disabled=disabled]:hover{background-color:#FFF6D3} +.button:hover{border:1px solid #939393;} +.button:active{border:1px solid #939393;} +.button.export-csv span{ background: transparent url('../img/export-csv.png') no-repeat scroll left top; padding:1px 0 1px 20px} + + +#top_container{margin:0;padding:0} + +/*HEADER*/ +#header { background-color: #394049; height:90px; } +/* Portrait orientation targeting */ +@media screen and (orientation: portrait) {#header{min-width:1250px}} +/* Portrait orientation targeting */ +@media screen and (orientation: landscape) {#header{min-width:1250px}} +#header #header_infos{ position:relative; margin: 0; padding:0; height:60px; } +#header #header_shopname {float: left; margin:10px 15px 0 10px;} +#header #employee_box {float: right; display:block;} +#header #employee_infos {display:block; margin:5px 15px 0 10px;} +#header #employee_infos a{color:#BABABA; text-transform:capitalize;margin-right: 5px} +#header #employee_infos a:hover {color:#fff;} +#header #employee_infos .employee_name { float:left; color:#fff;padding: 0 20px 0 0;} +#header .separator { background: transparent url('../img/separator.png') no-repeat scroll center top;height: 19px; width: 16px; margin-right: 5px} +#header ul#employee_links {list-style: none;display: block;text-align: left;} +#header ul#employee_links li {display: inline;line-height: 20px;} + +#header #header_infos #header_shopname span{display:block; font-size:24px; height:28px; overflow:hidden;margin:0; color:#fff; text-shadow: 0 1px 0 #000000;} +#header #header_infos a#header_logout { background: transparent url('../img/logout.png') no-repeat scroll left top; padding-left:20px; color:#bababa;} +#header #header_infos a#header_logout:hover {color:#fff;} +#header #header_infos #header_logout a span {color:#bababa} +#header #header_infos #header_foaccess{ text-decoration:none; color:#bababa;} +#header #header_infos #header_foaccess a {color:#bababa !important;} +#header #header_infos a#header_foaccess:hover { color:#fff;} + + + +#header #header_search{ background-color:#fff; border:2px solid #000; float:left; margin-top:15px; position:relative; height:25px; box-shadow: 0 1px 0 #666666; } +#header #header_search #bo_query{ font: 13px Arial,sans-serif; float:left;background: none repeat scroll 0 0 transparent; border:none; box-shadow:none; padding: 5px 0px 5px 4px; width: 160px; } +#header #header_search #bo_search_type_chzn{ font-size:13px; float:left; margin:0 23px 0 0; padding:0 4px; vertical-align:middle;width:80px !important;height:27px; border:none;} +#header #header_search #bo_search_type_chzn.chzn-container-single .chzn-single { box-shadow:none; border-radius:0px; border:none; border-left:1px dotted #ccc;} +#header #header_search #bo_search_submit { background: url('../img/icon-search2.png') no-repeat scroll center; border:none; width:27px; height:25px; float:left; font-weight:normal; margin:0; padding:0; cursor:pointer; text-indent:-9999em; position:absolute; right:0; display:block; border-left:1px solid #3079ED; border-radius:0px; /*hacking ie7*/ font-size:0 !ie7; color: transparent !ie;} +#header #header_quick{float:right; display:block; margin-top:15px;} +#header #header_quick #quick_select_chzn{ font-size:13px; margin:0 10px 0 0; padding:0px 0 4px; } +#header #header_myaccount{background:url('../img/bg-lang.png') no-repeat;display:block;float:right;height:16px;margin:8px 1px 0 0;width:16px} + + +.path_bar {display:none;} +#notifs_icon_wrapper {float: left;position: relative;margin:15px 10px 0; width:95px;} +.notifs { float: left;position: relative;cursor: pointer;margin:0; padding:5px; width: 18px;height: 16px;} +#orders_notif {background: url('../img/notif_order.png') no-repeat center top;} +#customers_notif {background: url('../img/notif_customer.png') no-repeat center top;} +#customer_messages_notif {background: url('../img/notif_message.png') no-repeat center top;} +#orders_notif.open_notifs, +#customers_notif.open_notifs, +#customer_messages_notif.open_notifs { background-color: #FFFFFF;border: 1px solid #000000; position: relative; display: block; background-position:center bottom; } + + +.number_wrapper {color: white;display: none;font-size: 13px;font-weight: bold;position: absolute; right: -8px;top: -10px;z-index: 101;padding: 2px 5px;} +.number_wrapper span {background-color: #F03D25; font-size:11px; display: block; padding: 1px 3px;border-color: -moz-use-text-color #DD3822 #DD3822;border-radius: 2px 2px 2px 2px;border-right: 1px solid #DD3822;border-style: none solid solid;border-width: 0 0px;} +.notifs_wrapper {background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #000; border-top:none;display: none; cursor:auto; position: absolute; top: 25px; left: -1px; width:300px; padding: 10px;color: black; z-index:9999;} +.notifs_wrapper h3 {font-size: 14px;padding-bottom:8px;margin:0;border-bottom: 1px solid #E5E5E5;} +.notifs_wrapper ul {padding:6px 0;margin:0;} +.notifs_wrapper ul li {text-decoration: none;list-style: none;font-size:12px;padding:5px 0;} +#header_infos .notifs_wrapper a {font-weight: bold; font-size:11px; color: black; float:right;} +.notifs_wrapper p {font-size: 12px;padding-top:8px;margin:0;border-top: 1px solid #E5E5E5;} +.notifs_wrapper p.no_notifs {border: none;} + + +/*MENU*/ +#header #menu{ background-color: #f8f8f8; border-bottom:1px solid #e5e5e5; float:left;line-height:normal;margin:0;padding:0;width:100%;} +#header #menu li.maintab{float:left;height:29px;list-style:none;list-style:none;display:block; border-left:1px solid #fff; border-right:1px solid #ccc;} +#header #menu li.submenu_size .title{cursor:default;color:#000;display:block; padding:8px 3px 4px 0;font-weight:normal;font-size:12px;} +#header #menu li.submenu_size .title{_display:inline;_padding:6px 5px 4px 0} +#header #menu li{_height:32px;_padding-top:3px} +#header #menu img{display:inline;padding:0 3px 0 6px; margin-top:-4px; vertical-align:middle;width:16px;height:16px} +#header #menu li.active, #header #menu li:hover{background-position:0 -38px;white-space:nowrap;} +#header #menu li.active a{} +#header #menu li:hover, #header #menu li.active {background-color:#49B2FF;} +#header #menu li.maintab:hover, #header #menu li.active {border-left:1px solid #49B2FF;border-right:1px solid #49B2FF;} +#header #menu li.active a.title, #header #menu li:hover a.title {color:#fff; text-shadow: -1px -1px 0 #3293D6;} +#header #menu .withLeftBorder{background:transparent url('../img/separator_subnav.png') no-repeat 0 5px} +#header #menu .submenu{background:#f8f8f8;clear:both;margin:0;padding:0;border:1px solid #d9d9d9;z-index:9999; box-shadow: 1px 5px 5px #CCCCCC; -moz-box-shadow:1px 5px 10px #CCCCCC; -webkit-box-shadow:1px 5px 10px #CCCCCC;} +#header #menu .submenu li{list-style:none;margin:0;padding:0;display:block;min-width:150px;} +#header #menu .submenu li a{ font-size:12px;display:block;padding: 5px 15px 5px 10px; color:#666666;border-top:1px solid #fff; border-bottom:1px solid #ccc;} +#header #menu .submenu li a:hover { background-color:#eee; text-shadow:0 1px 0 #fff;} +#header #menu .submenu li.active a { color: #fff;} +#header #menu .submenu li.active a:hover { color:#666666} + +/*SEPARATION*/ +.separation { background-color:#ccc;border-bottom:1px solid #fff; width:100%; height:1px; margin:10px 0;} + +/*TABLE*/ +.table_grid {width:100%;} +.table{ background-color:#fff;border:1px solid #ccc;padding:0: border-radius:3px; -moz-border-radius:3px;-webkit-border-radius:3px;} +.filter {background-color:#f1f9ff;} +.table .filter {margin:2px;} +.table th a{text-decoration:underline} +.table a:hover{text-decoration:none} +.table tr th{ background-color: #F1F1F1; text-shadow:0 1px 0 #fff; padding:4px 6px; + background: #ececec url('../img/bg-degrade-table.png') repeat-x scroll left top; + background-image: -moz-linear-gradient(center top , #F9F9F9, #ECECEC); + background: -webkit-gradient(linear, center top ,center bottom, from(#F9F9F9), to(#ECECEC)) repeat scroll 0 0 transparent; + font-size:13px; text-align:left; color:#333;} +.table tr th.right { text-align:center;} +.table tr td{border-bottom:1px solid #ccc;color:#333;font-size:12px;padding: 4px 4px 4px 6px;} +.table tr.row_hover:hover td{background:#fff1b5} +.table tr.row_hover.filter:hover td{background:#F1F9FF} +.table tr td.row_hover:hover table tr td{background:none} +.table tr.action_details td{background:#FAFAFA;} +.table tr.alt_row.action_details td{background:#E8E8E8;} +.table tr td.empty{border-bottom:none;background:white!important} +.table tr td.first{border-left:1px solid #DEDEDE} +.table tr td.last{border-right:1px solid #DEDEDE} +.table tr.small td{height:15px} +.table tr.last td{border-bottom:none} +.col-left {vertical-align:top; padding-right:10px;} +.col-right {padding-bottom:5px;} +#tabPane1 td.col-left { width:200px;} +#product-tab-content-wait{display:block;background:url('../img/bg_loaderSpace.png');min-height:420px;position:absolute;width:96.5%;} +div#loading{height:128px;width:128px;background:url('../img/ajax-loader.gif');display:block;text-indent:-9999px;margin:100px auto;} +td.col-left label { display:block; width:100%; text-align:right;} +.alt_row{background-color:#f8f8f8} +.path_bar{background-color:#E2EBEE;border:1px solid #999999;font-family:Trebuchet,Arial,Helvetica,sans-serif;font-size:13px;margin-bottom:20px;padding:5px} +.path_bar a{font-weight:700} +.cat_bar{background-color:#F4E8CD;border:1px solid #999999;font-family:Trebuchet,Arial,Helvetica,sans-serif;font-size:12px;font-weight:700;margin-bottom:20px;padding:5px} +.cat_bar a{font-weight:700} + +.table tr#total_products, +.table tr#total_discounts, +.table tr#total_wrapping, +.table tr#total_shipping { height:35px;} +.table tr#total_order { height:50px;} + + +a.action_module{color: #268CCD;text-decoration: underline;} +a.header_module_toggle{font-weight: bold;color: #268CCD;display:block;} +a.module_toggle_all{color: #268CCD;} +.nbr_module{float:right;margin-right:10px;font-style:italic;font-size:12px;color: #268CCD;} + +.autoupgradeSteps div { line-height: 30px; } +.upgradestep { margin-right: 5px;padding-left: 10px; padding-right: 5px;} +#upgradeNow.stepok, .autoupgradeSteps a.stepok { background-image: url('../img/admin/enabled.gif');background-position: left center;background-repeat: no-repeat;padding-left: 15px;} +#upgradeNow {-moz-border-bottom-colors: none;-moz-border-image: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3;border-right: 1px solid #DFD5AF;border-style: solid;border-width: 1px;color: #268CCD;font-size: medium;padding: 5px;} +.button-autoupgrade {-moz-border-bottom-colors: none;-moz-border-image: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3;border-right: 1px solid #DFD5AF;border-style: solid;border-width: 1px;color: #268CCD;font-size: medium;padding: 5px;} +.processing {overflow: auto;} + +/*UI ACCORDEON*/ +.ui-accordion-header { background-color: #ccc; color:#000;} + +/*BLOC*/ +.Bloc { background: none repeat scroll 0 0 #EBEDF4;} + + +/*TABLE STATUS COMMANDE*/ +.table td span.color_field { font-size:11px; padding:2px 5px; border-radius:3px; text-transform:uppercase; color:#fff; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;} + +/*multishop toolbar*/ +.multishop_toolbar { background-color: #F8F8F8; border: 1px solid #CCCCCC; margin-bottom:10px; padding: 10px; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; font-size: 18px;} +.multishop_toolbar span.text_multishop {vertical-align: 7px; padding-right: 5px; } +.multishop_toolbar select.shopList { width: 300px; } +.multishop_toolbar a.chzn-single { background: url('../img/icon-multishop.png') no-repeat 5px 5px; padding: 1px 2px 2px 25px; font-weight: bold; } + +.multishop_toolbar .chzn-container .chzn-results .first{font-weight: bold;background-color: #408BD5;color: #ffffff;} +.multishop_toolbar .chzn-container .chzn-results .group{font-weight: bold;font-style: italic;padding-left: 15px;background-color: #C6DEFC;} +.multishop_toolbar .chzn-container .chzn-results .shop{padding-left: 30px;background-color: #EAF2FC;} + +/*toolbarBox*/ +.toolbar-placeholder {position:relative} +.toolbarBox {background-color: #F8F8F8; border: 1px solid #CCCCCC; margin-bottom:10px; padding: 5px 0; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;-o-border-radius:3px;position:relative} +.toolbarBox .pageTitle { margin-left:10px; line-height:48px} +.toolbarBox .pageTitle h3 {font-size: 1.6em; font-weight: normal; line-height: 52px; margin: 0; padding: 0; text-shadow:0 1px 0 #fff;} +.toolbarBox ul.cc_button {float:right;margin:0 5px 0 0;padding:0;} +.toolbarBox ul.cc_button li {color: #666666; float: left; height: 48px; list-style: none outside none; padding: 1px 1px 3px 4px; text-align: center;} +.toolbarBox a.toolbar_btn { border:1px solid #f8f8f8; min-width:50px; border-width: 1px; font-size:11px;cursor: pointer; display: block; float: left; padding: 3px 5px; white-space: nowrap; text-shadow: 0 1px 0 #ffffff;} +.toolbarBox a.toolbar_btn:hover { background-color:#fff; border:1px inset #ccc; border-radius:3px;-moz-border-radius:3px; -webkit-border-radius:3px;-o-border-radius:3px;} +.toolbarBox .toolbar_btn span{ display: block;float: none;height: 32px;margin: 0 auto;width: 32px; /*hacking ie7*/ margin:0 !ie; position:relative !ie;} +.toolbarBox .process-icon-delete { background-image: url('../img/process-icon-delete.png');} +.toolbarBox .process-icon-duplicate { background-image: url('../img/process-icon-duplicate.png');} +.toolbarBox .process-icon-preview { background-image: url('../img/process-icon-preview.png');} +.toolbarBox .process-icon-stats { background-image: url('../img/process-icon-stats.png');} +.toolbarBox .process-icon-cancel, .toolbarBox .toolbar-cancel { background-image: url('../img/process-icon-cancel.png');} +.toolbarBox .process-icon-new, .toolbarBox .toolbar-new{ background-image: url('../img/process-icon-new.png');} +.toolbarBox .process-icon-save { background-image: url('../img/process-icon-save.png');} +.toolbarBox .process-icon-save-and-stay { background-image: url('../img/process-icon-save-and-stay.png');} +.toolbarBox .process-icon-edit { background-image: url('../img/process-icon-edit.png');} +.toolbarBox .process-icon-back { background-image: url('../img/process-icon-back.png');} +.toolbarBox .process-icon-refresh-index { background-image: url('../img/process-icon-refresh-index.png');} +.toolbarBox .process-icon-refresh-cache { background-image: url('../img/process-icon-refresh-cache.png');} +.toolbarBox .process-icon-save-calendar { background-image: url('../img/process-icon-save-calendar.png');} +.toolbarBox .process-icon-new-module { background-image: url('../img/process-icon-new-module.png');} +.toolbarBox .process-icon-new-url { background-image: url('../img/process-icon-new-url.png');} +.toolbarBox .process-icon-new-module-addon { background-image: url('../img/process-icon-new-module-addon.png');} +.toolbarBox .process-icon-save-and-preview { background-image: url('../img/process-icon-preview.png');} +.toolbarBox .process-icon-import { background-image: url('../img/process-icon-export-csv.png');} +.toolbarBox .process-icon-export { background-image: url('../img/process-icon-export-csv.png');} +.toolbarBox .process-icon-export-all { background-image: url('../img/process-icon-export-csv-details.png');} +.toolbarBox .process-icon-export-stock-state-quantities-csv { background-image: url('../img/process-icon-export-csv.png');} +.toolbarBox .process-icon-export-stock-state-prices-csv { background-image: url('../img/process-icon-export-csv-details.png');} +.toolbarBox .process-icon-export-csv-orders { background-image: url('../img/process-icon-export-csv.png');} +.toolbarBox .process-icon-export-csv-details { background-image: url('../img/process-icon-export-csv-details.png');} +.toolbarBox .process-icon-export-stock-mvt-csv { background-image: url('../img/process-icon-export-csv.png');} +.toolbarBox .process-icon-newAttributes, .toolbarBox .toolbar-new{ background-image: url('../img/process-icon-new.png');} +.toolbarBox .process-icon-new.add_product{ background-image: url('../img/process-icon-addProduct.png');} +.toolbarBox .process-icon-partialRefund{ background-image: url('../img/process-icon-partial-refund.png');} +.toolbarBox .process-icon-standardRefund{ background-image: url('../img/process-icon-standard-refund.png');} +.toolbarBox .process-icon-help{ background-image: url('../img/process-icon-help.png');} +.toolbarBox .process-icon-help-new{ background-image: url('../img/process-icon-help-new.png');} +.toolbarBox .process-icon-modules-list{ background-image: url('../img/process-icon-modules-list.png');} + +.toolbarReduced {margin-right:221px} +#modules_list_button {width:211px;height:63px;border:none;position:absolute;top:0;right:0;background-image:url('../img/modules_list_button.png');font-size: 1.6em;cursor:pointer;padding-left:45px} + +.toolbarBox #modules_list_container { + background: none repeat scroll 0 0 #FFF; + border: solid 1px #CCC; + display: block; + float: right; + height: auto; + width: 500px; + position: absolute; + right: 13px; + top: 63px; + z-index: 100; + box-shadow: 1px 5px 5px #CCCCCC; + -moz-box-shadow: 1px 5px 10px #CCCCCC; + -webkit-box-shadow: 1px 5px 10px #CCCCCC; + opacity: 1; + +} +.toolbarBox #modules_list_container #modules_list_container_content +{ + max-height: 500px; + overflow: auto; + +} + +.toolbarBox #modules_list_container #modules_list_container_tab {margin-top: 10px;width: auto;height: auto; } +.toolbarBox #modules_list_container #modules_list_container_tab table {width: 100%;border-spacing: 0px; } +.toolbarBox #modules_list_container #modules_list_container_tab tr { height: auto} +.toolbarBox #modules_list_container #modules_list_container_tab tr.rowalt {background-color: #F0F7FF} +.toolbarBox #modules_list_container #modules_list_container_tab #tab_module_switch {margin-bottom: 10px;} +.toolbarBox #modules_list_container #modules_list_loader {margin-top: 10px} +.toolbarBox #modules_list_container .nav-tabs-modules:after {clear: both;} +.toolbarBox #modules_list_container .nav-tabs-modules > li {height: 19px;} +.toolbarBox #modules_list_container .nav-tabs-modules > li > a { padding-right: 12px; padding-left: 12px; margin-right: 2px; - line-height: 14px; } -#nobootstrap .toolbarBox #modules_list_container .nav-tabs-modules > li > a { + line-height: 14px; +} + +.toolbarBox #modules_list_container .nav-tabs-modules > li > a { padding-top: 8px; padding-bottom: 7px; border: 1px solid transparent; -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - -o-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; } -#nobootstrap .toolbarBox #modules_list_container .nav-tabs-modules > li > a:hover { + -moz-border-radius: 4px 4px 0 0; + -o-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; +} + +.toolbarBox #modules_list_container .nav-tabs-modules > li > a:hover { border-color: #C0C0C0; - background-color: #ffffff; } -#nobootstrap .toolbarBox #modules_list_container .nav-tabs-modules > li > a { - border: 1px solid #ddd; - border-bottom: none; } -#nobootstrap .toolbarBox #modules_list_container .nav-tabs-modules > .active > a, -#nobootstrap .toolbarBox #modules_list_container .nav-tabs-modules > .active > a:hover { + background-color: #ffffff; +} + +.toolbarBox #modules_list_container .nav-tabs-modules > li > a {border: 1px solid #ddd;border-bottom:none;} + +.toolbarBox #modules_list_container .nav-tabs-modules > .active > a, +.toolbarBox #modules_list_container .nav-tabs-modules > .active > a:hover { color: #555555; cursor: default; background-color: #F8F8F8; border: 1px solid #ddd; - border-bottom-color: transparent; } -#nobootstrap div.fix-toolbar { - border-bottom: 1px solid #E0E0E0; - position: fixed; - top: 0; - opacity: 0.9; - z-index: 500; - margin: auto; } -#nobootstrap #content .qq-upload-button { - background: #e4e4e4 url("../img/bg-button-degrade.png") repeat-x scroll left top; - background: -moz-linear-gradient(center top, #f9f9f9, #e3e3e3) repeat scroll 0 0 transparent; - background: -webkit-gradient(linear, center top, center bottom, from(#f9f9f9), to(#e3e3e3)) repeat scroll 0 0 transparent; - color: #333; - width: 180px; - text-shadow: 0 1px 0 #fff; - border-color: #CCCCCC #BBBBBB #A0A0A0; - border-left: 1px solid #BBBBBB; - border-radius: 3px 3px 3px 3px; - border-right: 1px solid #BBBBBB; - border-style: solid; - border-width: 1px; - color: #000000; } -#nobootstrap #content .qq-upload-button:hover { - border: 1px solid #939393; } -#nobootstrap .file_upload_label { - margin-top: 5px; } -#nobootstrap .leadin .bloc-leadin { - padding: 10px 3px; } -#nobootstrap #productBox { - position: relative; - width: 100%; - float: left; } -#nobootstrap form#product_form, #nobootstrap form#access_form, #nobootstrap form#cart_rule_form, #nobootstrap #modules_tab_list { - background-color: #ebedf4; - border: 1px solid #ccced7; - min-height: 404px; - padding: 5px 10px 10px; - margin-left: 140px; } -#nobootstrap #modules_tab_list { - min-height: inherit; } -#nobootstrap #content form.adminstockmanagement { - margin-left: 0px; } -#nobootstrap form#product_form h3 { - font-size: 14px; - font-weight: normal; } -#nobootstrap form#product_form h4 { - font-size: 18px; - font-weight: normal; } -#nobootstrap .tab-row .tab { - background: #EFEFEF; - width: 100px; } -#nobootstrap .productTabs { - background-color: #fafafa; - border: 1px solid #ccced7; - border-right: none; - float: left; - width: 140px; } -#nobootstrap .productTabs ul { - padding: 0; - margin: 0; } -#nobootstrap .productTabs ul li.tab-row { - border: none; } -#nobootstrap .productTabs ul li.tab-row:first-child a { - border-top: none; } -#nobootstrap .productTabs ul li.tab-row a { - display: block; - font-weight: normal; - color: #666; - padding: 7px 10px; - border-top: 1px solid #CCCED7; - border-right: 1px solid #CCCED7; } -#nobootstrap .productTabs ul li.tab-row a.selected { - background-color: #EBEDF4; - font-weight: bold; - color: #000; - border-right: none; } -#nobootstrap .product-tab-content h4.tab { - display: none; } -#nobootstrap #product_list { - margin-bottom: 0.5em; } -#nobootstrap #product-tab-content-3-Associations .Association td.col-left { - width: 200px; } -#nobootstrap .filter-module { - background-color: #ebedf4; - border: 1px solid #c2c4d9; - padding: 10px; - display: block; - min-height: 35px; } -#nobootstrap .filter-module #filternameForm { - float: left; - margin-right: 30px; } -#nobootstrap .filter-module label { - width: auto; } -#nobootstrap .filter-module .select-filter { - float: left; } -#nobootstrap .filter-module .button-filter { - float: right; } -#nobootstrap .filter-stock { - background-color: #ebedf4; - border: 1px solid #c2c4d9; - margin-bottom: 15px; - padding: 10px; - display: block; - min-height: 25px; } -#nobootstrap .filter-stock #stock_instant_state { - float: left; - margin-right: 30px; } -#nobootstrap .filter-stock label { - width: auto; } -#nobootstrap .filter-stock .select-filter { - float: left; } -#nobootstrap .filter-stock .button-filter { - float: right; } -#nobootstrap .filter-stock-extended { - background-color: #ebedf4; - border: 1px solid #c2c4d9; - margin-bottom: 15px; - padding: 10px; - display: block; - min-height: 65px; } -#nobootstrap .filter-stock-extended #stock_cover { - float: left; - margin-right: 30px; } -#nobootstrap .filter-stock-extended #supply_orders { - float: left; - margin-right: 30px; } -#nobootstrap .filter-stock-extended label { - width: auto; } -#nobootstrap .filter-stock-extended .select-filter { - float: left; } -#nobootstrap .filter-stock-extended .button-filter { - float: right; } -#nobootstrap #addons_login_div { - background: #ebedf4 url("../img/lock.png") no-repeat scroll left 5px; } -#nobootstrap #addons_login_div form#addons_login_form { - float: right; } -#nobootstrap #addons_login_div p { - float: left; - font-size: 16px; - color: #585A69; - line-height: 24px; - text-shadow: 0 1px 0 #fff; - margin: 0; - padding-left: 25px; } -#nobootstrap #addons_login_div input { - float: left; - margin-right: 10px; } -#nobootstrap #addons_login_div input#addons_login_button { - margin-right: 0px; } -#nobootstrap .sidebar { - position: relative; - float: left; - width: 220px; - display: inline; } -#nobootstrap .sidebar h3 { - background-color: #ebedf4; - font-weight: bold; - display: block; - padding: 5px; } -#nobootstrap .sidebar.navigation h3 { - margin: 0; } -#nobootstrap .sidebar .subHeadline { - font-weight: bold; - float: right; - margin-top: -28px; - margin-right: 5px; } -#nobootstrap .sidebar ul.categorieList li { - border-top: 1px solid #ccc; - position: relative; - line-height: 20px; } -#nobootstrap .sidebar ul.categorieList li:first-child { - border-top: none; } -#nobootstrap .sidebar ul.categorieList li a { - color: #3a6ea7; - display: block; - padding-left: 5px; } -#nobootstrap .sidebar ul.categorieList li a:hover { - background-color: #EBEDF4; } -#nobootstrap .sidebar ul.categorieList li div.categorieWidth { - overflow: hidden; } -#nobootstrap .sidebar ul.categorieList li div.count { - position: absolute; - top: 0; - right: 5px; } -#nobootstrap .sidebar .categorieStatus { - display: none; } -#nobootstrap .blocEngine { - background-color: #eee; } -#nobootstrap .blocEngine .rowForm { - display: block; - float: left; - margin: 0; - padding: 5px 0; } -#nobootstrap .blocEngine .rowForm label { - font-weight: normal; } -#nobootstrap .blocEngine .rowForm label, -#nobootstrap .blocEngine .rowForm select { - width: 220px; - float: left; - text-align: left; } -#nobootstrap .blocEngine p { - margin-top: 10px; - display: block; - float: left; } -#nobootstrap #statsContainer { - margin-left: 220px; - padding: 0 0 0 20px; } -#nobootstrap #statsContainer #calendar, -#nobootstrap #referrersContainer #calendar { - background-color: #EEEEEE; - border-top: 1px solid #CCCCCC; - display: block; - margin: 10px 0; - min-height: 25px; - padding: 5px; } -#nobootstrap #statsContainer #calendar form, -#nobootstrap #referrersContainer #calendar form { - float: left; } -#nobootstrap #statsContainer #calendar input, #nobootstrap #statsContainer #calendar p, -#nobootstrap #referrersContainer #calendar input, #nobootstrap #referrersContainer #calendar p { - float: left; } -#nobootstrap #statsContainer #calendar input.submitDateDay, #nobootstrap #referrersContainer #calendar input.submitDateDay { - border-top-right-radius: 0px; - border-bottom-right-radius: 0px; - border-right: none; } -#nobootstrap #statsContainer #calendar input.submitDateMonth, #nobootstrap #statsContainer #calendar input.submitDateMonth, -#nobootstrap #referrersContainer #calendar input.submitDateMonth, #nobootstrap #referrersContainer #calendar input.submitDateMonth { - border-radius: 0px; } -#nobootstrap #statsContainer #calendar input.submitDateYear, -#nobootstrap #referrersContainer #calendar input.submitDateYear { - border-top-left-radius: 0px; - border-bottom-left-radius: 0px; - border-left: none; - margin-right: 10px; } -#nobootstrap #statsContainer #calendar input.submitDateDayPrev, -#nobootstrap #referrersContainer #calendar input.submitDateDayPrev { - border-top-right-radius: 0px; - border-bottom-right-radius: 0px; - border-right: none; } -#nobootstrap #statsContainer #calendar input.submitDateMonthPrev, -#nobootstrap #referrersContainer #calendar input.submitDateMonthPrev { - border-radius: 0px; } -#nobootstrap #statsContainer #calendar input.submitDateYearPrev, -#nobootstrap #referrersContainer #calendar input.submitDateYearPrev { - border-top-left-radius: 0px; - border-bottom-left-radius: 0px; - border-left: none; - margin-right: 10px; } -#nobootstrap #statsContainer #calendar p, #nobootstrap #referrersContainer #calendar p { - margin: 2px; } -#nobootstrap #statsContainer #calendar p span, #nobootstrap #referrersContainer #calendar p span { - float: left; - display: block; - padding: 3px; } -#nobootstrap #statsContainer .blocStats { - background-color: #EBEDF4; - border: 1px solid #C2C4D9; - display: block; - position: relative; - padding: 10px; } -#nobootstrap #statsContainer .blocStats h2 { - font-weight: normal; - margin: 0; - font-size: 1.4em; } -#nobootstrap #statsContainer .blocStats h2.icon-statsproduct span, -#nobootstrap #statsContainer .blocStats h2.icon-statsbestsuppliers span, -#nobootstrap #statsContainer .blocStats h2.icon-statsforecast span, -#nobootstrap #statsContainer .blocStats h2.icon-pagesnotfound span, -#nobootstrap #statsContainer .blocStats h2.icon-sekeywords span, -#nobootstrap #statsContainer .blocStats h2.icon-guide span, -#nobootstrap #statsContainer .blocStats h2.icon-statsequipment span, -#nobootstrap #statsContainer .blocStats h2.icon-statsvisits span, -#nobootstrap #statsContainer .blocStats h2.icon-statssales span, -#nobootstrap #statsContainer .blocStats h2.icon-statsregistrations span, -#nobootstrap #statsContainer .blocStats h2.icon-statspersonalinfos span, -#nobootstrap #statsContainer .blocStats h2.icon-statscatalog span, -#nobootstrap #statsContainer .blocStats h2.icon-basket-delete span, -#nobootstrap #statsContainer .blocStats h2.icon-statsbestcustomers span, -#nobootstrap #statsContainer .blocStats h2.icon-statsorigin span, -#nobootstrap #statsContainer .blocStats h2.icon-statsbestproducts span, -#nobootstrap #statsContainer .blocStats h2.icon-statsbestvouchers span, -#nobootstrap #statsContainer .blocStats h2.icon-statsbestcategories span, -#nobootstrap #statsContainer .blocStats h2.icon-statscarrier span, -#nobootstrap #statsContainer .blocStats h2.icon-statssearch span, -#nobootstrap #statsContainer .blocStats h2.icon-statsstock span, -#nobootstrap #statsContainer .blocStats h2.icon-conversion span, -#nobootstrap #statsContainer .blocStats h2.icon-payment span, -#nobootstrap #statsContainer .blocStats h2.icon-category span, -#nobootstrap #statsContainer .blocStats h2.icon-currency span, -#nobootstrap #statsContainer .blocStats h2.icon-language span, -#nobootstrap #statsContainer .blocStats h2.icon-attribute span { - background: transparent url("../img/icon-sprites-title.png") no-repeat scroll left top; - width: 16px; - height: 16px; - padding-right: 18px; - margin-right: 3px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsproduct span { - background-position: 2px 2px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsforecast span { - background-position: -18px 2px; } -#nobootstrap #statsContainer .blocStats h2.icon-guide span { - background-position: -36px 2px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsbestsuppliers span { - background-position: -54px 2px; } -#nobootstrap #statsContainer .blocStats h2.icon-pagesnotfound span { - background-position: -72px 2px; } -#nobootstrap #statsContainer .blocStats h2.icon-sekeywords span { - background-position: -90px 2px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsequipment span { - background-position: -108px 2px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsvisits span { - background-position: -126px 2px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsregistrations span { - background-position: -147px 2px; } -#nobootstrap #statsContainer .blocStats h2.icon-statssales span { - background-position: 0 -16px; } -#nobootstrap #statsContainer .blocStats h2.icon-statspersonalinfos span { - background-position: -18px -16px; } -#nobootstrap #statsContainer .blocStats h2.icon-statscatalog span { - background-position: -36px -16px; } -#nobootstrap #statsContainer .blocStats h2.icon-category span { - background-position: -36px -16px; } -#nobootstrap #statsContainer .blocStats h2.icon-basket-delete span { - background-position: -54px -16px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsbestcustomers span { - background-position: -72px -16px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsorigin span { - background-position: -90px -16px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsbestproducts span { - background-position: -108px -16px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsbestvouchers span { - background-position: -126px -16px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsbestcategories span { - background-position: -147px -17px; } -#nobootstrap #statsContainer .blocStats h2.icon-statscarrier span { - background-position: 2px -36px; } -#nobootstrap #statsContainer .blocStats h2.icon-statssearch span { - background-position: -18px -36px; } -#nobootstrap #statsContainer .blocStats h2.icon-statsstock span { - background-position: -36px -36px; } -#nobootstrap #statsContainer .blocStats h2.icon-conversion span { - background-position: -54px -36px; } -#nobootstrap #statsContainer .blocStats h2.icon-payment span { - background-position: -72px -36px; } -#nobootstrap #statsContainer .blocStats h2.icon-currency span { - background-position: -90px -36px; } -#nobootstrap #statsContainer .blocStats h2.icon-language span { - background-position: -106px -36px; } -#nobootstrap #statsContainer .blocStats h2.icon-attribute span { - background-position: -126px -36px; } -#nobootstrap #statsContainer .blocStats form { - position: absolute; - top: 10px; - right: 5px; } -#nobootstrap #statsContainer .blocStats form.checkup { - position: relative; - top: 0; - left: 0; } -#nobootstrap #statsContainer .totalStats { - font-size: 16px; - font-weight: bold; } -#nobootstrap #statsContainer .blocStats .blocConversion { - display: block; - display: inline-table; - min-height: 80px; } -#nobootstrap #moduleContainer { - margin-left: 220px; - padding: 13px 0 0 20px; } -#nobootstrap #moduleContainer .table tr th { - height: 40px; } -#nobootstrap #moduleContainer .table tr td { - font-size: 12px; - vertical-align: top; - padding: 5px 7px 0; - border-top: 1px solid #ccc; - border-bottom: none; } -#nobootstrap #moduleContainer .table tr:first-child { - border-top: 1px solid #ccc; } -#nobootstrap #moduleContainer .table tr td .imgm, #nobootstrap #modules_list_container_tab .imgm { - width: 32px; } -#nobootstrap #moduleContainer .moduleDesc { - font-size: 12px; - position: relative; - margin-bottom: 10px; } -#nobootstrap #moduleContainer .moduleDesc h3 { - color: #3A6EA7; - margin: 0; } -#nobootstrap #moduleContainer .moduleDesc .metadata { - float: left; - display: block; - margin: 5px 0; } -#nobootstrap #moduleContainer .moduleDesc .metadata dl { - float: left; - margin: 0; - padding-right: 10px; } -#nobootstrap #moduleContainer .moduleDesc .metadata dl dt, #nobootstrap .moduleDesc .metadata dl dd { - float: left; - margin: 0; - padding: 0; } -#nobootstrap #moduleContainer .moduleDesc .metadata dl dd { - padding-right: 10px; } -#nobootstrap #moduleContainer .moduleDesc .metadata dl dt { - font-weight: bold; - padding-right: 5px; } -#nobootstrap #moduleContainer .moduleDesc p.desc { - color: #666; - font-family: Georgia; - font-style: italic; - font-size: 12px; - display: block; - clear: both; } -#nobootstrap #moduleContainer .setup { - background-color: #6db300; - font-weight: bold; - font-size: 10px; - color: #fff; - text-transform: uppercase; - position: relative; - left: 10px; - padding: 0px 4px; - display: inline-block; - border-radius: 3px; } -#nobootstrap #moduleContainer .setup.non-install { - background-color: #ec7000; } -#nobootstrap #moduleContainer .setup.must-have { - background-color: #ec7000; } -#nobootstrap #moduleContainer .setup.off { - background-color: #ccc; - color: #666666; } -#nobootstrap #moduleContainer .row-actions-module span { - padding-right: 5px; } -#nobootstrap #moduleContainer .row-actions-module span a { - font-size: 12px; } -#nobootstrap #moduleContainer .button.uninstalled, -#nobootstrap #moduleContainer .button.installed { - float: right; - clear: both; - margin-top: 15px; - font-size: 12px; } -#nobootstrap #moduleContainer ul.listing-grid-module { - position: relative; - margin: 0; - padding: 0; } -#nobootstrap #moduleContainer ul.listing-grid-module li { - float: left; - border: 1px solid #ccc; - width: 400px; - min-height: 30px; - margin: 10px; - padding: 5px; - border-radius: 4px; } -#nobootstrap #moduleContainer .moduleGridDesc { - position: relative; - display: block; - height: 30px; } -#nobootstrap #moduleContainer .moduleGridDesc h3 { - color: #3A6EA7; - margin: 0; } -#nobootstrap #moduleContainer ul.listing-grid-module li select { - position: absolute; - top: 0; - right: 0px; } -#nobootstrap #modules_list_container_tab #modules_list_container_content { - list-style-type: none; - padding: 0; - margin: 0; - white-space: nowrap; - overflow: auto; - height: 370px; } -#nobootstrap #modules_list_container_tab #modules_list_container_content li { - display: inline-block; } -#nobootstrap #modules_list_container_tab table tr th { - height: 40px; } -#nobootstrap #modules_list_container_tab table tr td { - font-size: 12px; - padding: 3px 3px 3px; - border-top: 1px solid #ccc; - border-bottom: none; } -#nobootstrap #modules_list_container_tab table tr td tr td { - border: none; } -#nobootstrap #modules_list_container_tab table tr:first-child { - border-top: 1px solid #ccc; } -#nobootstrap #modules_list_container_tab .imgm { - width: 32px; } -#nobootstrap #modules_list_container_tab .moduleDesc { - font-size: 12px; } -#nobootstrap #modules_list_container_tab .moduleDesc h3 { - color: #3A6EA7; - margin: 0; - font-size: 1.1em; - text-align: left; - white-space: normal; } -#nobootstrap #modules_list_container_tab .moduleDesc .metadata { - float: left; - display: block; - margin: 5px 0; } -#nobootstrap #modules_list_container_tab .moduleDesc .metadata dl { - float: left; - margin: 0; - padding-right: 10px; } -#nobootstrap #modules_list_container_tab .moduleDesc .metadata dl dt, #nobootstrap .moduleDesc .metadata dl dd { - float: left; - margin: 0; - padding: 0; } -#nobootstrap #modules_list_container_tab .moduleDesc .metadata dl dd { - padding-right: 10px; } -#nobootstrap #modules_list_container_tab .moduleDesc .metadata dl dt { - font-weight: bold; - padding-right: 5px; } -#nobootstrap #modules_list_container_tab .moduleDesc p.desc { - color: #666; - font-family: Georgia; - font-style: italic; - font-size: 12px; - text-align: left; - white-space: normal; } -#nobootstrap #modules_list_container_tab .setup { - background-color: #6db300; - font-weight: bold; - font-size: 10px; - color: #fff; - text-transform: uppercase; - padding: 0 10px; - display: inline-block; - border-radius: 3px; } -#nobootstrap #modules_list_container_tab .row-actions-module { - float: right; } -#nobootstrap #modules_list_container_tab .setup.non-install { - background-color: #ec7000; } -#nobootstrap #modules_list_container_tab .setup.must-have { - background-color: #ec7000; } -#nobootstrap #modules_list_container_tab .setup.off { - background-color: #ccc; - color: #666666; } -#nobootstrap #modules_list_container_tab .row-actions-module span { - padding-right: 5px; } -#nobootstrap #modules_list_container_tab .row-actions-module span a { - font-size: 12px; } -#nobootstrap #modules_list_container_tab ul.listing-grid-module { - position: relative; - margin: 0; - padding: 0; } -#nobootstrap #modules_list_container_tab ul.listing-grid-module li { - float: left; - border: 1px solid #ccc; - width: 400px; - min-height: 30px; - margin: 10px; - padding: 5px; - border-radius: 4px; } -#nobootstrap #modules_list_container_tab .moduleGridDesc { - position: relative; - display: block; - height: 30px; } -#nobootstrap #modules_list_container_tab .moduleGridDesc h3 { - color: #3A6EA7; - margin: 0; } -#nobootstrap #modules_list_container_tab ul.listing-grid-module li select { - position: absolute; - top: 0; - right: 0px; } -#nobootstrap .default_modules_list_display_type #modules_list_container_content li table tr td { - border: none; } -#nobootstrap .default_modules_list_display_type #modules_list_container_content li table { - border: solid 1px #ccc; - height: 105px; - width: 100%; - margin-bottom: 10px; } -#nobootstrap #modules_list_container_tab ul li { - height: 105px; } -#nobootstrap .ie7 #modules_list_container_tab #modules_list_container_content li { - zoom: 1; - display: inline; } -#nobootstrap .ie7 #modules_list_container_content li table { - width: 21%; } -#nobootstrap .ie7 #modules_list_container_content li table td .btn_right { - width: 100%; - float: right; } -#nobootstrap .ie7 #modules_list_container_content li table td .btn_right select { - float: left; } -#nobootstrap .ie7 #modules_list_container_content li table td a.button { - display: block; - float: right; } -#nobootstrap .blocLiveEdit { - float: right; - clear: right; - background-color: #EBEDF4; - border: 1px solid #C2C4D9; - display: block; - width: 250px; } -#nobootstrap .blocLiveEdit h2 { - background: transparent url("../img/live_edit.png") no-repeat scroll 10px 10px; - height: 40px; - line-height: 50px; - margin: 0; - padding: 0 10px; - text-indent: 40px; } -#nobootstrap .blocLiveEdit p { - padding: 0 10px; } -#nobootstrap .blocLiveEdit a.button { - float: left; - margin: 10px; - display: inline-block; } -#nobootstrap #modulePosition { - width: 100%; - float: left; - clear: left; } -#nobootstrap #modulePosition .table tr th { - height: 40px; } -#nobootstrap #modulePosition form { - margin-right: 270px; } -#nobootstrap #modulePosition .lab_modules_positions h3 { - color: #3A6EA7; - margin: 0 0 0 10px; - float: left; } -#nobootstrap #modulePosition .lab_modules_positions p { - font-family: Georgia; - font-style: italic; - font-size: 12px; - padding-left: 40px; - clear: both; } -#nobootstrap #modulePosition .lab_modules_positions span { - font-size: 12px; - padding-top: 4px; - padding-left: 5px; - float: left; } -#nobootstrap select#show_modules { - font-size: 12px; } -#nobootstrap label.text { - padding: 1px 12px 0 0; } -#nobootstrap label.radioCheck { - font-weight: normal; - padding: 0; - float: none; - margin: 0 1em 0 0.25em; } -#nobootstrap ul.listForm li { - padding-bottom: 3px; } -#nobootstrap #footer { - height: 40px; - font-size: 12px; - clear: both; - font-size: 0.9em; - color: #666666; } -#nobootstrap #footer .footerLeft { - float: left; - margin-left: 10px; } -#nobootstrap #footer .footerRight { - float: right; - margin-right: 10px; } -#nobootstrap #footer .footer_link, #nobootstrap #footer .footer_link:hover { - color: #268CCD; } -#nobootstrap .pageTitleHome { - font-size: 1.6em; - font-weight: normal; - margin: 0; - padding: 10px 0; } -#nobootstrap .pageTitleHome h3 { - font-weight: normal; - margin: 0; } -#nobootstrap #dashboard { - background-color: #EBEDF4; - border: 1px solid #C2C4D9; - display: block; - padding: 10px; - position: relative; - min-width: 1200px; } -#nobootstrap #dashboard h2 { - font-size: 1.4em; - font-weight: normal; - margin: 0 0 15px 0; } -#nobootstrap #iframe #video-content { - float: left; } -#nobootstrap #iframe { - position: relative; - display: block; - min-height: 180px; } -#nobootstrap #adminpresentation #video { - float: left; - padding-right: 15px; - min-height: 150px; } -#nobootstrap #adminpresentation #video a { - position: relative; - height: 128px; - width: 220px; - display: block; - padding: 6px; } -#nobootstrap #adminpresentation #video a span { - background: transparent url("../img/play.png") no-repeat scroll left top; - height: 128px; - width: 220px; - position: absolute; - top: 0; - left: 0; - z-index: 1; - display: block; - border: 6px solid #fff; - border-radius: 3px; } -#nobootstrap #adminpresentation #video a span:hover { - background-position: left bottom; - border: 6px solid #C2C4D9; - transition: background 0.5s; } -#nobootstrap #adminpresentation #video-content { - padding-left: 10px; - min-height: 150px; } -#nobootstrap #adminpresentation #video-content p { - font-size: 20px; - line-height: 26px; - color: #585A69; - text-shadow: 0 1px 0 #fff; } -#nobootstrap .view-modules { - float: right; - margin: 10px 0; } -#nobootstrap .view-modules li { - float: left; } -#nobootstrap .view-modules li img { - padding-right: 5px; } -#nobootstrap .view-modules li.normal-view-disabled { - background: -moz-linear-gradient(center top, #cccccc, #f9f9f9) repeat scroll 0 0 transparent; - border-bottom-right-radius: 0; - border-right: 1px solid #ccc; - border-top-right-radius: 0; - color: #999; } -#nobootstrap .view-modules li.favorites-view-disabled { - background: -moz-linear-gradient(center top, #cccccc, #f9f9f9) repeat scroll 0 0 transparent; - border-bottom-left-radius: 0; - border-left: 1px solid #fff; - border-top-left-radius: 0; - color: #999; } -#nobootstrap .view-modules li.normal-view-disabled:hover, -#nobootstrap .view-modules li.favorites-view-disabled:hover { - border-color: #CCCCCC #BBBBBB #A0A0A0; } -#nobootstrap .view-modules li.favorites-view { - border-bottom-left-radius: 0; - border-left: 1px solid #fff; - border-top-left-radius: 0; } -#nobootstrap .view-modules li.normal-view { - border-bottom-right-radius: 0; - border-right: 1px solid #ccc; - border-top-right-radius: 0; } -#nobootstrap .margin-form select.chosen { - width: 200px; } -#nobootstrap .selected-line { - background: #fff1b5; } -#nobootstrap #changedFiles ul { - list-style-type: square; - padding-left: 40px; } -#nobootstrap .tooltip { - position: relative; } -#nobootstrap .tooltip .tooltip_content { - z-index: 100; - text-align: left; - display: none; - white-space: nowrap; - position: absolute; - padding: 5px 5px; - background: black; - color: white; - box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); - margin-top: 5px; } -#nobootstrap .tooltip .tooltip_label { - cursor: pointer; } -#nobootstrap .tooltip .title { - text-align: center; - padding-bottom: 5px; - display: block; - font-weight: bold; } -#nobootstrap .tooltip:hover .tooltip_content { - display: block; } -#nobootstrap .tooltip_button { - border: 1px solid silver; - border-radius: 3px; - padding: 0 3px; - background: -moz-linear-gradient(top, #dddddd, #aaaaaa); - background: -o-linear-gradient(top, #dddddd, #aaaaaa); - background: -webkit-linear-gradient(top, #dddddd, #aaaaaa); - background: linear-gradient(top, #dddddd, #aaaaaa); - color: #666; } -#nobootstrap #carrier_form label { - padding-top: 0; } -#nobootstrap #carrier_form input { - margin-top: 3px; } -#nobootstrap #large_scene_image { - clear: both; - border: 1px solid transparent; } + border-bottom-color: transparent; +} + + + + +div.fix-toolbar {border-bottom: 1px solid #E0E0E0;position:fixed;top:0;opacity:0.9;z-index:500;margin:auto} + +/*button upload files*/ +#content .qq-upload-button { + background: #e4e4e4 url('../img/bg-button-degrade.png') repeat-x scroll left top; + background: -moz-linear-gradient(center top , #F9F9F9, #E3E3E3) repeat scroll 0 0 transparent; + background: -webkit-gradient(linear, center top ,center bottom, from(#F9F9F9), to(#E3E3E3)) repeat scroll 0 0 transparent; + color:#333; + width:180px; + text-shadow: 0 1px 0 #fff; + border-color: #CCCCCC #BBBBBB #A0A0A0; + border-left: 1px solid #BBBBBB; + border-radius: 3px 3px 3px 3px; + border-right: 1px solid #BBBBBB; + border-style: solid; + border-width: 1px; + color: #000000; +} +#content .qq-upload-button:hover { border:1px solid #939393;} + +.file_upload_label {margin-top:5px;} + +/*leadin*/ +.leadin {} +.leadin .bloc-leadin{ padding:10px 3px;} + +/*productBox*/ +#productBox { position:relative; width:100%; float:left;} + +/*tab-pane*/ +form#product_form, form#access_form, form#cart_rule_form, #modules_tab_list { background-color:#ebedf4; border:1px solid #ccced7; min-height:404px; padding: 5px 10px 10px; margin-left:140px;} +#modules_tab_list {min-height: inherit} +#content form.adminstockmanagement {margin-left:0px;} +form#product_form h3 { font-size:14px; font-weight:normal;} +form#product_form h4 { font-size:18px; font-weight:normal;} +.tab-row {} +.tab-row .tab {background:#EFEFEF;width:100px;} +.tab-row .tab-page.selected {} +.tab-row .tab-page {} +.productTabs{ background-color:#fafafa; border:1px solid #ccced7; border-right:none; float:left; width:140px;} +.productTabs ul{padding:0;margin:0;} +.productTabs ul li.tab-row { border:none; } +.productTabs ul li.tab-row:first-child a {border-top:none;} +.productTabs ul li.tab-row a { display:block; font-weight:normal; color:#666;padding: 7px 10px; border-top:1px solid #CCCED7; border-right:1px solid #CCCED7;} +.productTabs ul li.tab-row a.selected { background-color:#EBEDF4;font-weight:bold;color:#000; border-right:none;} +.product-tab-content h4.tab { display:none;} +#product_list {margin-bottom:0.5em} + +#categories-treeview { } +#product-tab-content-3-Associations .Association td.col-left { width:200px;} + +/*FILTER MODULE*/ +.filter-module { background-color:#ebedf4; border:1px solid #c2c4d9; padding:10px; display:block; min-height:35px;} +.filter-module #filternameForm {float:left; margin-right:30px;} +.filter-module label {width:auto;} +.filter-module .select-filter { float:left;} +.filter-module .button-filter { float:right;} + +/*FILTER STOCK*/ +.filter-stock { background-color:#ebedf4; border:1px solid #c2c4d9; margin-bottom:15px; padding:10px; display:block; min-height:25px;} +.filter-stock #stock_instant_state {float:left; margin-right:30px;} +.filter-stock label {width:auto;} +.filter-stock .select-filter { float:left;} +.filter-stock .button-filter { float:right;} +.filter-stock-extended { background-color:#ebedf4; border:1px solid #c2c4d9; margin-bottom:15px; padding:10px; display:block; min-height:65px;} +.filter-stock-extended #stock_cover {float:left; margin-right:30px;} +.filter-stock-extended #supply_orders {float:left; margin-right:30px;} +.filter-stock-extended label {width:auto;} +.filter-stock-extended .select-filter { float:left;} +.filter-stock-extended .button-filter { float:right;} + +/*ADDONS LOGIN*/ +#addons_login_div { background: #EBEDF4 url('../img/lock.png') no-repeat scroll left 5px;} +#addons_login_div form#addons_login_form { float:right;} +#addons_login_div p {float:left; font-size:16px; color:#585A69; line-height:24px; text-shadow: 0 1px 0 #fff; margin:0; padding-left:25px;} +#addons_login_div label {} +#addons_login_div input { float:left; margin-right:10px;} +#addons_login_div input#addons_login_button { margin-right: 0px; } + +/*SIDEBAR*/ +.sidebar { position:relative; float:left; width:220px; display:inline;} +.sidebar h3 { background-color:#ebedf4; font-weight:bold; display:block; padding:5px;} +.sidebar.navigation h3 {margin:0;} +.sidebar .subHeadline { font-weight:bold; float:right; margin-top:-28px; margin-right:5px;} +.sidebar ul.categorieList {} +.sidebar ul.categorieList li { border-top:1px solid #ccc; position:relative; line-height:20px;} +.sidebar ul.categorieList li:first-child { border-top:none;} +.sidebar ul.categorieList li a {color:#3a6ea7; display:block; padding-left:5px;} +.sidebar ul.categorieList li a:hover { background-color: #EBEDF4;} +.sidebar ul.categorieList li div.categorieWidth { overflow:hidden;} +.sidebar ul.categorieList li div.count{ position:absolute; top:0; right:5px;} +.sidebar .categorieStatus { display:none;} + +/*NAVIGATION ENGINE*/ +.blocEngine { background-color:#eee;} +.blocEngine .rowForm { display: block;float: left;margin: 0; padding: 5px 0; } +.blocEngine .rowForm label { font-weight:normal;} +.blocEngine .rowForm label, +.blocEngine .rowForm select {width:220px; float:left; text-align:left;} + +.blocEngine p { margin-top:10px;display:block; float:left;} + +/*STATCONTAINER*/ +#statsContainer {margin-left:220px; padding:0 0 0 20px;} +#statsContainer #calendar, +#referrersContainer #calendar{ background-color: #EEEEEE;border-top: 1px solid #CCCCCC; display: block; margin: 10px 0;min-height: 25px; padding: 5px;} +#statsContainer #calendar form, +#referrersContainer #calendar form {float:left;} +#statsContainer #calendar input, #statsContainer #calendar p, +#referrersContainer #calendar input, #referrersContainer #calendar p { float:left;} +#statsContainer #calendar input.submitDateDay, #referrersContainer #calendar input.submitDateDay { border-top-right-radius: 0px; border-bottom-right-radius:0px; border-right:none;} +#statsContainer #calendar input.submitDateMonth, #statsContainer #calendar input.submitDateMonth, +#referrersContainer #calendar input.submitDateMonth, #referrersContainer #calendar input.submitDateMonth { border-radius:0px;} +#statsContainer #calendar input.submitDateYear, +#referrersContainer #calendar input.submitDateYear { border-top-left-radius: 0px; border-bottom-left-radius:0px; border-left:none; margin-right:10px;} +#statsContainer #calendar input.submitDateDayPrev, +#referrersContainer #calendar input.submitDateDayPrev { border-top-right-radius: 0px; border-bottom-right-radius:0px; border-right:none;} +#statsContainer #calendar input.submitDateMonthPrev, +#referrersContainer #calendar input.submitDateMonthPrev { border-radius:0px;} +#statsContainer #calendar input.submitDateYearPrev, +#referrersContainer #calendar input.submitDateYearPrev { border-top-left-radius: 0px; border-bottom-left-radius:0px; border-left:none; margin-right:10px;} +#statsContainer #calendar p, #referrersContainer #calendar p { margin:2px;} +#statsContainer #calendar p span, #referrersContainer #calendar p span { float:left; display:block; padding:3px;} +#statsContainer .blocStats { background-color: #EBEDF4;border: 1px solid #C2C4D9; display: block; position:relative; padding: 10px;} +#statsContainer .blocStats h2 { font-weight:normal; margin:0; font-size:1.4em} +#statsContainer .blocStats h2.icon-statsproduct span, +#statsContainer .blocStats h2.icon-statsbestsuppliers span, +#statsContainer .blocStats h2.icon-statsforecast span, +#statsContainer .blocStats h2.icon-pagesnotfound span, +#statsContainer .blocStats h2.icon-sekeywords span, +#statsContainer .blocStats h2.icon-guide span, +#statsContainer .blocStats h2.icon-statsequipment span, +#statsContainer .blocStats h2.icon-statsvisits span, +#statsContainer .blocStats h2.icon-statssales span, +#statsContainer .blocStats h2.icon-statsregistrations span, +#statsContainer .blocStats h2.icon-statspersonalinfos span, +#statsContainer .blocStats h2.icon-statscatalog span, +#statsContainer .blocStats h2.icon-basket-delete span, +#statsContainer .blocStats h2.icon-statsbestcustomers span, +#statsContainer .blocStats h2.icon-statsorigin span, +#statsContainer .blocStats h2.icon-statsbestproducts span, +#statsContainer .blocStats h2.icon-statsbestvouchers span, +#statsContainer .blocStats h2.icon-statsbestcategories span, +#statsContainer .blocStats h2.icon-statscarrier span, +#statsContainer .blocStats h2.icon-statssearch span, +#statsContainer .blocStats h2.icon-statsstock span, +#statsContainer .blocStats h2.icon-conversion span, +#statsContainer .blocStats h2.icon-payment span, +#statsContainer .blocStats h2.icon-category span, +#statsContainer .blocStats h2.icon-currency span, +#statsContainer .blocStats h2.icon-language span, +#statsContainer .blocStats h2.icon-attribute span { background: transparent url('../img/icon-sprites-title.png') no-repeat scroll left top; width:16px; height:16px; padding-right:18px; margin-right:3px;} + +#statsContainer .blocStats h2.icon-statsproduct span { background-position :2px 2px;} +#statsContainer .blocStats h2.icon-statsforecast span { background-position :-18px 2px;} +#statsContainer .blocStats h2.icon-guide span { background-position :-36px 2px;} +#statsContainer .blocStats h2.icon-statsbestsuppliers span { background-position :-54px 2px;} +#statsContainer .blocStats h2.icon-pagesnotfound span { background-position :-72px 2px;} +#statsContainer .blocStats h2.icon-sekeywords span { background-position :-90px 2px;} +#statsContainer .blocStats h2.icon-statsequipment span { background-position :-108px 2px;} +#statsContainer .blocStats h2.icon-statsvisits span { background-position :-126px 2px;} +#statsContainer .blocStats h2.icon-statsregistrations span { background-position :-147px 2px;} +#statsContainer .blocStats h2.icon-statssales span { background-position : 0 -16px;} +#statsContainer .blocStats h2.icon-statspersonalinfos span { background-position : -18px -16px;} +#statsContainer .blocStats h2.icon-statscatalog span { background-position : -36px -16px;} +#statsContainer .blocStats h2.icon-category span { background-position : -36px -16px;} +#statsContainer .blocStats h2.icon-basket-delete span { background-position : -54px -16px;} +#statsContainer .blocStats h2.icon-statsbestcustomers span { background-position : -72px -16px;} +#statsContainer .blocStats h2.icon-statsorigin span { background-position : -90px -16px;} +#statsContainer .blocStats h2.icon-statsbestproducts span { background-position : -108px -16px;} +#statsContainer .blocStats h2.icon-statsbestvouchers span { background-position : -126px -16px;} +#statsContainer .blocStats h2.icon-statsbestcategories span { background-position : -147px -17px;} +#statsContainer .blocStats h2.icon-statscarrier span { background-position : 2px -36px;} +#statsContainer .blocStats h2.icon-statssearch span { background-position : -18px -36px;} +#statsContainer .blocStats h2.icon-statsstock span { background-position : -36px -36px;} +#statsContainer .blocStats h2.icon-conversion span { background-position : -54px -36px;} +#statsContainer .blocStats h2.icon-payment span { background-position : -72px -36px;} +#statsContainer .blocStats h2.icon-currency span { background-position : -90px -36px;} +#statsContainer .blocStats h2.icon-language span { background-position : -106px -36px;} +#statsContainer .blocStats h2.icon-attribute span { background-position : -126px -36px;} +#statsContainer .blocStats form { position:absolute; top:10px; right:5px;} +#statsContainer .blocStats form.checkup { position:relative; top:0; left:0;} +#statsContainer .totalStats { font-size:16px; font-weight:bold;} +#statsContainer .blocStats .blocConversion { display:block; display:inline-table; min-height:80px !ie; } + +/*MODULECONTAINER*/ +#moduleContainer { margin-left:220px; padding:13px 0 0 20px;} +#moduleContainer .table tr th { height:40px;} +#moduleContainer .table tr td { font-size:12px; vertical-align:top; padding: 5px 7px 0; border-top:1px solid #ccc; border-bottom:none;} +#moduleContainer .table tr:first-child {border-top:1px solid #ccc} +#moduleContainer .table tr td .imgm , #modules_list_container_tab .imgm {width:32px;} +#moduleContainer .moduleDesc { font-size:12px; position:relative; margin-bottom:10px;} +#moduleContainer .moduleDesc h3 { color:#3A6EA7; margin:0;} +#moduleContainer .moduleDesc .metadata { float:left; display:block; margin:5px 0;} +#moduleContainer .moduleDesc .metadata dl { float:left; margin:0; padding-right:10px;} +#moduleContainer .moduleDesc .metadata dl dt, .moduleDesc .metadata dl dd { float:left; margin:0; padding:0;} +#moduleContainer .moduleDesc .metadata dl dd { padding-right:10px;} +#moduleContainer .moduleDesc .metadata dl dt { font-weight:bold; padding-right:5px;} +#moduleContainer .moduleDesc p.desc { color:#666; font-family: Georgia; font-style: italic; font-size:12px; display:block; clear:both;} +#moduleContainer .setup {background-color:#6db300; font-weight:bold; font-size:10px; color:#fff; text-transform:uppercase; position:relative; left:10px; padding:0px 4px; display: inline-block; border-radius:3px;} +#moduleContainer .setup.non-install { background-color:#ec7000;} +#moduleContainer .setup.must-have { background-color: #ec7000;} +#moduleContainer .setup.off{ background-color:#ccc; color:#666666} +#moduleContainer .row-actions-module span {padding-right:5px;} +#moduleContainer .row-actions-module span a { font-size:12px;} +#moduleContainer .button.uninstalled, +#moduleContainer .button.installed { float:right; clear:both; margin-top:15px; font-size:12px;} +#moduleContainer ul.listing-grid-module { position:relative; margin:0; padding:0;} +#moduleContainer ul.listing-grid-module li { float:left; border:1px solid #ccc; width:400px; min-height:30px; margin:10px; padding:5px; border-radius:4px;} +#moduleContainer .moduleGridDesc { position:relative; display:block; height:30px;} +#moduleContainer .moduleGridDesc h3 { color:#3A6EA7; margin:0;} +#moduleContainer ul.listing-grid-module li select { position:absolute; top:0; right:0px; } + +/*TAB MODULES LIST*/ + +#modules_list_container_tab #modules_list_container_content{ + list-style-type:none; + padding:0; + margin:0; + white-space: nowrap; + overflow: auto; + height: 370px; +} +#modules_list_container_tab #modules_list_container_content li{display:inline-block;} +#modules_list_container_tab table tr th { height:40px;} +#modules_list_container_tab table tr td { font-size:12px; padding: 3px 3px 3px; border-top:1px solid #ccc; border-bottom:none;} +#modules_list_container_tab table tr td tr td {border: none} +#modules_list_container_tab table tr:first-child {border-top:1px solid #ccc} +#modules_list_container_tab .imgm {width:32px;} +#modules_list_container_tab .moduleDesc {font-size:12px} +#modules_list_container_tab .moduleDesc h3 { color:#3A6EA7;margin: 0;font-size: 1.1em;text-align: left;white-space: normal;} +#modules_list_container_tab .moduleDesc .metadata { float:left; display:block; margin:5px 0;} +#modules_list_container_tab .moduleDesc .metadata dl { float:left; margin:0; padding-right:10px;} +#modules_list_container_tab .moduleDesc .metadata dl dt, .moduleDesc .metadata dl dd { float:left; margin:0; padding:0;} +#modules_list_container_tab .moduleDesc .metadata dl dd { padding-right:10px;} +#modules_list_container_tab .moduleDesc .metadata dl dt { font-weight:bold; padding-right:5px;} +#modules_list_container_tab .moduleDesc p.desc { color:#666; font-family: Georgia; font-style: italic; font-size:12px; text-align: left;white-space: normal;} +#modules_list_container_tab .setup {background-color:#6db300; font-weight:bold; font-size:10px; color:#fff; text-transform:uppercase; padding:0 10px; display: inline-block; border-radius:3px;} +#modules_list_container_tab .row-actions-module {float: right;} +#modules_list_container_tab .setup.non-install { background-color:#ec7000;} +#modules_list_container_tab .setup.must-have { background-color: #ec7000;} +#modules_list_container_tab .setup.off{ background-color:#ccc; color:#666666} +#modules_list_container_tab .row-actions-module span { padding-right:5px;} +#modules_list_container_tab .row-actions-module span a { font-size:12px;} +#modules_list_container_tab ul.listing-grid-module { position:relative; margin:0; padding:0;} +#modules_list_container_tab ul.listing-grid-module li { float:left; border:1px solid #ccc; width:400px; min-height:30px; margin:10px; padding:5px; border-radius:4px;} +#modules_list_container_tab .moduleGridDesc { position:relative; display:block; height:30px;} +#modules_list_container_tab .moduleGridDesc h3 { color:#3A6EA7; margin:0;} +#modules_list_container_tab ul.listing-grid-module li select { position:absolute; top:0; right:0px; } + +.default_modules_list_display_type #modules_list_container_content li table tr td{border: none} +.default_modules_list_display_type #modules_list_container_content li table {border:solid 1px #ccc;height:105px;width:100%;margin-bottom:10px} +#modules_list_container_tab ul li {height:105px} + + /******** ie7 ******/ + .ie7 #modules_list_container_tab #modules_list_container_content li{zoom:1;display:inline;} + .ie7 #modules_list_container_content li table {width: 21%;} + .ie7 #modules_list_container_content li table td .btn_right{width:100%;float:right;} + .ie7 #modules_list_container_content li table td .btn_right select{float:left;} + .ie7 #modules_list_container_content li table td a.button{display:block;float:right;} + +/*MODULE POSITION*/ +.blocLiveEdit { float:right; clear:right; background-color: #EBEDF4; border: 1px solid #C2C4D9;display: block; width:250px;} +.blocLiveEdit h2 { background: transparent url('../img/live_edit.png') no-repeat scroll 10px 10px; height: 40px; line-height: 50px;margin: 0; padding: 0 10px; text-indent: 40px;} +.blocLiveEdit p { padding: 0 10px;} +.blocLiveEdit a.button {float: left; margin:10px; display: inline-block;} + + +#modulePosition { width:100%; float:left; clear:left;} +#modulePosition .table tr th { height:40px;} +#modulePosition form{ margin-right:270px;} +#modulePosition .lab_modules_positions h3 { color:#3A6EA7; margin:0 0 0 10px; float:left;} +#modulePosition .lab_modules_positions p { font-family:Georgia; font-style: italic; font-size:12px; padding-left:40px; clear:both;} +#modulePosition .lab_modules_positions span { font-size:12px; padding-top:4px; padding-left:5px; float:left; } + +select#show_modules { font-size:12px;} + +label.text { padding:1px 12px 0 0;} +label.radioCheck {font-weight:normal; padding:0; float:none; margin:0 1em 0 0.25em} + +.listForm {} +ul.listForm {} +ul.listForm li {padding-bottom:3px;} + + +/*FOOTER*/ +#footer {height:40px; font-size:12px;clear:both;font-size:0.9em;color:#666666} +#footer .footerLeft { float:left; margin-left:10px;} +#footer .footerRight {float:right; margin-right:10px;} +#footer .footer_link, #footer .footer_link:hover { color:#268CCD;} + +/*DASHBOARD*/ +.pageTitleHome { font-size: 1.6em; font-weight: normal; margin:0; padding:10px 0;} +.pageTitleHome h3 { font-weight: normal; margin:0;} +#dashboard { background-color: #EBEDF4; border: 1px solid #C2C4D9; display: block; padding: 10px; position: relative; min-width:1200px;} +#dashboard h2 {font-size: 1.4em; font-weight:normal; margin:0 0 15px 0;} +#iframe {} +#iframe #video-content { float:left;} +#iframe {position:relative; display:block; min-height:180px;} +#adminpresentation #video { float:left; padding-right:15px; min-height:150px;} +#adminpresentation #video a { position:relative; height:128px; width:220px; display:block; padding:6px; } +#adminpresentation #video a img { } +#adminpresentation #video a span {background: transparent url("../img/play.png") no-repeat scroll left top; height:128px; width:220px; position:absolute; top:0; left:0; z-index:1; display:block; border:6px solid #fff; border-radius:3px; } +#adminpresentation #video a span:hover {background-position:left bottom;border:6px solid #C2C4D9; transition:background 0.5s;} +#adminpresentation #video-content { padding-left:10px; min-height:150px; } +#adminpresentation #video-content p { font-size:20px; line-height: 26px; color:#585A69; text-shadow: 0 1px 0 #fff;} + +.view-modules { float:right; margin: 10px 0;} +.view-modules li { float:left;} +.view-modules li img { padding-right:5px;} +.view-modules li.normal-view-disabled { background: -moz-linear-gradient(center top ,#cccccc, #F9F9F9 ) repeat scroll 0 0 transparent; border-bottom-right-radius: 0; border-right: 1px solid #ccc; border-top-right-radius: 0; color:#999; } +.view-modules li.favorites-view-disabled { background: -moz-linear-gradient(center top ,#cccccc, #F9F9F9 ) repeat scroll 0 0 transparent; border-bottom-left-radius: 0; border-left: 1px solid #fff; border-top-left-radius: 0; color:#999; } +.view-modules li.normal-view-disabled:hover, +.view-modules li.favorites-view-disabled:hover {border-color: #CCCCCC #BBBBBB #A0A0A0;} +.view-modules li.favorites-view {border-bottom-left-radius: 0;border-left: 1px solid #fff; border-top-left-radius: 0;} +.view-modules li.normal-view {border-bottom-right-radius: 0;border-right: 1px solid #ccc; border-top-right-radius: 0;} + +.margin-form select.chosen{width: 200px;} + +.selected-line {background:#fff1b5;} + +#changedFiles ul{list-style-type: square; padding-left: 40px;} + +.tooltip { position: relative; } +.tooltip .tooltip_content { + z-index: 100; + text-align: left; + display: none; + white-space: nowrap; + position: absolute; + padding: 5px 5px; + background: black; + color: white; + box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); + margin-top: 5px; +} +.tooltip .tooltip_label { cursor: pointer; } +.tooltip .title { text-align: center; padding-bottom: 5px; display: block; font-weight: bold } +.tooltip:hover .tooltip_content { display: block; } +.tooltip_button { + border: 1px solid silver; + border-radius: 3px; + padding: 0 3px; + background: -moz-linear-gradient(top, #ddd, #aaa); + background: -o-linear-gradient(top, #ddd, #aaa); + background: -webkit-linear-gradient(top, #ddd, #aaa); + background: linear-gradient(top, #ddd, #aaa); + color: #666 +} + +/******** CREATE AN ORDER **************/ + +#carrier_form label{padding-top:0} +#carrier_form input{margin-top:3px} + +/************** SCENE *****************/ + +#large_scene_image{clear:both;border:1px solid transparent;} diff --git a/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form.tpl index 63657c3a6..47d0768b0 100644 --- a/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form.tpl @@ -32,7 +32,7 @@ {if $input.name == 'zones'} {include file='controllers/carrier_wizard/helpers/form/form_ranges.tpl'} diff --git a/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form_ranges.tpl b/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form_ranges.tpl index 62de5babd..879ff921d 100644 --- a/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form_ranges.tpl +++ b/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form_ranges.tpl @@ -49,7 +49,9 @@ All - + + + {foreach from=$ranges key=r item=range}
diff --git a/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/view/view.tpl index fd3fc56ec..b81b8ebf6 100644 --- a/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/carrier_wizard/helpers/view/view.tpl @@ -41,6 +41,7 @@ var PS_WEIGHT_UNIT = '{$PS_WEIGHT_UNIT}'; var invalid_range = '{l s='This range is not valid' js=1}'; var range_is_overlapping = '{l s='Ranges are overlapping' js=1}'; + var multistore_enable = '{$multistore_enable}';
diff --git a/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl b/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl index 96b7b4b51..c1705925b 100644 --- a/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl +++ b/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl @@ -25,14 +25,12 @@ @@ -44,16 +42,16 @@
- {l s='It will be displayed only for the following zones:'} + {l s='This carrier will be proposed for those delivery zones:'}
    - {l s='It will be displayed only for the following groups:'} + {l s='And it will be proposed for those client groups:'}
      {if $is_multishop}
      - {l s='It will be displayed only for the following shops:'} + {l s='Finally, this carrier will be proposed in those shops:'}
        {/if} diff --git a/admin-dev/themes/default/template/controllers/home/content.tpl b/admin-dev/themes/default/template/controllers/home/content.tpl index 1c1f002b9..05608346e 100644 --- a/admin-dev/themes/default/template/controllers/home/content.tpl +++ b/admin-dev/themes/default/template/controllers/home/content.tpl @@ -56,11 +56,11 @@ {hook h="displayAdminHomeQuickLinks"}
        -

        +

        {l s='Loading...'}

        {$tips_optimization} -

        {l s='Loading...'}

        +

         {l s='Loading...'}

        {hook h="displayAdminHomeInfos"} {hook h="displayBackOfficeHome"} {*old name of the hook*}
        @@ -153,11 +153,36 @@ $(document).ready(function() { { // don't show/hide screencast if it's deactivated {if $employee->bo_show_screencast} - $('#adminpresentation').fadeOut('slow'); + $('#adminpresentation').fadeOut('slow'); {/if} $('#partner_preactivation').fadeOut('slow'); $('#discover_prestashop').fadeOut('slow'); } }); +<<<<<<< HEAD +======= + $('#screencast_fancybox').bind('click', function(event) + { + $.fancybox( + this.href, + { + 'width' : 920, + 'height' : 384, + 'transitionIn' : 'none', + 'transitionOut' : 'none', + 'type' : 'iframe', + 'scrolling' : 'no', + 'onComplete' : function() + { + // Rewrite some css properties of Fancybox + $('#fancybox-wrap').css('width', ''); + $('#fancybox-content').css('background-color', ''); + $('#fancybox-content').css( 'border', ''); + } + }); + + event.preventDefault(); + }); +>>>>>>> db4b69d10c20e6fe6bbdfe5f08556cb57eeb2415 }); diff --git a/admin-dev/themes/default/template/controllers/localization/content.tpl b/admin-dev/themes/default/template/controllers/localization/content.tpl index d8dffecf0..c5b409400 100644 --- a/admin-dev/themes/default/template/controllers/localization/content.tpl +++ b/admin-dev/themes/default/template/controllers/localization/content.tpl @@ -26,6 +26,10 @@ {include file="page_header_toolbar.tpl" toolbar_btn=$page_header_toolbar_btn title=$page_header_toolbar_title} {/if} -{$localization_form} - -{$localization_options} +
        + {if isset($localization_form)}{$localization_form}{/if} +
        +
        +
        + {if isset($localization_options)}{$localization_options}{/if} +
        \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/orders/_customized_data.tpl b/admin-dev/themes/default/template/controllers/orders/_customized_data.tpl index aa43c31b8..7740fcdce 100755 --- a/admin-dev/themes/default/template/controllers/orders/_customized_data.tpl +++ b/admin-dev/themes/default/template/controllers/orders/_customized_data.tpl @@ -23,134 +23,128 @@ * International Registered Trademark & Property of PrestaShop SA *} {if $product['customizedDatas']} - - - + + + + {if isset($product['image']) && $product['image']->id|intval}{$product['image_tag']}{else}--{/if} + + + {$product['product_name']} - {l s='Customized'}
        + {if ($product['product_reference'])}{l s='Ref:'} {$product['product_reference']}
        {/if} + {if ($product['product_supplier_reference'])}{l s='Ref Supplier:'} {$product['product_supplier_reference']}{/if} +
        + + + {displayPrice price=$product['product_price_wt'] currency=$currency->id|intval} + {if $can_edit} + + {/if} + + {$product['customizationQuantityTotal']} + {if $display_warehouse} {/if} + {if ($order->hasBeenPaid())}{$product['customizationQuantityRefunded']}{/if} + {if ($order->hasBeenDelivered() || $order->hasProductReturned())}{$product['customizationQuantityReturned']}{/if} + {if $stock_management} - {/if} + + {if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)} + {displayPrice price=Tools::ps_round($product['product_price'] * $product['customizationQuantityTotal'], 2) currency=$currency->id|intval} + {else} + {displayPrice price=Tools::ps_round($product['product_price_wt'] * $product['customizationQuantityTotal'], 2) currency=$currency->id|intval} + {/if} + + +   + +   + + {if ($can_edit && !$order->hasBeenDelivered())} + + {l s='Edit'} + + + {l s='Delete'} + + {/if} + + {foreach $product['customizedDatas'] as $customizationPerAddress} + {foreach $customizationPerAddress as $customizationId => $customization} + + - {if isset($product['image']) && $product['image']->id|intval}{$product['image_tag']}{else}--{/if} - - - {$product['product_name']} - {l s='Customized'}
        - {if ($product['product_reference'])}{l s='Ref:'} {$product['product_reference']}
        {/if} - {if ($product['product_supplier_reference'])}{l s='Ref Supplier:'} {$product['product_supplier_reference']}{/if} -
        - - - {displayPrice price=$product['product_price_wt'] currency=$currency->id|intval} - {if $can_edit} - + {foreach $customization.datas as $type => $datas} + {if ($type == Product::CUSTOMIZE_FILE)} + + {elseif ($type == Product::CUSTOMIZE_TEXTFIELD)} + {/if} - - {$product['customizationQuantityTotal']} - {if ($order->hasBeenPaid())}{$product['customizationQuantityRefunded']}{/if} - {if ($order->hasBeenDelivered() || $order->hasProductReturned())}{$product['customizationQuantityReturned']}{/if} - {if $stock_management} - {/if} - - {if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)} - {displayPrice price=Tools::ps_round($product['product_price'] * $product['customizationQuantityTotal'], 2) currency=$currency->id|intval} - {else} - {displayPrice price=Tools::ps_round($product['product_price_wt'] * $product['customizationQuantityTotal'], 2) currency=$currency->id|intval} - {/if} - - -   - -   - - {if ($can_edit && !$order->hasBeenDelivered())} - - {l s='Edit'} - - - {l s='Delete'} - - {/if} - - {foreach $product['customizedDatas'] as $customizationPerAddress} - {foreach $customizationPerAddress as $customizationId => $customization} - - - - {foreach $customization.datas as $type => $datas} - {if ($type == Product::CUSTOMIZE_FILE)} - - {elseif ($type == Product::CUSTOMIZE_TEXTFIELD)} - - {/if} - {/foreach} - - - - - - {$customization['quantity']} - {if $can_edit} - - {/if} - - {if ($order->hasBeenPaid())}{$customization['quantity_refunded']}{/if} - {if ($order->hasBeenDelivered())}{$customization['quantity_returned']}{/if} - - - - - - {if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)} - {displayPrice price=Tools::ps_round($product['product_price'] * $customization['quantity'], 2) currency=$currency->id|intval} - {else} - {displayPrice price=Tools::ps_round($product['product_price_wt'] * $customization['quantity'], 2) currency=$currency->id|intval} - {/if} - - - - - - {if ((!$order->hasBeenDelivered() OR Configuration::get('PS_ORDER_RETURN')) AND (int)($customization['quantity_returned']) < (int)($customization['quantity']))} - = $product['product_quantity'])}disabled="disabled" {/if}/> - {else} - -- - {/if} - - - {if ($customization['quantity_returned'] + $customization['quantity_refunded'] >= $customization['quantity'])} - - {elseif (!$order->hasBeenDelivered() OR Configuration::get('PS_ORDER_RETURN'))} - 0/{$customization['quantity']-$customization['quantity_refunded']} - {/if} - - - - - - {if ($can_edit && !$order->hasBeenDelivered())} - - - {/if} - {/foreach} + + - + + + {$customization['quantity']} + {if $can_edit} + + {/if} + + {if $display_warehouse} {/if} + {if ($order->hasBeenPaid())}{$customization['quantity_refunded']}{/if} + {if ($order->hasBeenDelivered())}{$customization['quantity_returned']}{/if} + + - + + + {if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)} + {displayPrice price=Tools::ps_round($product['product_price'] * $customization['quantity'], 2) currency=$currency->id|intval} + {else} + {displayPrice price=Tools::ps_round($product['product_price_wt'] * $customization['quantity'], 2) currency=$currency->id|intval} + {/if} + + + + + + {if ((!$order->hasBeenDelivered() OR Configuration::get('PS_ORDER_RETURN')) AND (int)($customization['quantity_returned']) < (int)($customization['quantity']))} + = $product['product_quantity'])}disabled="disabled" {/if}/> + {else} + -- + {/if} + + + {if ($customization['quantity_returned'] + $customization['quantity_refunded'] >= $customization['quantity'])} + + {elseif (!$order->hasBeenDelivered() OR Configuration::get('PS_ORDER_RETURN'))} + 0/{$customization['quantity']-$customization['quantity_refunded']} + {/if} + + +
        {l s='Quantity:'}
        + 0/{$customization['quantity']-$customization['quantity_refunded']} +
        +
        {l s='Amount:'}
        {$currency->prefix}{$currency->suffix}
        + + {if ($can_edit && !$order->hasBeenDelivered())} + + + {/if} + {/foreach} - + {/foreach} {/if} diff --git a/admin-dev/themes/default/template/controllers/orders/_new_product.tpl b/admin-dev/themes/default/template/controllers/orders/_new_product.tpl index cb7284b7f..381be5cdc 100644 --- a/admin-dev/themes/default/template/controllers/orders/_new_product.tpl +++ b/admin-dev/themes/default/template/controllers/orders/_new_product.tpl @@ -22,75 +22,57 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} - - - - - - - - - - {if $currency->sign % 2}{$currency->sign}{/if} - - {if !($currency->sign % 2)}{$currency->sign}{/if} - {l s='tax excl.'} - - {if $currency->sign % 2}{$currency->sign}{/if} - - {if !($currency->sign % 2)}{$currency->sign}{/if} - {l s='tax incl.'} - - - - - - {if ($order->hasBeenPaid())} {/if} - {if ($order->hasBeenDelivered())} {/if} - 0 - {displayPrice price=0 currency=$currency->id} - - {if sizeof($invoices_collection)} - + {l s='Product:'} + + + + + {if $currency->sign % 2}{$currency->sign}{/if} {if !($currency->sign % 2)}{$currency->sign}{/if} {l s='tax excl.'}
        + {if $currency->sign % 2}{$currency->sign}{/if} {if !($currency->sign % 2)}{$currency->sign}{/if} {l s='tax incl.'}
        + + + {if ($order->hasBeenPaid())} {/if} + {if $display_warehouse} {/if} + {if ($order->hasBeenDelivered())} {/if} + 0 + {displayPrice price=0 currency=$currency->id} + + {if sizeof($invoices_collection)} + + {/if} + + + + + + + +

        {l s='New invoice information'}

        + +
        + {$carrier->name} +
        +
        + + +

        {l s='If you don\'t select "Free shipping," the normal shipping cost will be applied.'}

        +
        + + diff --git a/admin-dev/themes/default/template/controllers/orders/_product_line.tpl b/admin-dev/themes/default/template/controllers/orders/_product_line.tpl index cf4a7f4b1..930f907be 100755 --- a/admin-dev/themes/default/template/controllers/orders/_product_line.tpl +++ b/admin-dev/themes/default/template/controllers/orders/_product_line.tpl @@ -31,157 +31,124 @@ {/if} {if ($product['product_quantity'] > $product['customizationQuantityTotal'])} - - id && isset($product.image_size)} height="{$product['image_size'][1] + 7}"{/if}> - {if isset($product.image) && $product.image->id}{$product.image_tag}{/if} - - - {$product['product_name']}
        - {if $product.product_reference}{l s='Ref:'} {$product.product_reference}
        {/if} - {if $product.product_supplier_reference}{l s='Ref Supplier:'} {$product.product_supplier_reference}{/if} -
        - - - {displayPrice price=$product_price currency=$currency->id} - {if $can_edit} -
        '; - if (version_compare(_PS_VERSION_,'1.5','<')) - $return .= $this->displayFlags($languages, $default_form_language, 'flag_fields', 'url_name', true, true); + $return .= '
        @@ -607,9 +607,7 @@ class BlockLayered extends Module

        '.$this->l('Specific format for meta title').'

        '; - - if (version_compare(_PS_VERSION_,'1.5','<')) - $return .= $this->displayFlags($languages, $default_form_language, 'flag_fields', 'meta_title', true, true); + $return .= '
        @@ -651,13 +649,10 @@ class BlockLayered extends Module $default_form_language = (int)(Configuration::get('PS_LANG_DEFAULT')); $lang_value = array(); - if (version_compare(_PS_VERSION_,'1.5','>')) - $return = ' + $return = ' '; - else - $return = ''; $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS( 'SELECT url_name, meta_title, id_lang FROM '._DB_PREFIX_.'layered_indexable_attribute_lang_value @@ -679,8 +674,7 @@ class BlockLayered extends Module '.$this->l('Invalid characters:').' <>;=#{}_ 

        '.$this->l('Specific URL format in block layered generation').'

        '; - if (version_compare(_PS_VERSION_,'1.5','<')) - $return .= $this->displayFlags($languages, $default_form_language, 'flag_fields', 'url_name', true, true); + $return .= '
        @@ -694,8 +688,7 @@ class BlockLayered extends Module

        '.$this->l('Specific format for meta title').'

        '; - if (version_compare(_PS_VERSION_,'1.5','<')) - $return .= $this->displayFlags($languages, $default_form_language, 'flag_fields', 'meta_title', true, true); + $return .= '
        @@ -784,13 +777,10 @@ class BlockLayered extends Module else $on = (bool)$indexable; - if (version_compare(_PS_VERSION_,'1.5','>')) - $return = ' - '; - else - $return = ''; + $return = ' + '; $return .= '
        @@ -806,8 +796,7 @@ class BlockLayered extends Module '.$this->l('Invalid characters:').' <>;=#{}_ 

        '.$this->l('Specific URL format in block layered generation').'

        '; - if (version_compare(_PS_VERSION_,'1.5','<')) - $return .= $this->displayFlags($languages, $default_form_language, 'flag_fields', 'url_name', true, true); + $return .= '
        @@ -821,8 +810,7 @@ class BlockLayered extends Module

        '.$this->l('Specific format for meta title').'

        '; - if (version_compare(_PS_VERSION_,'1.5','<')) - $return .= $this->displayFlags($languages, $default_form_language, 'flag_fields', 'meta_title', true, true); + $return .= '
        @@ -858,13 +846,10 @@ class BlockLayered extends Module else $on = (bool)$indexable; - if (version_compare(_PS_VERSION_,'1.5','>')) - $return = ' - '; - else - $return = ''; + $return = ' + '; $return .= '
        @@ -880,8 +865,7 @@ class BlockLayered extends Module '.$this->l('Invalid characters:').' <>;=#{}_ 

        '.$this->l('Specific URL format in block layered generation').'

        '; - if (version_compare(_PS_VERSION_,'1.5','<')) - $return .= $this->displayFlags($languages, $default_form_language, 'flag_fields', 'url_name', true, true); + $return .= '
        @@ -895,8 +879,7 @@ class BlockLayered extends Module

        '.$this->l('Specific format for meta title').'

        '; - if (version_compare(_PS_VERSION_,'1.5','<')) - $return .= $this->displayFlags($languages, $default_form_language, 'flag_fields', 'meta_title', true, true); + $return .= '
        @@ -934,30 +917,18 @@ class BlockLayered extends Module private static function indexPrices($cursor = null, $full = false, $ajax = false, $smart = false) { if ($full) - if (version_compare(_PS_VERSION_,'1.5','>')) - $nb_products = (int)Db::getInstance()->getValue(' - SELECT count(DISTINCT p.`id_product`) - FROM '._DB_PREFIX_.'product p - INNER JOIN `'._DB_PREFIX_.'product_shop` ps - ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1)'); + $nb_products = (int)Db::getInstance()->getValue(' + SELECT count(DISTINCT p.`id_product`) + FROM '._DB_PREFIX_.'product p + INNER JOIN `'._DB_PREFIX_.'product_shop` ps + ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1 AND ps.`visibility` IN ("both", "catalog"))'); else - $nb_products = (int)Db::getInstance()->getValue(' - SELECT count(DISTINCT p.`id_product`) - FROM '._DB_PREFIX_.'product p - WHERE `active` = 1'); - else - if (version_compare(_PS_VERSION_,'1.5','>')) - $nb_products = (int)Db::getInstance()->getValue(' - SELECT COUNT(DISTINCT p.`id_product`) FROM `'._DB_PREFIX_.'product` p - INNER JOIN `'._DB_PREFIX_.'product_shop` ps - ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1) - LEFT JOIN `'._DB_PREFIX_.'layered_price_index` psi ON (psi.id_product = p.id_product) - WHERE psi.id_product IS NULL'); - else - $nb_products = (int)Db::getInstance()->getValue(' - SELECT COUNT(DISTINCT p.`id_product`) FROM `'._DB_PREFIX_.'product` p - LEFT JOIN `'._DB_PREFIX_.'layered_price_index` psi ON (psi.id_product = p.id_product) - WHERE `active` = 1 AND psi.id_product IS NULL'); + $nb_products = (int)Db::getInstance()->getValue(' + SELECT COUNT(DISTINCT p.`id_product`) FROM `'._DB_PREFIX_.'product` p + INNER JOIN `'._DB_PREFIX_.'product_shop` ps + ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1 AND ps.`visibility` IN ("both", "catalog")) + LEFT JOIN `'._DB_PREFIX_.'layered_price_index` psi ON (psi.id_product = p.id_product) + WHERE psi.id_product IS NULL'); $max_executiontime = @ini_get('max_execution_time'); if ($max_executiontime > 5 || $max_executiontime <= 0) @@ -990,11 +961,8 @@ class BlockLayered extends Module return '{"cursor": '.$cursor.', "count": '.($nb_products).'}'; else { - if (version_compare(_PS_VERSION_,'1.5','>')) - Configuration::updateGlobalValue('PS_LAYERED_INDEXED', 1); - else - Configuration::updateValue('PS_LAYERED_INDEXED', 1); - + Configuration::updateGlobalValue('PS_LAYERED_INDEXED', 1); + if ($ajax) return '{"result": "ok"}'; else @@ -1013,40 +981,23 @@ class BlockLayered extends Module $cursor = 0; if ($full) - if (version_compare(_PS_VERSION_,'1.5','>')) $query = ' SELECT p.`id_product` FROM `'._DB_PREFIX_.'product` p INNER JOIN `'._DB_PREFIX_.'product_shop` ps - ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1) - GROUP BY p.`id_product` - ORDER BY p.`id_product` LIMIT '.(int)$cursor.','.(int)$length; - else - $query = ' - SELECT p.`id_product` - FROM `'._DB_PREFIX_.'product` p - WHERE `active` = 1 + ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1 AND ps.`visibility` IN ("both", "catalog")) GROUP BY p.`id_product` ORDER BY p.`id_product` LIMIT '.(int)$cursor.','.(int)$length; else - if (version_compare(_PS_VERSION_,'1.5','>')) $query = ' SELECT p.`id_product` FROM `'._DB_PREFIX_.'product` p INNER JOIN `'._DB_PREFIX_.'product_shop` ps - ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1) + ON (ps.`id_product` = p.`id_product` AND ps.`active` = 1 AND ps.`visibility` IN ("both", "catalog")) LEFT JOIN `'._DB_PREFIX_.'layered_price_index` psi ON (psi.id_product = p.id_product) WHERE psi.id_product IS NULL GROUP BY p.`id_product` ORDER BY p.`id_product` LIMIT 0,'.(int)$length; - else - $query = ' - SELECT p.`id_product` - FROM `'._DB_PREFIX_.'product` p - LEFT JOIN `'._DB_PREFIX_.'layered_price_index` psi ON (psi.id_product = p.id_product) - WHERE `active` = 1 AND psi.id_product IS NULL - GROUP BY p.`id_product` - ORDER BY p.`id_product` LIMIT 0,'.(int)$length; foreach (Db::getInstance()->executeS($query) as $product) self::indexProductPrices((int)$product['id_product'], ($smart && $full)); @@ -1065,24 +1016,15 @@ class BlockLayered extends Module $groups = array(); } - $shop_list = array(); - if (version_compare(_PS_VERSION_,'1.5','>')) - $shop_list = Shop::getShops(false, null, true); - else - $shop_list[] = 0; + $shop_list = Shop::getShops(false, null, true); foreach ($shop_list as $id_shop) { static $currency_list = null; if (is_null($currency_list)) - { - if (version_compare(_PS_VERSION_,'1.5','>')) - $currency_list = Currency::getCurrencies(false, 1, new Shop($id_shop)); - else - $currency_list = Currency::getCurrencies(false, 1); - } - + $currency_list = Currency::getCurrencies(false, 1, new Shop($id_shop)); + $min_price = array(); $max_price = array(); @@ -1090,26 +1032,14 @@ class BlockLayered extends Module Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'layered_price_index` WHERE `id_product` = '.(int)$id_product.' AND `id_shop` = '.(int)$id_shop); if (Configuration::get('PS_LAYERED_FILTER_PRICE_USETAX')) - { - if (version_compare(_PS_VERSION_,'1.5','>')) - $max_tax_rate = Db::getInstance()->getValue(' - SELECT max(t.rate) max_rate - FROM `'._DB_PREFIX_.'product_shop` p - LEFT JOIN `'._DB_PREFIX_.'tax_rules_group` trg ON (trg.id_tax_rules_group = p.id_tax_rules_group AND p.id_shop = '.(int)$shop_list.') - LEFT JOIN `'._DB_PREFIX_.'tax_rule` tr ON (tr.id_tax_rules_group = trg.id_tax_rules_group) - LEFT JOIN `'._DB_PREFIX_.'tax` t ON (t.id_tax = tr.id_tax AND t.active = 1) - WHERE id_product = '.(int)$id_product.' - GROUP BY id_product'); - else - $max_tax_rate = Db::getInstance()->getValue(' - SELECT max(t.rate) max_rate - FROM `'._DB_PREFIX_.'product` p - LEFT JOIN `'._DB_PREFIX_.'tax_rules_group` trg ON (trg.id_tax_rules_group = p.id_tax_rules_group) - LEFT JOIN `'._DB_PREFIX_.'tax_rule` tr ON (tr.id_tax_rules_group = trg.id_tax_rules_group) - LEFT JOIN `'._DB_PREFIX_.'tax` t ON (t.id_tax = tr.id_tax AND t.active = 1) - WHERE id_product = '.(int)$id_product.' - GROUP BY id_product'); - } + $max_tax_rate = Db::getInstance()->getValue(' + SELECT max(t.rate) max_rate + FROM `'._DB_PREFIX_.'product_shop` p + LEFT JOIN `'._DB_PREFIX_.'tax_rules_group` trg ON (trg.id_tax_rules_group = p.id_tax_rules_group AND p.id_shop = '.(int)$shop_list.') + LEFT JOIN `'._DB_PREFIX_.'tax_rule` tr ON (tr.id_tax_rules_group = trg.id_tax_rules_group) + LEFT JOIN `'._DB_PREFIX_.'tax` t ON (t.id_tax = tr.id_tax AND t.active = 1) + WHERE id_product = '.(int)$id_product.' + GROUP BY id_product'); else $max_tax_rate = 0; @@ -1240,10 +1170,7 @@ class BlockLayered extends Module // Title attributes (ex: /, ) $description = strtolower(rtrim(substr($description, 0, -2))); // kewords attributes (ex: , , ) - if (version_compare(_PS_VERSION_, '1.5', '>')) - $category_metas = Meta::getMetaTags($id_lang, 'category', $title); - else - $category_metas = Tools::getMetaTags($id_lang, '', $title); + $category_metas = Meta::getMetaTags($id_lang, 'category', $title); if (!empty($title)) { @@ -1257,22 +1184,12 @@ class BlockLayered extends Module if (!empty($keywords)) $smarty->assign('meta_keywords', rtrim($category_title.', '.$keywords.', '.$category_metas['meta_keywords'], ', ')); - if (version_compare(_PS_VERSION_, '1.5', '>')) - { - $this->context->controller->addJS(($this->_path).'blocklayered.js'); - $this->context->controller->addJS(_PS_JS_DIR_.'jquery/jquery-ui-1.8.10.custom.min.js'); - $this->context->controller->addJQueryUI('ui.slider'); - $this->context->controller->addCSS(($this->_path).'blocklayered-15.css', 'all'); - $this->context->controller->addJQueryPlugin('scrollTo'); - } - else - { - Tools::addJS(($this->_path).'blocklayered.js'); - Tools::addJS(_PS_JS_DIR_.'jquery/jquery-ui-1.8.10.custom.min.js'); - Tools::addCSS(_PS_CSS_DIR_.'jquery-ui-1.8.10.custom.css', 'all'); - Tools::addCSS(($this->_path).'blocklayered.css', 'all'); - Tools::addJS(_PS_JS_DIR_.'jquery/jquery.scrollTo-1.4.2-min.js'); - } + + $this->context->controller->addJS(($this->_path).'blocklayered.js'); + $this->context->controller->addJS(_PS_JS_DIR_.'jquery/jquery-ui-1.8.10.custom.min.js'); + $this->context->controller->addJQueryUI('ui.slider'); + $this->context->controller->addCSS(($this->_path).'blocklayered-15.css', 'all'); + $this->context->controller->addJQueryPlugin('scrollTo'); $filters = $this->getSelectedFilters(); @@ -1352,8 +1269,7 @@ class BlockLayered extends Module if ($filter_block['nbr_filterBlocks'] == 0) return false; - if (basename($_SERVER['PHP_SELF']) == 'category.php' && version_compare(_PS_VERSION_, '1.5', '<') - || version_compare(_PS_VERSION_, '1.5', '>') && Dispatcher::getInstance()->getController() == 'category') + if (Dispatcher::getInstance()->getController() == 'category') return ' - - '; - $id_lang = (int)$cookie->id_lang; - - } + $this->context->controller->addJQueryPlugin('fancybox'); + $this->context->controller->addJQueryUI('ui.sortable'); + $this->context->controller->addJQueryUI('ui.draggable'); + $this->context->controller->addJQueryUI('effects.transfer'); + $id_lang = Context::getContext()->cookie->id_lang; $html .= ' '; } - if (version_compare(_PS_VERSION_,'1.5','>') && !empty($id_layered_filter)) + if (!empty($id_layered_filter)) { if (Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_ALL) { @@ -3858,10 +3689,9 @@ class BlockLayered extends Module public function ajaxCall() { - global $smarty; + global $smarty, $cookie; $selected_filters = $this->getSelectedFilters(); - $this->getProducts($selected_filters, $products, $nb_products, $p, $n, $pages_nb, $start, $stop, $range); // Add pagination variable @@ -3874,8 +3704,8 @@ class BlockLayered extends Module array( 'homeSize' => Image::getSize(ImageType::getFormatedName('home')), 'nb_products' => $nb_products, - 'category' => (object)array('id' => Tools::getValue('id_category_layered', 1)), - 'pages_nb' => (int)($pages_nb), + 'category' => new Category(Tools::getValue('id_category_layered', 1), (int)$cookie->id_lang), + 'pages_nb' => (int)$pages_nb, 'p' => (int)$p, 'n' => (int)$n, 'range' => (int)$range, @@ -3998,12 +3828,11 @@ class BlockLayered extends Module $done_categories = array(); $alias = 'p'; $join_product_attribute = $join_product = ''; - if (version_compare(_PS_VERSION_,'1.5','>')) - { - $alias = 'product_shop'; - $join_product = Shop::addSqlAssociation('product', 'p'); - $join_product_attribute = Shop::addSqlAssociation('product_attribute', 'pa'); - } + + $alias = 'product_shop'; + $join_product = Shop::addSqlAssociation('product', 'p'); + $join_product_attribute = Shop::addSqlAssociation('product_attribute', 'pa'); + $attribute_groups = self::query(' SELECT a.id_attribute, a.id_attribute_group @@ -4016,8 +3845,8 @@ class BlockLayered extends Module LEFT JOIN '._DB_PREFIX_.'category c ON (c.id_category = cp.id_category) WHERE c.active = 1'. (count($categories_ids) ? ' AND cp.id_category IN ('.implode(',', $categories_ids).')' : '').' - AND '.$alias.'.active = 1'. - (count($products_ids) ? ' AND p.id_product IN ('.implode(',', $products_ids).')' : '')); + AND '.$alias.'.active = 1 AND '.$alias.'.`visibility` IN ("both", "catalog") + '.(count($products_ids) ? 'AND p.id_product IN ('.implode(',', $products_ids).')' : '')); $attribute_groups_by_id = array(); while ($row = $db->nextRow($attribute_groups)) @@ -4032,7 +3861,7 @@ class BlockLayered extends Module LEFT JOIN '._DB_PREFIX_.'category_product cp ON (cp.id_product = p.id_product) LEFT JOIN '._DB_PREFIX_.'category c ON (c.id_category = cp.id_category) WHERE (fv.custom IS NULL OR fv.custom = 0) AND c.active = 1'.(count($categories_ids) ? ' AND cp.id_category IN ('.implode(',', $categories_ids).')' : '').' - AND '.$alias.'.active = 1'.(count($products_ids) ? ' AND p.id_product IN ('.implode(',', $products_ids).')' : '')); + AND '.$alias.'.active = 1 AND '.$alias.'.`visibility` IN ("both", "catalog") '.(count($products_ids) ? 'AND p.id_product IN ('.implode(',', $products_ids).')' : '')); $features_by_id = array(); while ($row = $db->nextRow($features)) @@ -4051,17 +3880,14 @@ class BlockLayered extends Module LEFT JOIN '._DB_PREFIX_.'product_attribute pa ON (pa.id_product = p.id_product) '.$join_product.$join_product_attribute.' LEFT JOIN '._DB_PREFIX_.'product_attribute_combination pac ON (pac.id_product_attribute = pa.id_product_attribute) - WHERE c.active = 1'.(count($categories_ids) ? ' AND cp.id_category IN ('.implode(',', $categories_ids).')' : ''). - ' AND '.$alias.'.active = 1'. - (count($products_ids) ? ' AND p.id_product IN ('.implode(',', $products_ids).')' : ''). + WHERE c.active = 1'.(count($categories_ids) ? ' AND cp.id_category IN ('.implode(',', $categories_ids).')' : '').' + AND '.$alias.'.active = 1 AND '.$alias.'.`visibility` IN ("both", "catalog") + '.(count($products_ids) ? 'AND p.id_product IN ('.implode(',', $products_ids).')' : ''). ' AND (fv.custom IS NULL OR fv.custom = 0) GROUP BY p.id_product'); - if (version_compare(_PS_VERSION_,'1.5','>')) - $shop_list = Shop::getShops(false, null, true); - else - $shop_list = array(0); + $shop_list = Shop::getShops(false, null, true); $to_insert = false; while ($product = $db->nextRow($result)) @@ -4143,14 +3969,11 @@ class BlockLayered extends Module Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'layered_filter(name, filters, n_categories, date_add) VALUES (\''.sprintf($this->l('My template %s'), date('Y-m-d')).'\', \''.pSQL(serialize($filter_data)).'\', '.count($filter_data['categories']).', NOW())'); - if (version_compare(_PS_VERSION_,'1.5','>')) - { - $last_id = Db::getInstance()->Insert_ID(); - Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'layered_filter_shop WHERE `id_layered_filter` = '.$last_id); - foreach ($shop_list as $id_shop) - Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'layered_filter_shop (`id_layered_filter`, `id_shop`) - VALUES('.$last_id.', '.(int)$id_shop.')'); - } + $last_id = Db::getInstance()->Insert_ID(); + Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'layered_filter_shop WHERE `id_layered_filter` = '.$last_id); + foreach ($shop_list as $id_shop) + Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'layered_filter_shop (`id_layered_filter`, `id_shop`) + VALUES('.$last_id.', '.(int)$id_shop.')'); $this->buildLayeredCategories(); } @@ -4172,7 +3995,7 @@ class BlockLayered extends Module $values = false; foreach ($res as $filter_template) { - $data = self::unSerialize($filter_template['filters']); + $data = Tools::unSerialize($filter_template['filters']); foreach ($data['categories'] as $id_category) { $n = 0; @@ -4215,18 +4038,4 @@ class BlockLayered extends Module if ($values) Db::getInstance()->execute(rtrim($sql_to_insert, ',')); } - - /** - * Define our own Tools::unSerialize() (since 1.5), to be available in PrestaShop 1.4 - */ - protected static function unSerialize($serialized) - { - if (method_exists('Tools', 'unserialize')) - return Tools::unSerialize($serialized); - - if (is_string($serialized) && (strpos($serialized, 'O:') === false || !preg_match('/(^|;|{|})O:[0-9]+:"/', $serialized))) - return @unserialize($serialized); - - return false; - } } diff --git a/modules/blocklayered/blocklayered.tpl b/modules/blocklayered/blocklayered.tpl index f2102440a..f514f7231 100644 --- a/modules/blocklayered/blocklayered.tpl +++ b/modules/blocklayered/blocklayered.tpl @@ -94,7 +94,7 @@ param_product_url = ''; {if $value.nbr || !$hide_0_values}
      • {if isset($filter.is_color_group) && $filter.is_color_group} - + {if isset($value.checked) && $value.checked}{/if} {else} @@ -115,7 +115,7 @@ param_product_url = ''; {if $value.nbr || !$hide_0_values}
      • {if isset($filter.is_color_group) && $filter.is_color_group} - + {if isset($value.checked) && $value.checked}{/if} {else} diff --git a/modules/blocklayered/config.xml b/modules/blocklayered/config.xml index da98eb84b..e6b78b59b 100644 --- a/modules/blocklayered/config.xml +++ b/modules/blocklayered/config.xml @@ -1,9 +1,9 @@ blocklayered - + - + 1 diff --git a/modules/blockmanufacturer/config.xml b/modules/blockmanufacturer/config.xml index 4912655e5..666c6ee0c 100755 --- a/modules/blockmanufacturer/config.xml +++ b/modules/blockmanufacturer/config.xml @@ -1,9 +1,9 @@ blockmanufacturer - + - + 1 diff --git a/modules/blockmyaccountfooter/blockmyaccount.css b/modules/blockmyaccountfooter/blockmyaccount.css index 0d416fbcf..38720d562 100644 --- a/modules/blockmyaccountfooter/blockmyaccount.css +++ b/modules/blockmyaccountfooter/blockmyaccount.css @@ -1,6 +1,7 @@ /* block myaccount */ -.myaccount ul {margin-bottom:10px} -.myaccount li {border-bottom: 1px solid #eee} +.myaccount ul {margin-bottom:10px;} +.myaccount .bullet .icon {display: none;} +.myaccount li {border-bottom: 1px solid #eee;} .myaccount li a { display: block; padding: 7px 11px 5px 22px; @@ -10,16 +11,14 @@ .myaccount p.logout { padding-bottom:0; font-weight:bold; - text-align:right + text-align:right; } - - /* block myaccount in footer */ #footer .myaccount .title_block, #footer .myaccount h4 {background: none;} #footer .myaccount .logout {display:none;} #footer .myaccount .title_block, #footer .myaccount h4 { padding:0 0 10px 0; - background:none + background:none; } #footer .myaccount ul {margin-bottom:0} #footer .myaccount li {border-bottom:none} @@ -27,7 +26,6 @@ display: block; padding:0; color: #fff; - background: none -} -#footer .myaccount li.lnk_wishlist img {display:none + background: none; } +#footer .myaccount li.lnk_wishlist img {display:none;} \ No newline at end of file diff --git a/modules/blocknewproducts/blocknewproducts.php b/modules/blocknewproducts/blocknewproducts.php index d5ca90eda..ae04a77ee 100644 --- a/modules/blocknewproducts/blocknewproducts.php +++ b/modules/blocknewproducts/blocknewproducts.php @@ -111,7 +111,10 @@ class BlockNewProducts extends Module { if (!$this->isCached('blocknewproducts.tpl', $this->getCacheId())) { - if (!Configuration::get('PS_BLOCK_NEWPRODUCTS_DISPLAY') && !($newProducts = Product::getNewProducts((int)$params['cookie']->id_lang, 0, (int)Configuration::get('NEW_PRODUCTS_NBR')))) + if (!Configuration::get('PS_BLOCK_NEWPRODUCTS_DISPLAY')) + return; + $newProducts = Product::getNewProducts((int) $params['cookie']->id_lang, 0, (int) Configuration::get('NEW_PRODUCTS_NBR')); + if (!$newProducts) return; $this->smarty->assign(array( @@ -151,4 +154,4 @@ class BlockNewProducts extends Module { $this->_clearCache('blocknewproducts.tpl'); } -} \ No newline at end of file +} diff --git a/modules/blocknewsletter/config.xml b/modules/blocknewsletter/config.xml index 15b6e2ed3..8b72918bf 100755 --- a/modules/blocknewsletter/config.xml +++ b/modules/blocknewsletter/config.xml @@ -1,12 +1,12 @@ blocknewsletter - + - + - Êtes-vous sûr de vouloir supprimer tous vos contacts ? + Are you sure that you want to delete all of your contacts? 1 0 diff --git a/modules/blockrss/config.xml b/modules/blockrss/config.xml index 7f1ab5e77..6a3234ec4 100755 --- a/modules/blockrss/config.xml +++ b/modules/blockrss/config.xml @@ -1,9 +1,9 @@ blockrss - + - + 1 diff --git a/modules/blocksearch/blocksearch.php b/modules/blocksearch/blocksearch.php index 48d1a70c1..0d8ffbb8a 100644 --- a/modules/blocksearch/blocksearch.php +++ b/modules/blocksearch/blocksearch.php @@ -80,23 +80,24 @@ public function hookDisplayMobileHeader($params) public function hookRightColumn($params) { - if (!$this->isCached('blocksearch.tpl', $this->getCacheId())) + + if (Tools::getValue('search_query') || !$this->isCached('blocksearch.tpl', $this->getCacheId())) { $this->calculHookCommon($params); $this->smarty->assign('blocksearch_type', 'block'); } - return $this->display(__FILE__, 'blocksearch.tpl', $this->getCacheId()); + return $this->display(__FILE__, 'blocksearch.tpl', Tools::getValue('search_query') ? null : $this->getCacheId()); } public function hookTop($params) { - if (!$this->isCached('blocksearch-top.tpl', $this->getCacheId('blocksearch-top'))) + if (Tools::getValue('search_query') || !$this->isCached('blocksearch-top.tpl', $this->getCacheId('blocksearch-top'))) { $this->calculHookCommon($params); $this->smarty->assign('blocksearch_type', 'top'); } - return $this->display(__FILE__, 'blocksearch-top.tpl', $this->getCacheId('blocksearch-top')); + return $this->display(__FILE__, 'blocksearch-top.tpl', Tools::getValue('search_query') ? null : $this->getCacheId('blocksearch-top')); } /** diff --git a/modules/blocksearch/blocksearch.tpl b/modules/blocksearch/blocksearch.tpl index 0f4d185f3..d4dac74b7 100644 --- a/modules/blocksearch/blocksearch.tpl +++ b/modules/blocksearch/blocksearch.tpl @@ -29,8 +29,8 @@