override
12
modules/blockwishlist/config_fr.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>blockwishlist</name>
|
||||
<displayName><![CDATA[Bloc liste d'envies]]></displayName>
|
||||
<version><![CDATA[1.2.3]]></version>
|
||||
<description><![CDATA[Ajoute un bloc gérant les listes d'envies.]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[front_office_features]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
12
modules/cronjobs/config_fr.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>cronjobs</name>
|
||||
<displayName><![CDATA[Éditeur de tâches cron]]></displayName>
|
||||
<version><![CDATA[1.2.7]]></version>
|
||||
<description><![CDATA[Gérez toutes vos tâches web automatisées depuis une interface unique.]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[administration]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
12
modules/gamification/config_fr.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>gamification</name>
|
||||
<displayName><![CDATA[Expertise PrestaShop]]></displayName>
|
||||
<version><![CDATA[1.10.3]]></version>
|
||||
<description><![CDATA[Devenez un marchand accompli à pas de géant !]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[administration]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
@ -1,37 +0,0 @@
|
||||
# Onboarding
|
||||
|
||||
## About
|
||||
|
||||
The OnBoarding module greets first-time users to their PrestaShop back office: through a small playful interface, it shows the user how to launch his/her shop in several easy steps.
|
||||
|
||||
## Contributing
|
||||
|
||||
PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.
|
||||
|
||||
### Requirements
|
||||
|
||||
Contributors **must** follow the following rules:
|
||||
|
||||
* **Make your Pull Request on the "dev" branch**, NOT the "master" branch.
|
||||
* Do not update the module's version number.
|
||||
* Follow [the coding standards][1].
|
||||
|
||||
### Process in details
|
||||
|
||||
Contributors wishing to edit a module's files should follow the following process:
|
||||
|
||||
1. Create your GitHub account, if you do not have one already.
|
||||
2. Fork the onboarding project to your GitHub account.
|
||||
3. Clone your fork to your local machine in the ```/modules``` directory of your PrestaShop installation.
|
||||
4. Create a branch in your local clone of the module for your changes.
|
||||
5. Change the files in your branch. Be sure to follow [the coding standards][1]!
|
||||
6. Push your changed branch to your fork in your GitHub account.
|
||||
7. Create a pull request for your changes **on the _'dev'_ branch** of the module's project. Be sure to follow [the commit message norm][2] in your pull request. If you need help to make a pull request, read the [Github help page about creating pull requests][3].
|
||||
8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.
|
||||
|
||||
That's it: you have contributed to this open-source project! Congratulations!
|
||||
|
||||
[1]: http://doc.prestashop.com/display/PS16/Coding+Standards
|
||||
[2]: http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message
|
||||
[3]: https://help.github.com/articles/using-pull-requests
|
||||
|
@ -1,19 +0,0 @@
|
||||
#require 'compass/import-once/activate'
|
||||
# Require any additional compass plugins here.
|
||||
|
||||
css_dir = "css"
|
||||
sass_dir = "sass"
|
||||
images_dir = "img"
|
||||
javascripts_dir = "js"
|
||||
fonts_dir = "fonts"
|
||||
|
||||
output_style = :compressed
|
||||
environment = :production
|
||||
|
||||
# To enable relative paths to assets via compass helper functions. Uncomment:
|
||||
# relative_assets = true
|
||||
line_comments = false
|
||||
color_output = false
|
||||
|
||||
preferred_syntax = :sass
|
||||
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>onboarding</name>
|
||||
<displayName><![CDATA[OnBoarding]]></displayName>
|
||||
<version><![CDATA[0.2.0]]></version>
|
||||
<description><![CDATA[The OnBoarding module greets first-time users to their PrestaShop back-office: through a small playful interface, it shows the user how to launch his/her shop in several easy steps.]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[administration]]></tab>
|
||||
<is_configurable>0</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
@ -1,53 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class AdminOnboardingController extends ModuleAdminController
|
||||
{
|
||||
public function postProcess()
|
||||
{
|
||||
if ((int)Tools::getValue('remove') == 1)
|
||||
$this->module->uninstall();
|
||||
|
||||
$current_step = (int)Tools::getValue('current_step');
|
||||
|
||||
$links = array(
|
||||
0 => $this->context->link->getAdminLink('AdminDashboard').'&onboarding',
|
||||
1 => $this->context->link->getAdminLink('AdminThemes').'&onboarding',
|
||||
2 => $this->context->link->getAdminLink('AdminProducts').'&onboarding&addproduct',
|
||||
3 => $this->context->link->getAdminLink('AdminPayment').'&onboarding',
|
||||
4 => $this->context->link->getAdminLink('AdminCarriers').'&onboarding&onboarding_carrier',
|
||||
);
|
||||
|
||||
if ($current_step < 6)
|
||||
Configuration::updateValue('PS_ONBOARDING_CURRENT_STEP', $current_step);
|
||||
|
||||
if ($current_step > 6)
|
||||
$this->module->uninstall();
|
||||
|
||||
Tools::redirectAdmin(isset($links[$current_step]) ? $links[$current_step] : Context::getContext()->link->getAdminLink('AdminDashboard')
|
||||
.'&onboarding');
|
||||
}
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
@ -1,34 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
@ -1 +0,0 @@
|
||||
.step-in-progress{animation:none !important}.onboarding-action-container .quick-start-button{margin-left:1em}.onboarding *{box-sizing:border-box !important}.onboarding.minimized .overlay{display:none}.onboarding.minimized .onboarding-steps{top:-560px}.onboarding .overlay{display:block;width:100%;height:100%;z-index:7000;position:fixed;top:0;left:0;background:rgba(0,0,0,0.5)}.onboarding .panel{position:absolute;top:-5px;left:0;right:0;width:800px;height:540px;margin:0 auto;z-index:8000;border:none;-moz-box-shadow:0 0 16px #000;-webkit-box-shadow:0 0 16px #000;box-shadow:0 0 16px #000}.onboarding .panel.final{height:350px}.onboarding .panel .onboarding-intro{border-bottom:solid 1px #E4E5E7;height:70px}.onboarding .panel .onboarding-intro h3{font-family:"Open Sans";font-weight:300;font-size:28px;line-height:50px}.onboarding .panel .steps-list-container{float:left;width:535px;height:450px;padding:30px 20px 0;border-right:solid 1px #E4E5E7}.onboarding .panel .steps-list-container .steps-list{margin:0;padding:0;list-style:none;counter-reset:onboardingSteps}.onboarding .panel .steps-list-container .steps-list li{counter-increment:onboardingSteps;content:counter(onboardingSteps);position:relative;font-size:18px;margin-bottom:30px;padding-left:55px}.onboarding .panel .steps-list-container .steps-list li .title{display:block}.onboarding .panel .steps-list-container .steps-list li .desc{display:block;font-size:13px}.onboarding .panel .steps-list-container .steps-list li:before{display:block;width:40px;height:40px;position:absolute;left:6px;top:0;border:1px solid #97A9B0;content:counter(onboardingSteps);text-align:center;font-size:22px;line-height:38px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.onboarding .panel .steps-list-container .steps-list li.checked .title{color:#aaa}.onboarding .panel .steps-list-container .steps-list li.checked:before{display:block;width:40px;height:40px;position:absolute;left:6px;top:0;border:none;color:#fff;font-family:FontAwesome;line-height:40px;content:"";background-color:#8BC954}.onboarding .panel .steps-list-container .steps-list li.active .title{font-size:24px;margin-bottom:8px}.onboarding .panel .steps-list-container .steps-list li.inactive .title{color:#ccc;line-height:40px}.onboarding .panel .steps-list-container .steps-list li.inactive:before{color:#ccc;border-color:#ccc}.onboarding .panel .steps-list-container .step-launch{padding:0 80px;margin-top:50px}.onboarding .panel .steps-animation-container{float:right;width:265px;height:386px;border-bottom:solid 1px #E4E5E7}.onboarding .panel .steps-animation-container .step-before-launch{line-height:65px}.onboarding .panel .final-container{float:left;width:800px;padding:30px 20px 0}.onboarding .panel .final-container .title{display:block}.onboarding .close-button{position:absolute;top:30px;right:20px;color:#ccc}.onboarding .close-button i{font-size:28px}.onboarding .skip{position:relative;top:-10px;left:10px}
|
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 6.1 KiB |
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
Before Width: | Height: | Size: 25 KiB |
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 21 KiB |
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
@ -1,34 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
@ -1,128 +0,0 @@
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
$( document ).ready(function() {
|
||||
$('#onboarding-progress-bar').popover('show');
|
||||
$('#onboarding-launch').click(function() {
|
||||
$('.gwd-page-container').addClass('gwd-gen-oxd9');
|
||||
onBoarding.sleep(5400, function() {
|
||||
$('.onboarding .onboarding-steps').hide('normal', function() {
|
||||
validateStep(7);
|
||||
$('.onboarding .final').show('nomal');
|
||||
$('.quick-start-button').hide();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
$('.onboarding-steps a').click(function() {
|
||||
$('.onboarding-steps').animate({top: '-560px'}, 300);
|
||||
});
|
||||
|
||||
$('<div class="alert alert-onboarding"></div>').html($('#onboarding-starter')).detach().prependTo('#content');
|
||||
$('#onboarding-starter').removeClass('hide');
|
||||
|
||||
$('.close-button, .continue_editing').click(function() {
|
||||
toggleOnboardingModal();
|
||||
});
|
||||
|
||||
|
||||
$('#final-button').click(function() {
|
||||
$('.final').animate({top: '-560px'}, 300);
|
||||
$('.overlay').hide();
|
||||
});
|
||||
|
||||
$('#onboarding-close').click(function() {
|
||||
$('.alert-onboarding').remove();
|
||||
$.ajax(onboarding_ajax_url+"&remove=1");
|
||||
});
|
||||
|
||||
$('.skip').click(function() {
|
||||
validateStep(7);
|
||||
$('.overlay, .alert-onboarding').hide();
|
||||
});
|
||||
|
||||
if (typeof display_onboarding_modal !== 'undefined' && display_onboarding_modal)
|
||||
toggleOnboardingModal();
|
||||
});
|
||||
|
||||
var onBoarding = {
|
||||
sleep : function (time, callback)
|
||||
{
|
||||
setTimeout(function() {
|
||||
callback();
|
||||
} , time);
|
||||
}
|
||||
} ;
|
||||
|
||||
function toggleOnboardingModal()
|
||||
{
|
||||
if ($('.onboarding-steps').css('top') === '-560px')
|
||||
$('.onboarding-steps').animate({top: '-3px'}, 300);
|
||||
else
|
||||
$('.onboarding-steps').animate({top: '-560px'}, 300);
|
||||
|
||||
$('.onboarding').toggleClass('minimized');
|
||||
}
|
||||
|
||||
function validateStep(current_step, href)
|
||||
{
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
headers: { "cache-control": "no-cache" },
|
||||
url: onboarding_ajax_url,
|
||||
async: true,
|
||||
cache: false,
|
||||
data: 'controller=AdminOnboarding&ajax=true&action=validate_step¤t_step='+current_step,
|
||||
success: function(result)
|
||||
{
|
||||
if (href)
|
||||
window.location.href = href;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function share_twitter_click(message)
|
||||
{
|
||||
window.open('https://twitter.com/intent/tweet?button_hashtag=PrestaShop&text=' + message, 'sharertwt', 'toolbar=0,status=0,width=640,height=445');
|
||||
location.reload();
|
||||
}
|
||||
|
||||
function share_facebook_click()
|
||||
{
|
||||
window.open('http://www.facebook.com/sharer.php?u=http://www.prestashop.com/', 'sharerfacebook', 'toolbar=0,status=0,width=660,height=445');
|
||||
location.reload();
|
||||
}
|
||||
|
||||
function share_google_click()
|
||||
{
|
||||
window.open('https://plus.google.com/share?url=http://www.prestashop.com/', 'sharergplus', 'toolbar=0,status=0,width=660,height=445');
|
||||
location.reload();
|
||||
}
|
||||
|
||||
function share_linkedin_click()
|
||||
{
|
||||
window.open('https://www.linkedin.com/shareArticle?title=PrestaShop&url=http://www.prestashop.com/download', 'sharerlinkedin', 'toolbar=0,status=0,width=600,height=450');
|
||||
location.reload();
|
||||
}
|
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.0 KiB |
@ -1,151 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
class OnBoarding extends Module
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'onboarding';
|
||||
$this->bootstrap = true;
|
||||
$this->tab = 'administration';
|
||||
$this->version = '0.2.0';
|
||||
$this->author = 'PrestaShop';
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('OnBoarding');
|
||||
$this->description = $this->l('The OnBoarding module greets first-time users to their PrestaShop back office: through a small playful
|
||||
interface, it shows the user how to launch his/her shop in several easy steps.');
|
||||
|
||||
if (Configuration::get('PS_ONBOARDING_CURRENT_STEP') > 6)
|
||||
$this->uninstall();
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
Configuration::updateValue('PS_ONBOARDING_CURRENT_STEP', 0);
|
||||
Configuration::updateValue('PS_ONBOARDING_LAST_VALIDATE_STEP', 0);
|
||||
Configuration::updateValue('PS_ONBOARDING_STEP_1_COMPLETED', 0);
|
||||
Configuration::updateValue('PS_ONBOARDING_STEP_2_COMPLETED', 0);
|
||||
Configuration::updateValue('PS_ONBOARDING_STEP_3_COMPLETED', 0);
|
||||
Configuration::updateValue('PS_ONBOARDING_STEP_4_COMPLETED', 0);
|
||||
|
||||
if (parent::install() && $this->registerHook('actionAdminControllerSetMedia')
|
||||
&& $this->registerHook('displayBackOfficeTop') && $this->installTab())
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public function uninstall()
|
||||
{
|
||||
if (!parent::uninstall() || !$this->uninstallTab())
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public function installTab()
|
||||
{
|
||||
$tab = new Tab();
|
||||
$tab->active = 1;
|
||||
$tab->class_name = 'AdminOnboarding';
|
||||
$tab->name = array();
|
||||
|
||||
foreach (Language::getLanguages(true) as $lang)
|
||||
$tab->name[$lang['id_lang']] = 'Onboarding';
|
||||
|
||||
$tab->id_parent = 99999;
|
||||
$tab->module = $this->name;
|
||||
return $tab->add();
|
||||
}
|
||||
|
||||
public function uninstallTab()
|
||||
{
|
||||
$id_tab = (int)Tab::getIdFromClassName('AdminOnboarding');
|
||||
|
||||
if ($id_tab)
|
||||
{
|
||||
$tab = new Tab($id_tab);
|
||||
return $tab->delete();
|
||||
}
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
public function hookActionAdminControllerSetMedia()
|
||||
{
|
||||
if (!$this->active)
|
||||
return;
|
||||
|
||||
if (method_exists($this->context->controller, 'addJquery'))
|
||||
$this->context->controller->addJquery();
|
||||
|
||||
$this->context->controller->addJS($this->_path.'js/onboarding.js');
|
||||
$this->context->controller->addCSS($this->_path.'css/onboarding.css');
|
||||
}
|
||||
|
||||
public function hookDisplayBackOfficeTop()
|
||||
{
|
||||
$current_step = (int)Configuration::get('PS_ONBOARDING_CURRENT_STEP');
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'display_onboarding_modal' => (int)Tools::isSubmit('onboarding'),
|
||||
'next_step_link' => $this->getCurrentStepLink($current_step),
|
||||
'current_step' => $current_step,'link' => $this->context->link,
|
||||
'employee' => $this->context->employee,
|
||||
'removable' => _PS_MODE_DEV_,
|
||||
'continue_editing_links' => array(
|
||||
'theme' => $this->context->link->getAdminLink('AdminThemes'),
|
||||
'product' => $this->context->link->getAdminLink('AdminProducts').'&addproduct',
|
||||
'import' => $this->context->link->getAdminLink('AdminImport'),
|
||||
'payment' => $this->context->link->getAdminLink('AdminPayment'),
|
||||
'carrier' => $this->context->link->getAdminLink('AdminCarriers'),
|
||||
)
|
||||
));
|
||||
|
||||
if (Tools::strtolower($this->context->controller->controller_name) == 'admin')
|
||||
return false;
|
||||
|
||||
if (Tools::strtolower($this->context->controller->controller_name) == 'adminmodules' && ($module_name = Tools::getValue('configure')))
|
||||
{
|
||||
$module = Module::getInstanceByName($module_name);
|
||||
|
||||
if (!isset($module->bootstrap) || !$module->bootstrap)
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->display(__FILE__, 'backoffice_top.tpl');
|
||||
}
|
||||
|
||||
public function getCurrentStepLink($id_step)
|
||||
{
|
||||
return $this->context->link->getAdminLink('AdminOnboarding').'¤t_step='.((int)$id_step + 1);
|
||||
}
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
@ -1,137 +0,0 @@
|
||||
@import "compass"
|
||||
.step-in-progress
|
||||
animation: none !important
|
||||
|
||||
.onboarding-action-container
|
||||
.quick-start-button
|
||||
margin-left: 1em
|
||||
|
||||
.onboarding
|
||||
*
|
||||
box-sizing: border-box!important
|
||||
&.minimized
|
||||
.overlay
|
||||
display: none
|
||||
.onboarding-steps
|
||||
top: -560px
|
||||
.overlay
|
||||
display: block
|
||||
width: 100%
|
||||
height: 100%
|
||||
z-index: 7000
|
||||
position: fixed
|
||||
top: 0
|
||||
left: 0
|
||||
background: rgba(0,0,0,0.5)
|
||||
.panel
|
||||
position: absolute
|
||||
top: -5px
|
||||
left: 0
|
||||
right: 0
|
||||
width: 800px
|
||||
height: 540px
|
||||
margin: 0 auto
|
||||
z-index: 8000
|
||||
border: none
|
||||
@include box-shadow(0 0 16px black)
|
||||
&.final
|
||||
height: 350px
|
||||
.onboarding-intro
|
||||
border-bottom: solid 1px #E4E5E7
|
||||
height: 70px
|
||||
h3
|
||||
font-family: 'Open Sans'
|
||||
font-weight: 300
|
||||
font-size: 28px
|
||||
line-height: 50px
|
||||
.steps-list-container
|
||||
float: left
|
||||
width: 535px
|
||||
height: 450px
|
||||
padding: 30px 20px 0
|
||||
border-right: solid 1px #E4E5E7
|
||||
.steps-list
|
||||
margin: 0
|
||||
padding: 0
|
||||
list-style: none
|
||||
counter-reset: onboardingSteps
|
||||
li
|
||||
counter-increment: onboardingSteps
|
||||
content: counter(onboardingSteps)
|
||||
position: relative
|
||||
font-size: 18px
|
||||
margin-bottom: 30px
|
||||
padding-left: 55px
|
||||
.title
|
||||
display: block
|
||||
.desc
|
||||
display: block
|
||||
font-size: 13px
|
||||
&:before
|
||||
display: block
|
||||
width: 40px
|
||||
height: 40px
|
||||
position: absolute
|
||||
left: 6px
|
||||
top: 0
|
||||
border: 1px solid #97A9B0
|
||||
content: counter(onboardingSteps)
|
||||
text-align: center
|
||||
font-size: 22px
|
||||
line-height: 38px
|
||||
@include border-radius(50%)
|
||||
&.checked
|
||||
.title
|
||||
color: #aaa
|
||||
&:before
|
||||
display: block
|
||||
width: 40px
|
||||
height: 40px
|
||||
position: absolute
|
||||
left: 6px
|
||||
top: 0
|
||||
border: none
|
||||
color: white
|
||||
font-family: FontAwesome
|
||||
line-height: 40px
|
||||
content: '\f00c'
|
||||
background-color: #8BC954
|
||||
&.active
|
||||
.title
|
||||
font-size: 24px
|
||||
margin-bottom: 8px
|
||||
&.inactive
|
||||
.title
|
||||
color: #ccc
|
||||
line-height: 40px
|
||||
&:before
|
||||
color: #ccc
|
||||
border-color: #ccc
|
||||
.step-launch
|
||||
padding: 0 80px
|
||||
margin-top: 50px
|
||||
.steps-animation-container
|
||||
float: right
|
||||
width: 265px
|
||||
height: 386px
|
||||
border-bottom: solid 1px #E4E5E7
|
||||
.step-before-launch
|
||||
line-height: 65px
|
||||
.final-container
|
||||
float: left
|
||||
width: 800px
|
||||
padding: 30px 20px 0
|
||||
.title
|
||||
display: block
|
||||
|
||||
.close-button
|
||||
position: absolute
|
||||
top: 30px
|
||||
right: 20px
|
||||
color: #ccc
|
||||
i
|
||||
font-size: 28px
|
||||
.skip
|
||||
position: relative
|
||||
top : -10px
|
||||
left : 10px
|
@ -1,57 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{onboarding}prestashop>onboarding_403078410560ac74cd18391f1fbf55fa'] = 'OnBoarding';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_c50e83d3857e41ea59189e385d4ed024'] = 'Hey %s, welcome on your own online shop.[1]Follow the guide and take the first steps with your online shop!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_79b0fcd70b51a3065ebbfe7e953eae38'] = 'Check out our catalog to get a new theme or customize the current default theme.[1]Add your logo, play on fonts and colors... Give this special look to your shop!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_9a12f893e37f0f1fb9fb04bf16a7d78d'] = 'Start your product catalog with a first product.[1]Make sure you cover the basics by setting its price, having a nice description and uploading a catchy image![1]If you already have your product base in a .CSV file, save time and make an import!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_0429b4766bfd2e6540dc3cb5537387ff'] = 'Select which payment methods you want to offer to customers on your shop, and manage the various restrictions you can apply (per currency, country or group of customers).';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_83c7e5faf0084de7b00eb2d083acd18a'] = 'If you feel you need more information, you can still have a look at PrestaShop Documentation: click on \"Help\" in the top right corner of your back-office!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_d26019e187250752a24c5f07694bda99'] = 'You have completed all the essential first steps to configure your online shop. You can repeat those steps if you have more products, payment methods or shipping partners to add.[1]To dive deeper in the configuration of your shop, you should read the [2]\"First steps with PrestaShop 1.6\"[/2] chapter of the PrestaShop User Guide.[1]Once you are certain that your shop is ready to sell your products, click on the Launch button to make your shop public.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_82269147f55aa394633d8ffab65a8524'] = 'Let\'s start!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_d51786a260fac2376360796f7c79b076'] = 'I\'m all good, let\'s launch!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_3eb86a3e1dc693b55502d7391aae5cbf'] = 'I\'m done, take me to next step';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_d592a24b3a6f07d1731cc5e82247ea89'] = 'Take a tour: get started with PrestaShop';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_de01a1b72dcfe775cd72a5ff7af650a9'] = 'Customize your shop\'s look and feel';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_28e28cc9b29cb7be024359a92ed55282'] = 'Add your first products';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_9067f937e50eccdb6e7aeaf92cd054e1'] = 'Get your shop ready for payments';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_e2a122121719451136536f8a97406f8a'] = 'You are now ready to launch your shop.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_587b4c19feb558e98b1b9cbab054c8d6'] = 'A few steps before launching!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_7eeabe2ad5cb52ab41a2760232e5589e'] = 'Let\'s create your first products';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_c88d196f22ac2187d88469d9faaad8fd'] = 'Choose your shipping options';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_186ec838194777c517b25acc5728ffad'] = 'Hurrah!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_8ace2d742ee0c597260b3d0acbfb37f0'] = '1/4 complete';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_07401b0a5880897a0aaddf3f02840d42'] = '2/4 complete';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_8fe45aff43af351538b5a09436642467'] = '3/4 complete';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_b361b43eb8b02ed09668ee20a0c5dfc7'] = '4/4 complete';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_863d165c22d70b710d8340b386476059'] = 'Getting Started with PrestaShop';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_8537edc13c831abe2ab38ce7f57edb5e'] = 'Customize your shop';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_ea6fc12147e71d57bdd78ca17ca734ce'] = 'Add products';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_e8907cbf554073d2b2edca1196a32533'] = 'Configure payments';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_7c7ca9fcc594f7ee55caa299a2afe0f5'] = 'Give your shop its own identity based on your brand.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_ddd3ed3987ae409ab3aa41bb608254e6'] = 'You can change your theme or install a new one, and make sure to upload your own logo to make your shop truly unique.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_0ea7a6aae70efc93aee629e0ba7ba864'] = 'OK, take me to my theme';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_0f03d5ce51612c788f8add6d37f65eb9'] = 'Continue editing';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_f2a25700f353028e282a4c13e89f3932'] = 'Add products to your catalog';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_88878b5385fec8a0d075e469b57ad0f1'] = 'Start your product catalog with a first product.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_7b98227ffa8c57c1b7cedfb6065833b4'] = 'Make sure you cover the basics by setting its price, having a nice description and uploading a catchy image!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_e684454ccd86011ad208c4d78bbd7861'] = 'If you already have your product base in a .CSV file, save time and make an import!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_30ae23ab5d1b9b02aeac19255cb4bbf8'] = 'Ok, Go to my catalog';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_af72bbd773d9516f0b4b0f56c7f88be4'] = 'Continue adding products';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_8497f6af90ba868416219ad993db929e'] = 'Set up your payment methods';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_72b6798bba9dcd1a791794993d420176'] = 'Show me payment methods';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_96ae5a401a41ca3d9a6d57618021d9ee'] = 'Continue selecting payment methods';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_a76f0bf03508b84c2bf7f9e3282eb097'] = 'Set up your shipping methods';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_60037e39c43a94445bd3e0d8d7ec38f3'] = 'Unless you are only selling virtual products, you must register your shipping partners into PrestaShop.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_9cec8ecea187a33fd3df36d40c14c702'] = 'Without this your customers won\'t be able to enjoy your products!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_37068a6beef3631c2eb656eff27d2549'] = 'Let\'s see about shipping';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_c78edf2d54662ed96f41752e05a981bc'] = 'Continue selecting shipping methods';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_9506f0fd0f7f1b07960b15b4c9e68d1a'] = 'Launch';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_b70150e16be1e1fdc7bc9f706bfe5f2c'] = 'Skip Tutorial';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_d03e44872879b8a258b6b65973aceb88'] = 'Last step before launch!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_26ef476ae1184dd26c0f68c3891bdbe7'] = 'You are all set!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_48fac01462229af90e4a4af28d671d13'] = 'You are only %s steps away from launch!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_c1230cc7fd7b733996ff1342c852de26'] = 'You are now ready to launch your shop. If you feel you need more information, you can still have a look at PrestaShop Documentation:';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_291dbefc28e41cdb265a2400522013f4'] = 'click on \"Help\" in the top right corner of your back-office!';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_01793ff8582acbe351310a6bf5d070a1'] = 'I just launched my online shop with @PrestaShop. Check it out!';
|
@ -1,63 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{onboarding}prestashop>onboarding_403078410560ac74cd18391f1fbf55fa'] = 'OnBoarding';
|
||||
$_MODULE['<{onboarding}prestashop>onboarding_76ddbb9f8bbe2624552fd553d0f9d040'] = 'Le module OnBoarding accueille les nouveaux utilisateurs dans leur back-office PrestaShop : grâce à une interface ludique, il montre à l\'utilisateur comment lancer sa boutique en quelques étapes faciles.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_c50e83d3857e41ea59189e385d4ed024'] = '%s, bienvenue dans votre boutique.[1]Suivez le guide et faites vos premiers pas avec votre boutique en ligne !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_79b0fcd70b51a3065ebbfe7e953eae38'] = 'Parcourez notre catalogue pour trouver un nouveau thème ou personnalisez le thème par défaut.[1]Ajoutez votre logo, jouez avec les couleurs et les polices... donnez une touche personnelle à votre boutique !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_9a12f893e37f0f1fb9fb04bf16a7d78d'] = 'Commencez votre catalogue avec un premier produit.[1]Pensez à l\'essentiel : déterminez un prix, écrivez une belle description et ajoutez une image attrayante ![1]Si votre catalogue existe déjà sous format .CSV, gagnez du temps et faites un import !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_0429b4766bfd2e6540dc3cb5537387ff'] = 'Choisissez les solutions de paiement que vous souhaitez proposer à vos clients, et gérez les différentes restrictions que vous pouvez appliquer (par devise, par pays ou par groupes de clients).';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_e62f682bcf70125635d8915ea127fe9b'] = 'Si vous avez besoin de plus d\'informations, vous pouvez toujours consulter la Documentation PrestaShop : cliquez sur "Aide" en haut à droite de votre back-office !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_d26019e187250752a24c5f07694bda99'] = 'Vous avez suivi les premières étapes essentielles pour configurer votre boutique en ligne. Vous pouvez à nouveau les passer en revue si vous avez d\'autres produits, solutions de paiement ou transporteurs à ajouter.[1]Pour aller plus loin dans la configuration de votre boutique, vous pouvez suivre les [2]Premiers pas avec PrestaShop 1.6[/2] de notre Guide de l\'utilisateur.[1]Quand vous êtes sûr que votre boutique est fin prête, cliquez sur le bouton "Lancer" pour rendre votre boutique publique.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_82269147f55aa394633d8ffab65a8524'] = 'C\'est parti !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_d51786a260fac2376360796f7c79b076'] = 'C\'est bon pour moi, on peut lancer !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_3eb86a3e1dc693b55502d7391aae5cbf'] = 'Vu, allons à l\'étape suivante';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_d592a24b3a6f07d1731cc5e82247ea89'] = 'Suivez le guide: découvrez PrestaShop';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_de01a1b72dcfe775cd72a5ff7af650a9'] = 'Personnalisez l\'apparence de votre boutique';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_28e28cc9b29cb7be024359a92ed55282'] = 'Ajoutez vos premiers produits';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_9067f937e50eccdb6e7aeaf92cd054e1'] = 'Soyez prêt à recevoir des paiements';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_e2a122121719451136536f8a97406f8a'] = 'Vous êtes maintenant prêt pour le lancement de votre boutique.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_587b4c19feb558e98b1b9cbab054c8d6'] = 'Quelques étapes avant le lancement !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_7eeabe2ad5cb52ab41a2760232e5589e'] = 'Ajoutons vos premiers produits';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_c88d196f22ac2187d88469d9faaad8fd'] = 'Choisissez vos transporteurs';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_186ec838194777c517b25acc5728ffad'] = 'Hourra !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_8ace2d742ee0c597260b3d0acbfb37f0'] = '1/4 terminé';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_07401b0a5880897a0aaddf3f02840d42'] = '2/4 terminé';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_8fe45aff43af351538b5a09436642467'] = '3/4 terminé';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_b361b43eb8b02ed09668ee20a0c5dfc7'] = '4/4 terminé';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_863d165c22d70b710d8340b386476059'] = 'Vos premiers pas avec PrestaShop';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_8537edc13c831abe2ab38ce7f57edb5e'] = 'Personnalisez votre boutique';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_ea6fc12147e71d57bdd78ca17ca734ce'] = 'Ajoutez des produits';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_e8907cbf554073d2b2edca1196a32533'] = 'Configurez les paiements';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_3ebc767d6b3a2251fcef53c51c253827'] = 'Non merci !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_7c7ca9fcc594f7ee55caa299a2afe0f5'] = 'Donnez à votre boutique sa propre identité, pour refléter votre marque.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_ddd3ed3987ae409ab3aa41bb608254e6'] = 'Vous pouvez modifier votre thème ou en installer un nouveau. Pensez aussi à utiliser votre logo pour que votre boutique soit unique.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_0ea7a6aae70efc93aee629e0ba7ba864'] = 'OK, allons voir le thème';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_0f03d5ce51612c788f8add6d37f65eb9'] = 'Continuer les modifications';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_f2a25700f353028e282a4c13e89f3932'] = 'Ajoutez des produits à votre catalogue';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_88878b5385fec8a0d075e469b57ad0f1'] = 'Commencez votre catalogue avec un premier produit.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_7b98227ffa8c57c1b7cedfb6065833b4'] = 'Pensez à l\'essentiel : déterminez un prix, écrivez une belle description et ajoutez une image attrayante !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_e684454ccd86011ad208c4d78bbd7861'] = 'Si votre catalogue existe déjà sous format .CSV, gagnez du temps et faites un import !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_30ae23ab5d1b9b02aeac19255cb4bbf8'] = 'OK, direction mon catalogue';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_af72bbd773d9516f0b4b0f56c7f88be4'] = 'Continuer l\'ajout de produits';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_8497f6af90ba868416219ad993db929e'] = 'Paramétrez vos solutions de paiement';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_72b6798bba9dcd1a791794993d420176'] = 'Voir les solutions de paiement';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_96ae5a401a41ca3d9a6d57618021d9ee'] = 'Continuer avec les solutions de paiement';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_a76f0bf03508b84c2bf7f9e3282eb097'] = 'Paramétrez vos transporteurs';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_60037e39c43a94445bd3e0d8d7ec38f3'] = 'A moins que vous ne vendiez des produits virtuels, vous devez enregistrer vos transporteurs partenaires dans PrestaShop.';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_9cec8ecea187a33fd3df36d40c14c702'] = 'Sans quoi vos clients ne pourront pas profiter de vos produits !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_37068a6beef3631c2eb656eff27d2549'] = 'Voyons les livraisons';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_c78edf2d54662ed96f41752e05a981bc'] = 'Continuer la sélection des transporteurs';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_9506f0fd0f7f1b07960b15b4c9e68d1a'] = 'Lancer';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_b70150e16be1e1fdc7bc9f706bfe5f2c'] = 'Ignorer le tutoriel';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_d03e44872879b8a258b6b65973aceb88'] = 'Dernière étape avant lancement !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_26ef476ae1184dd26c0f68c3891bdbe7'] = 'Vous êtes paré !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_48fac01462229af90e4a4af28d671d13'] = 'Vous êtes à %s étapes du lancement !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_c1230cc7fd7b733996ff1342c852de26'] = 'Vous êtes maintenant prêt à lancer votre boutique. Si vous souhaitez avoir davantage d\'informations, vous pouvez toujours consulter la Documentation PrestaShop :';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_74d6651537f0fcd4184b612ee5950343'] = 'cliquez sur "Aide" en haut à droite de votre back-office !';
|
||||
$_MODULE['<{onboarding}prestashop>backoffice_top_01793ff8582acbe351310a6bf5d070a1'] = 'Je viens de lancer ma boutique en ligne avec @PrestaShop. Allez voir !';
|
||||
|
||||
|
||||
return $_MODULE;
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2014 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
function upgrade_module_0_1_8($object)
|
||||
{
|
||||
return ($object->registerHook('actionAdminControllerSetMedia') && $object->unregisterHook('displayBackOfficeHeader'));
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
@ -1,330 +0,0 @@
|
||||
{*
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<script>
|
||||
var display_onboarding_modal= {$display_onboarding_modal|intval};
|
||||
var current_step_onboarding = {$current_step|escape|intval};
|
||||
var onboarding_ajax_url = "{$link->getAdminLink('AdminOnboarding')|escape:'javascript':'UTF-8'}";
|
||||
</script>
|
||||
{capture name="onboardingStepParagraph"}
|
||||
{if $current_step == 0}
|
||||
{l s='Hey %s, welcome on your own online shop.[1]Follow the guide and take the first steps with your online shop!' sprintf=[$employee->firstname] tags=['<br />'] mod='onboarding'}
|
||||
{else if $current_step == 1}
|
||||
{l s='Check out our catalog to get a new theme or customize the current default theme.[1]Add your logo, play on fonts and colors... Give this special look to your shop!' tags=['<br />'] mod='onboarding'}
|
||||
{else if $current_step == 2}
|
||||
{l s='Start your product catalog with a first product.[1]Make sure you cover the basics by setting its price, having a nice description and uploading a catchy image![1]If you already have your product base in a .CSV file, save time and make an import!' tags=['<br />'] mod='onboarding'}
|
||||
{else if $current_step == 3}
|
||||
{l s='Select which payment methods you want to offer to customers on your shop, and manage the various restrictions you can apply (per currency, country or group of customers).' mod='onboarding'}
|
||||
{else if $current_step == 4}
|
||||
{l s='If you feel you need more information, you can still have a look at PrestaShop Documentation: click on "Help" in the top right corner of your back office!' mod='onboarding'}
|
||||
{else if $current_step == 5}
|
||||
{l s='You have completed all the essential first steps to configure your online shop. You can repeat those steps if you have more products, payment methods or shipping partners to add.[1]To dive deeper in the configuration of your shop, you should read the [2]"First steps with PrestaShop 1.6"[/2] chapter of the PrestaShop User Guide.[1]Once you are certain that your shop is ready to sell your products, click on the Launch button to make your shop public.' tags=['<br />', '<a href="http://doc.prestashop.com/display/PS16/First+steps+with+PrestaShop+1.6" class="_blank">'] mod='onboarding'}
|
||||
{/if}
|
||||
{/capture}
|
||||
{capture name="onboardingStepButton"}
|
||||
{if $current_step == 0}
|
||||
{l s='Let\'s start!' mod='onboarding'}
|
||||
{else if $current_step == 5}
|
||||
{l s='I\'m all good, let\'s launch!' mod='onboarding'}
|
||||
{else}
|
||||
{l s='I\'m done, take me to next step' mod='onboarding'}
|
||||
{/if}
|
||||
{/capture}
|
||||
{capture name="onboardingStepBannerTitle"}
|
||||
{if $current_step == 0}
|
||||
{l s='Take a tour: get started with PrestaShop' mod='onboarding'}
|
||||
{else if $current_step == 1}
|
||||
{l s='Customize your shop\'s look and feel' mod='onboarding'}
|
||||
{else if $current_step == 2}
|
||||
{l s='Add your first products' mod='onboarding'}
|
||||
{else if $current_step == 3}
|
||||
{l s='Get your shop ready for payments' mod='onboarding'}
|
||||
{else if $current_step == 4}
|
||||
{l s='You are now ready to launch your shop.' mod='onboarding'}
|
||||
{else if $current_step == 5}
|
||||
{l s='You are now ready to launch your shop.' mod='onboarding'}
|
||||
{/if}
|
||||
{/capture}
|
||||
|
||||
{capture name="onboardingStepModalTitle"}
|
||||
{if $current_step == 1}
|
||||
{l s='A few steps before launching!' mod='onboarding'}
|
||||
{else if $current_step == 2}
|
||||
{l s='Let\'s create your first products' mod='onboarding'}
|
||||
{else if $current_step == 3}
|
||||
{l s='Get your shop ready for payments' mod='onboarding'}
|
||||
{else if $current_step == 4}
|
||||
{l s='Choose your shipping options' mod='onboarding'}
|
||||
{else if $current_step == 5}
|
||||
{l s='Hurrah!' mod='onboarding'}
|
||||
{/if}
|
||||
{/capture}
|
||||
{capture name="onboardingComplete"}
|
||||
{if $current_step == 1}
|
||||
{else if $current_step == 2}
|
||||
{l s='1/4 complete' mod='onboarding'}
|
||||
{else if $current_step == 3}
|
||||
{l s='2/4 complete' mod='onboarding'}
|
||||
{else if $current_step == 4}
|
||||
{l s='3/4 complete' mod='onboarding'}
|
||||
{else if $current_step == 5}
|
||||
{l s='4/4 complete' mod='onboarding'}
|
||||
{/if}
|
||||
{/capture}
|
||||
{capture name="onboardingCompletePercentage"}
|
||||
{if $current_step == 1}
|
||||
10%%
|
||||
{else if $current_step == 2}
|
||||
25%%
|
||||
{else if $current_step == 3}
|
||||
50%%
|
||||
{else if $current_step == 4}
|
||||
75%%
|
||||
{else if $current_step == 5}
|
||||
100%%
|
||||
{/if}
|
||||
{/capture}
|
||||
|
||||
<div class="onboarding minimized">
|
||||
<div class="overlay"></div>
|
||||
<div class="panel onboarding-steps">
|
||||
<div id="onboarding-starter" class="hide">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h3>{l s='Getting Started with PrestaShop' mod='onboarding'}</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3 col-md-2 col-md-offset-2">
|
||||
<div class="onboarding-step step-first {if $current_step == 0}step-todo{elseif $current_step == 1}step-in-progress active{elseif $current_step > 1}active step-success{/if}"></div>
|
||||
</div>
|
||||
<div class="col-xs-3 col-md-2">
|
||||
<div class="onboarding-step {if $current_step <= 1}step-todo{elseif $current_step == 2}step-in-progress active{elseif $current_step > 2}active step-success{/if}"></div>
|
||||
</div>
|
||||
<div class="col-xs-3 col-md-2">
|
||||
<div class="onboarding-step {if $current_step <= 2}step-todo{elseif $current_step == 3}step-in-progress active{elseif $current_step > 3}active step-success{/if}"></div>
|
||||
</div>
|
||||
<div class="col-xs-3 col-md-2">
|
||||
<div class="onboarding-step step-final {if $current_step <= 3}step-todo{elseif $current_step == 4}step-in-progress active{elseif $current_step > 4}active step-success{/if}"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3 col-md-2 col-md-offset-2 text-center">
|
||||
<a style="{if $current_step < 1} color:gray; text-decoration:none {/if}"{if $current_step >= 1} href="{$continue_editing_links.theme}"{/if}>{l s='Customize your shop' mod='onboarding'}</a>
|
||||
</div>
|
||||
<div class="col-xs-3 col-md-2 text-center">
|
||||
<a style="{if $current_step < 2} color:gray; text-decoration:none {/if}"{if $current_step >= 2} href="{$continue_editing_links.product}"{/if}>{l s='Add products' mod='onboarding'}</a>
|
||||
</div>
|
||||
<div class="col-xs-3 col-md-2 text-center">
|
||||
<a style="{if $current_step < 3} color:gray; text-decoration:none {/if}"{if $current_step >= 3} href="{$continue_editing_links.payment}"{/if}>{l s='Configure payments' mod='onboarding'}</a>
|
||||
</div>
|
||||
<div class="col-xs-3 col-md-2 text-center">
|
||||
<a style="{if $current_step < 4} color:gray; text-decoration:none {/if}"{if $current_step >= 4} href="{$continue_editing_links.carrier}"{/if}>{l s='Choose your shipping options' mod='onboarding'}</a>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
<h4>{$smarty.capture.onboardingStepBannerTitle|escape:'html':'UTF-8'}</h4>
|
||||
<p>{$smarty.capture.onboardingStepParagraph|escape:'UTF-8'}</p>
|
||||
</div>
|
||||
<div class="col-lg-4 onboarding-action-container">
|
||||
<a href="{$next_step_link|escape:'html':'UTF-8'}" class="btn btn-default btn-lg quick-start-button pull-right">
|
||||
{$smarty.capture.onboardingStepButton|escape:'html':'UTF-8'}
|
||||
<i class="icon icon-angle-right icon-lg"></i>
|
||||
</a>
|
||||
{if $removable == true }
|
||||
<a class="btn btn-default btn-lg pull-right" href="#" id="onboarding-close">
|
||||
{l s='No thanks!' mod='onboarding'}
|
||||
<i class="icon icon-times icon-lg"></i>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="onboarding-intro">
|
||||
<h3 class="text-center">
|
||||
{$smarty.capture.onboardingStepModalTitle|escape:'html':'UTF-8'}
|
||||
</h3>
|
||||
<a class="close-button" href="#" id="quick-start-button">
|
||||
<i class="icon icon-times-circle"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="steps-list-container">
|
||||
<ul class="steps-list">
|
||||
<li {if $current_step > 1}class="checked"{/if}{if $current_step == 1}class="active"{/if}{if $current_step < 1}class="inactive"{/if}>
|
||||
<span class="title">{l s='Customize your shop\'s look and feel' mod='onboarding'}</span>
|
||||
{if $current_step == 1}
|
||||
<p class="desc">
|
||||
{l s='Give your shop its own identity based on your brand.' mod='onboarding'}<br/>
|
||||
{l s='You can change your theme or install a new one, and make sure to upload your own logo to make your shop truly unique.' mod='onboarding'}<br/><br/>
|
||||
<a class="btn btn-primary continue_editing" href="#">
|
||||
<i class="icon icon-pencil icon-lg"></i>
|
||||
{l s='OK, take me to my theme' mod='onboarding'}</a>
|
||||
</p>
|
||||
{else if $current_step > 1}
|
||||
<p class="desc">
|
||||
<a class="continue_editing" href="{$continue_editing_links.theme|escape:'html':'UTF-8'}">{l s='Continue editing' mod='onboarding'}</a>
|
||||
</p>
|
||||
{/if}
|
||||
</li>
|
||||
<li {if $current_step > 2}class="checked"{/if}{if $current_step == 2}class="active"{/if}{if $current_step < 2}class="inactive"{/if}>
|
||||
<span class="title">{l s='Add products to your catalog' mod='onboarding'}</span>
|
||||
{if $current_step == 2}
|
||||
<p class="desc">
|
||||
{l s='Start your product catalog with a first product.' mod='onboarding'}
|
||||
<br/>
|
||||
{l s='Make sure you cover the basics by setting its price, having a nice description and uploading a catchy image!' mod='onboarding'}
|
||||
{assign "onboardingstep2importcsv" value=$continue_editing_links.import var="onboardingstep2importcsv"}
|
||||
{l s='If you already have your product base in a .CSV file, save time and make an import!' tags=["<a href='$onboardingstep2importcsv&addproduct'>"] mod='onboarding'}
|
||||
<br/><br/>
|
||||
<a class="btn btn-primary continue_editing" href="#">
|
||||
<i class="icon icon-book icon-lg"></i>
|
||||
{l s='Ok, Go to my catalog' mod='onboarding'}</a>
|
||||
</p>
|
||||
{else if $current_step > 2}
|
||||
<p class="desc">
|
||||
<a class="" href="{$continue_editing_links.product|escape:'html':'UTF-8'}">{l s='Continue adding products' mod='onboarding'}</a>
|
||||
</p>
|
||||
{/if}
|
||||
</li>
|
||||
<li {if $current_step > 3}class="checked"{/if}{if $current_step == 3}class="active"{/if}{if $current_step < 3}class="inactive"{/if}>
|
||||
<span class="title">{l s='Set up your payment methods' mod='onboarding'}</span>
|
||||
{if $current_step == 3}
|
||||
<p class="desc">
|
||||
{l s='Select which payment methods you want to offer to customers on your shop, and manage the various restrictions you can apply (per currency, country or group of customers).' mod='onboarding'}
|
||||
<br/><br/>
|
||||
<a class="btn btn-primary continue_editing" href="#">
|
||||
<i class="icon icon-credit-card icon-lg"></i>
|
||||
{l s='Show me payment methods' mod='onboarding'}
|
||||
</a>
|
||||
</p>
|
||||
{else if $current_step > 3}
|
||||
<p class="desc">
|
||||
<a class="" href="{$continue_editing_links.payment|escape:'html':'UTF-8'}">{l s='Continue selecting payment methods' mod='onboarding'}</a>
|
||||
</p>
|
||||
{/if}
|
||||
</li>
|
||||
<li {if $current_step > 4}class="checked"{/if}{if $current_step == 4}class="active"{/if}{if $current_step < 4}class="inactive"{/if}>
|
||||
<span class="title" >{l s='Set up your shipping methods' mod='onboarding'}</span>
|
||||
{if $current_step == 4}
|
||||
<p class="desc">
|
||||
{l s='Unless you are only selling virtual products, you must register your shipping partners into PrestaShop.' mod='onboarding'}<br/>
|
||||
{l s='Without this your customers won\'t be able to enjoy your products!' mod='onboarding'}
|
||||
<br/>
|
||||
<br/>
|
||||
<a class="btn btn-primary continue_editing" href="#">
|
||||
<i class="icon icon-truck icon-lg"></i>
|
||||
{l s='Let\'s see about shipping' mod='onboarding'}
|
||||
</a>
|
||||
</p>
|
||||
{else if $current_step > 4}
|
||||
<p class="desc">
|
||||
<a class="" href="{$continue_editing_links.carrier|escape:'html':'UTF-8'}">{l s='Continue selecting shipping methods' mod='onboarding'}</a>
|
||||
</p>
|
||||
{/if}
|
||||
</li>
|
||||
</ul>
|
||||
{if $current_step == 5}
|
||||
<div class="step-launch">
|
||||
<button id="onboarding-launch" class="btn btn-block btn-lg btn-primary">
|
||||
<i class="icon icon-check icon-lg"></i>
|
||||
{l s='Launch' mod='onboarding'}
|
||||
</button>
|
||||
</div>
|
||||
{else}
|
||||
<a href="#" class="skip">{l s='Skip Tutorial' mod='onboarding'}</a>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="steps-animation-container">
|
||||
{if $current_step == 1}
|
||||
<img src="{$module_dir|escape:'html':'UTF-8'}img/step0.jpg" alt="Step 1">
|
||||
{/if}
|
||||
{if $current_step == 2}
|
||||
<img src="{$module_dir|escape:'html':'UTF-8'}img/step1.jpg" alt="Step 2">
|
||||
{/if}
|
||||
{if $current_step == 3}
|
||||
<img src="{$module_dir|escape:'html':'UTF-8'}img/step2.jpg" alt="Step 3">
|
||||
{/if}
|
||||
{if $current_step == 4}
|
||||
<img src="{$module_dir|escape:'html':'UTF-8'}img/step3.jpg" alt="Step 4">
|
||||
{/if}
|
||||
{if $current_step == 5}
|
||||
{include file="./launch_animation.tpl"}
|
||||
{/if}
|
||||
<div class="step-before-launch text-center">
|
||||
{if $current_step == 4}
|
||||
{l s='Last step before launch!' mod='onboarding'}
|
||||
{else if $current_step == 5}
|
||||
{l s='You are all set!' mod='onboarding'}
|
||||
{else}
|
||||
{l s='You are only %s steps away from launch!' sprintf=[5-(int)$current_step] mod='onboarding'}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel final" style="display: none;">
|
||||
<div class="onboarding-intro">
|
||||
<h3 class="text-center">
|
||||
{$smarty.capture.onboardingStepModalTitle|escape:'html':'UTF-8'}
|
||||
</h3>
|
||||
<a class="close-button" href="" id="final-button">
|
||||
<i class="icon icon-times-circle"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="final-container">
|
||||
<span class="title">
|
||||
{l s='You are now ready to launch your shop. If you feel you need more information, you can still have a look at PrestaShop Documentation:' mod='onboarding'}
|
||||
<br />
|
||||
{l s='click on "Help" in the top right corner of your back office!' mod='onboarding'}
|
||||
</span>
|
||||
<br />
|
||||
<textarea name="social-text" id="social-text">{l s='I just launched my online shop with @PrestaShop. Check it out!' mod='onboarding'}</textarea>
|
||||
<br />
|
||||
<div class="col-lg-3 text-center">
|
||||
<a href="#" class="btn btn-default" onclick="share_facebook_click();">
|
||||
<i class="icon icon-facebook icon-4x icon-fw"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-3 text-center">
|
||||
<a href="#" class="btn btn-default" onclick="share_twitter_click($('#social-text').text());">
|
||||
<i class="icon icon-twitter icon-4x icon-fw"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-3 text-center">
|
||||
<a href="#" class="btn btn-default" onclick="share_linkedin_click();">
|
||||
<i class="icon icon-linkedin icon-4x icon-fw"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-3 text-center">
|
||||
<a href="#" class="btn btn-default" onclick="share_google_click();">
|
||||
<i class="icon icon-google-plus icon-4x icon-fw"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
12
modules/productcomments/config_fr.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>productcomments</name>
|
||||
<displayName><![CDATA[Commentaires produits]]></displayName>
|
||||
<version><![CDATA[3.4.1]]></version>
|
||||
<description><![CDATA[Autoriser les utilisateurs à à publier des avis et à noter les produits sur des critères spécifiques.]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[front_office_features]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
10
override/classes/controller/AdminController.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
class AdminController extends AdminControllerCore {
|
||||
|
||||
public function isFresh($file, $timeout = 604800) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
79
override/classes/controller/FrontController.php
Normal file
@ -0,0 +1,79 @@
|
||||
<?php
|
||||
|
||||
class FrontController extends FrontControllerCore
|
||||
{
|
||||
public function display()
|
||||
{
|
||||
Tools::safePostVars();
|
||||
|
||||
// assign css_files and js_files at the very last time
|
||||
if ((Configuration::get('PS_CSS_THEME_CACHE') || Configuration::get('PS_JS_THEME_CACHE')) && is_writable(_PS_THEME_DIR_.'cache'))
|
||||
{
|
||||
// CSS compressor management
|
||||
if (Configuration::get('PS_CSS_THEME_CACHE'))
|
||||
$this->css_files = Media::cccCss($this->css_files);
|
||||
//JS compressor management
|
||||
if (Configuration::get('PS_JS_THEME_CACHE') && !$this->useMobileTheme())
|
||||
$this->js_files = Media::cccJs($this->js_files);
|
||||
}
|
||||
|
||||
/* Override destroy all css */
|
||||
|
||||
$this->css_files = array();
|
||||
|
||||
/* Override Add real css */
|
||||
$this->addCSS(_THEME_CSS_DIR_.'bootstrap.css', 'all');
|
||||
$this->addCSS(_THEME_CSS_DIR_.'k2000.css', 'all');
|
||||
$this->addCSS(_THEME_CSS_DIR_.'global.css', 'all');
|
||||
|
||||
|
||||
if (@filemtime($this->getThemeDir().'css/autoload/'))
|
||||
foreach (scandir($this->getThemeDir().'css/autoload', 0) as $file)
|
||||
if (preg_match('/^[^.].*\.css$/', $file))
|
||||
$this->addCSS($this->getThemeDir().'css/autoload/'.$file);
|
||||
|
||||
/****************************/
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'css_files' => $this->css_files,
|
||||
'js_files' => ($this->getLayout() && (bool)Configuration::get('PS_JS_DEFER')) ? array() : $this->js_files,
|
||||
'js_defer' => (bool)Configuration::get('PS_JS_DEFER'),
|
||||
'errors' => $this->errors,
|
||||
'display_header' => $this->display_header,
|
||||
'display_footer' => $this->display_footer,
|
||||
));
|
||||
|
||||
$layout = $this->getLayout();
|
||||
if ($layout)
|
||||
{
|
||||
if ($this->template)
|
||||
$template = $this->context->smarty->fetch($this->template);
|
||||
else // For retrocompatibility with 1.4 controller
|
||||
{
|
||||
ob_start();
|
||||
$this->displayContent();
|
||||
$template = ob_get_contents();
|
||||
ob_clean();
|
||||
|
||||
}
|
||||
$template = $this->context->smarty->assign('template', $template);
|
||||
$this->smartyOutputContent($layout);
|
||||
}
|
||||
else
|
||||
{
|
||||
Tools::displayAsDeprecated('layout.tpl is missing in your theme directory');
|
||||
if ($this->display_header)
|
||||
$this->smartyOutputContent(_PS_THEME_DIR_.'header.tpl');
|
||||
|
||||
if ($this->template)
|
||||
$this->smartyOutputContent($this->template);
|
||||
else // For retrocompatibility with 1.4 controller
|
||||
$this->displayContent();
|
||||
|
||||
if ($this->display_footer)
|
||||
$this->smartyOutputContent(_PS_THEME_DIR_.'footer.tpl');
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
?>
|