diff --git a/core/lib/Thelia/Config/Resources/routing/admin.xml b/core/lib/Thelia/Config/Resources/routing/admin.xml
index 684a953ae..9c8745172 100755
--- a/core/lib/Thelia/Config/Resources/routing/admin.xml
+++ b/core/lib/Thelia/Config/Resources/routing/admin.xml
@@ -934,12 +934,12 @@
Thelia\Controller\Admin\ModuleController::processUpdateAction
-
+
Thelia\Controller\Admin\ModuleController::toggleActivationAction
\d+
-
+
Thelia\Controller\Admin\ModuleController::deleteAction
diff --git a/core/lib/Thelia/Config/Resources/routing/front.xml b/core/lib/Thelia/Config/Resources/routing/front.xml
index 4d811599c..702c050ed 100755
--- a/core/lib/Thelia/Config/Resources/routing/front.xml
+++ b/core/lib/Thelia/Config/Resources/routing/front.xml
@@ -58,6 +58,11 @@
Thelia\Controller\Front\DefaultController::noAction
account-password
+
+
+ Thelia\Controller\Front\OrderController::generateDeliveryPdf
+ \d+
+
@@ -152,10 +157,6 @@
-
- Thelia\Controller\Front\Mail::test
-
-
Thelia\Controller\Front\ContactController::sendAction
diff --git a/core/lib/Thelia/Config/Resources/smarty-plugin.xml b/core/lib/Thelia/Config/Resources/smarty-plugin.xml
index 9ea787534..9a630d8f5 100644
--- a/core/lib/Thelia/Config/Resources/smarty-plugin.xml
+++ b/core/lib/Thelia/Config/Resources/smarty-plugin.xml
@@ -10,7 +10,7 @@
- %kernel.environment%
+ %kernel.debug%
diff --git a/core/lib/Thelia/Controller/Admin/OrderController.php b/core/lib/Thelia/Controller/Admin/OrderController.php
index 0a293278e..56d130f5d 100644
--- a/core/lib/Thelia/Controller/Admin/OrderController.php
+++ b/core/lib/Thelia/Controller/Admin/OrderController.php
@@ -202,48 +202,28 @@ class OrderController extends BaseAdminController
public function generateInvoicePdf($order_id)
{
- return $this->generatePdf($order_id, ConfigQuery::read('pdf_invoice_file', 'invoice'));
+ if (null !== $response = $this->checkAuth(AdminResources::ORDER, array(), AccessManager::UPDATE)) return $response;
+
+ return $this->generateBackOfficeOrderPdf($order_id, ConfigQuery::read('pdf_invoice_file', 'invoice'));
}
public function generateDeliveryPdf($order_id)
- {
- return $this->generatePdf($order_id, ConfigQuery::read('pdf_delivery_file', 'delivery'));
- }
-
- protected function generatePdf($order_id, $fileName)
{
if (null !== $response = $this->checkAuth(AdminResources::ORDER, array(), AccessManager::UPDATE)) return $response;
- $html = $this->renderRaw(
- $fileName,
- array(
+ return $this->generateBackOfficeOrderPdf($order_id, ConfigQuery::read('pdf_delivery_file', 'delivery'));
+ }
+
+ private function generateBackOfficeOrderPdf($order_id, $fileName)
+ {
+ if(null === $response = $this->generateOrderPdf($order_id, $fileName)){
+ $this->redirect(URL::getInstance()->absoluteUrl($this->getRoute("admin.order.update.view", array(
'order_id' => $order_id
- ),
- TemplateHelper::getInstance()->getActivePdfTemplate()->getPath()
- );
-
- $order = OrderQuery::create()->findPk($order_id);
-
- try {
- $pdfEvent = new PdfEvent($html);
-
- $this->dispatch(TheliaEvents::GENERATE_PDF, $pdfEvent);
-
- if ($pdfEvent->hasPdf()) {
- return Response::create($pdfEvent->getPdf(), 200,
- array(
- 'Content-type' => "application/pdf",
- 'Content-Disposition' => sprintf('Attachment;filename=%s.pdf', $order->getRef()),
- ));
- }
-
- } catch (\Exception $e) {
- \Thelia\Log\Tlog::getInstance()->error(sprintf('error during generating invoice pdf for order id : %d with message "%s"', $order_id, $e->getMessage()));
-
+ ))));
}
- $this->redirect(URL::getInstance()->absoluteUrl($this->getRoute("admin.order.update.view", array(
- 'order_id' => $order_id
- ))));
+ return $response;
}
+
+
}
diff --git a/core/lib/Thelia/Controller/Admin/TranslationsController.php b/core/lib/Thelia/Controller/Admin/TranslationsController.php
index 654a3ffdf..04fc065b5 100644
--- a/core/lib/Thelia/Controller/Admin/TranslationsController.php
+++ b/core/lib/Thelia/Controller/Admin/TranslationsController.php
@@ -45,10 +45,6 @@ class TranslationsController extends BaseAdminController
// Find modules
$modules = ModuleQuery::create()->joinI18n($this->getCurrentEditionLocale())->orderByPosition()->find();
- TemplateHelper::getInstance()->getList(TemplateDefinition::BACK_OFFICE);
- TemplateHelper::getInstance()->getList(TemplateDefinition::PDF);
- TemplateHelper::getInstance()->getList(TemplateDefinition::FRONT_OFFICE);
-
// Get related strings, if all input data are here
$item_to_translate = $this->getRequest()->get('item_to_translate');
diff --git a/core/lib/Thelia/Controller/BaseController.php b/core/lib/Thelia/Controller/BaseController.php
index 450f98e74..a8f7b3a63 100755
--- a/core/lib/Thelia/Controller/BaseController.php
+++ b/core/lib/Thelia/Controller/BaseController.php
@@ -22,6 +22,8 @@
/*************************************************************************************/
namespace Thelia\Controller;
+use Thelia\Core\Event\PdfEvent;
+use Thelia\Core\Event\TheliaEvents;
use Thelia\Core\HttpFoundation\Response;
use Symfony\Component\DependencyInjection\ContainerAware;
@@ -31,7 +33,9 @@ use Symfony\Component\Routing\Exception\MissingMandatoryParametersException;
use Symfony\Component\Routing\Exception\RouteNotFoundException;
use Symfony\Component\Routing\Router;
use Thelia\Core\Security\SecurityContext;
+use Thelia\Core\Template\TemplateHelper;
use Thelia\Core\Translation\Translator;
+use Thelia\Model\OrderQuery;
use Thelia\Tools\URL;
use Thelia\Tools\Redirect;
use Thelia\Core\Template\ParserContext;
@@ -52,7 +56,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @author Manuel Raynaud
*/
-class BaseController extends ContainerAware
+abstract class BaseController extends ContainerAware
{
/**
@@ -73,6 +77,21 @@ class BaseController extends ContainerAware
return new Response($json_data, $status, array('content-type' => 'application/json'));
}
+ /**
+ * @param $pdf
+ * @param $fileName
+ * @param $status
+ * @return \Symfony\Component\HttpFoundation\Response
+ */
+ protected function pdfResponse($pdf, $fileName, $status = 200)
+ {
+ return Response::create($pdf, $status,
+ array(
+ 'Content-type' => "application/pdf",
+ 'Content-Disposition' => sprintf('Attachment;filename=%s.pdf', $fileName),
+ ));
+ }
+
/**
* Dispatch a Thelia event
*
@@ -207,6 +226,35 @@ class BaseController extends ContainerAware
}
}
+ protected function generateOrderPdf($order_id, $fileName)
+ {
+ $html = $this->renderRaw(
+ $fileName,
+ array(
+ 'order_id' => $order_id
+ ),
+ TemplateHelper::getInstance()->getActivePdfTemplate()->getPath()
+ );
+
+ $order = OrderQuery::create()->findPk($order_id);
+
+ try {
+ $pdfEvent = new PdfEvent($html);
+
+ $this->dispatch(TheliaEvents::GENERATE_PDF, $pdfEvent);
+
+ if ($pdfEvent->hasPdf()) {
+ return $this->pdfResponse($pdfEvent->getPdf(), $order->getRef());
+ }
+
+ } catch (\Exception $e) {
+ \Thelia\Log\Tlog::getInstance()->error(sprintf('error during generating invoice pdf for order id : %d with message "%s"', $order_id, $e->getMessage()));
+
+ }
+
+
+ }
+
/**
*
* redirect request to the specified url
@@ -311,20 +359,28 @@ class BaseController extends ContainerAware
}
/**
- *
- * return an instance of SmartyParser
- *
- * Caution : maybe there is still not default template defined.
- *
- * @return ParserInterface instance parser
+ * @return a ParserInterface instance parser
*/
- protected function getParser()
- {
- return $this->container->get("thelia.parser");
- }
+ abstract protected function getParser($template = null);
- protected function render($inline)
- {
- return $this->getParser()->fetch(sprintf("string:%s", $inline));
- }
+ /**
+ * Render the given template, and returns the result as an Http Response.
+ *
+ * @param $templateName the complete template name, with extension
+ * @param array $args the template arguments
+ * @param int $status http code status
+ * @return \Thelia\Core\HttpFoundation\Response
+ */
+ abstract protected function render($templateName, $args = array(), $status = 200);
+
+ /**
+ * Render the given template, and returns the result as a string.
+ *
+ * @param $templateName the complete template name, with extension
+ * @param array $args the template arguments
+ * @param null $templateDir
+ *
+ * @return string
+ */
+ abstract protected function renderRaw($templateName, $args = array(), $templateDir = null);
}
diff --git a/core/lib/Thelia/Controller/Front/BaseFrontController.php b/core/lib/Thelia/Controller/Front/BaseFrontController.php
index 60628bbc1..124a91296 100755
--- a/core/lib/Thelia/Controller/Front/BaseFrontController.php
+++ b/core/lib/Thelia/Controller/Front/BaseFrontController.php
@@ -24,9 +24,13 @@ namespace Thelia\Controller\Front;
use Symfony\Component\Routing\Router;
use Thelia\Controller\BaseController;
+use Thelia\Core\HttpFoundation\Response;
+use Thelia\Core\Security\Exception\AuthenticationException;
+use Thelia\Core\Template\TemplateHelper;
use Thelia\Model\AddressQuery;
use Thelia\Model\ConfigQuery;
use Thelia\Model\ModuleQuery;
+use Thelia\Tools\Redirect;
use Thelia\Tools\URL;
class BaseFrontController extends BaseController
@@ -88,12 +92,59 @@ class BaseFrontController extends BaseController
/**
* @return ParserInterface instance parser
*/
- protected function getParser()
+ protected function getParser($template = null)
{
$parser = $this->container->get("thelia.parser");
- $parser->setTemplate(ConfigQuery::getActiveTemplate());
+ // Define the template that should be used
+ $parser->setTemplate($template ?: TemplateHelper::getInstance()->getActiveFrontTemplate()->getPath());
return $parser;
}
+
+ /**
+ * Render the given template, and returns the result as an Http Response.
+ *
+ * @param $templateName the complete template name, with extension
+ * @param array $args the template arguments
+ * @param int $status http code status
+ * @return \Thelia\Core\HttpFoundation\Response
+ */
+ protected function render($templateName, $args = array(), $status = 200)
+ {
+ return Response::create($this->renderRaw($templateName, $args), $status);
+ }
+
+ /**
+ * Render the given template, and returns the result as a string.
+ *
+ * @param $templateName the complete template name, with extension
+ * @param array $args the template arguments
+ * @param null $templateDir
+ *
+ * @return string
+ */
+ protected function renderRaw($templateName, $args = array(), $templateDir = null)
+ {
+
+ // Add the template standard extension
+ $templateName .= '.html';
+
+ $session = $this->getSession();
+
+ // Prepare common template variables
+ $args = array_merge($args, array(
+ 'locale' => $session->getLang()->getLocale(),
+ 'lang_code' => $session->getLang()->getCode(),
+ 'lang_id' => $session->getLang()->getId(),
+ 'current_url' => $this->getRequest()->getUri()
+ ));
+
+ // Render the template.
+
+ $data = $this->getParser($templateDir)->render($templateName, $args);
+
+ return $data;
+
+ }
}
diff --git a/core/lib/Thelia/Controller/Front/Mail.php b/core/lib/Thelia/Controller/Front/Mail.php
deleted file mode 100644
index f25024f99..000000000
--- a/core/lib/Thelia/Controller/Front/Mail.php
+++ /dev/null
@@ -1,48 +0,0 @@
-. */
-/* */
-/*************************************************************************************/
-
-namespace Thelia\Controller\Front;
-
-/**
- * Class Mail
- * @package Thelia\Controller\Front
- * @author Manuel Raynaud
- */
-class Mail extends BaseFrontController
-{
- /**
- * This is a demo how to send a mail using swiftmailer + smarty
- */
- public function test()
- {
- $message = \Swift_Message::newInstance('Wonderful Subject')
- ->setFrom(array('john@doe.com' => 'John Doe'))
- ->setTo(array('mraynaud@openstudio.fr' => 'name'))
- ->setBody($this->render('Here is the message itself'))
- ;
-
- $this->getMailer()->send($message);
-
- exit;
- }
-}
diff --git a/core/lib/Thelia/Controller/Front/OrderController.php b/core/lib/Thelia/Controller/Front/OrderController.php
index bb0604bd1..dc3f5b20f 100755
--- a/core/lib/Thelia/Controller/Front/OrderController.php
+++ b/core/lib/Thelia/Controller/Front/OrderController.php
@@ -23,6 +23,9 @@
namespace Thelia\Controller\Front;
use Propel\Runtime\Exception\PropelException;
+use Thelia\Core\Event\PdfEvent;
+use Thelia\Core\HttpFoundation\Response;
+use Thelia\Core\Template\TemplateHelper;
use Thelia\Exception\TheliaProcessException;
use Thelia\Form\Exception\FormValidationException;
use Thelia\Core\Event\Order\OrderEvent;
@@ -34,6 +37,7 @@ use Thelia\Log\Tlog;
use Thelia\Model\AddressQuery;
use Thelia\Model\AreaDeliveryModuleQuery;
use Thelia\Model\Base\OrderQuery;
+use Thelia\Model\ConfigQuery;
use Thelia\Model\ModuleQuery;
use Thelia\Model\Order;
use Thelia\Tools\URL;
@@ -67,7 +71,6 @@ class OrderController extends BaseFrontController
$deliveryModule = ModuleQuery::create()->findPk($deliveryModuleId);
/* check that the delivery address belongs to the current customer */
- $deliveryAddress = AddressQuery::create()->findPk($deliveryAddressId);
if ($deliveryAddress->getCustomerId() !== $this->getSecurityContext()->getCustomerUser()->getId()) {
throw new \Exception("Delivery address does not belong to the current customer");
}
@@ -242,4 +245,20 @@ class OrderController extends BaseFrontController
return $order;
}
+
+ public function generateInvoicePdf($order_id)
+ {
+ /* check customer */
+ $this->checkAuth();
+ return $this->generateOrderPdf($order_id, ConfigQuery::read('pdf_invoice_file', 'invoice'));
+ }
+
+ public function generateDeliveryPdf($order_id)
+ {
+ /* check customer */
+ $this->checkAuth();
+ return $this->generateOrderPdf($order_id, ConfigQuery::read('pdf_delivery_file', 'delivery'));
+ }
+
+
}
diff --git a/core/lib/Thelia/Core/Template/Assets/AsseticAssetManager.php b/core/lib/Thelia/Core/Template/Assets/AsseticAssetManager.php
index 094b256ff..ba6a96ee5 100755
--- a/core/lib/Thelia/Core/Template/Assets/AsseticAssetManager.php
+++ b/core/lib/Thelia/Core/Template/Assets/AsseticAssetManager.php
@@ -40,13 +40,13 @@ use Symfony\Component\Filesystem\Exception\IOException;
*/
class AsseticAssetManager implements AssetManagerInterface
{
- protected $developmentMode;
+ protected $debugMode;
protected $source_file_extensions = array('less', 'js', 'coffee', 'html', 'tpl', 'htm', 'xml');
- public function __construct($developmentMode)
+ public function __construct($debugMode)
{
- $this->developmentMode = $developmentMode;
+ $this->debugMode = $debugMode;
}
/**
@@ -336,7 +336,7 @@ class AsseticAssetManager implements AssetManagerInterface
Tlog::getInstance()->addDebug("Asset destination full path: $asset_destination_path");
// We generate an asset only if it does not exists, or if the asset processing is forced in development mode
- if (! file_exists($asset_destination_path) || ($this->developmentMode && ConfigQuery::read('process_assets', true)) ) {
+ if (! file_exists($asset_destination_path) || ($this->debugMode && ConfigQuery::read('process_assets', true)) ) {
$writer = new AssetWriter($output_directory);
diff --git a/core/lib/Thelia/Core/Template/Loop/Lang.php b/core/lib/Thelia/Core/Template/Loop/Lang.php
index f473b8589..399e3e8b0 100755
--- a/core/lib/Thelia/Core/Template/Loop/Lang.php
+++ b/core/lib/Thelia/Core/Template/Loop/Lang.php
@@ -33,6 +33,8 @@ use Thelia\Core\Template\Loop\Argument\Argument;
use Thelia\Model\LangQuery;
use Thelia\Core\Template\Loop\Argument\ArgumentCollection;
+use Thelia\Type\TypeCollection;
+use Thelia\Type;
/**
* Language loop, to get a list of available languages
@@ -56,7 +58,14 @@ class Lang extends BaseLoop implements PropelSearchLoopInterface
return new ArgumentCollection(
Argument::createIntTypeArgument('id', null),
Argument::createIntListTypeArgument('exclude'),
- Argument::createBooleanTypeArgument('default_only', false)
+ Argument::createBooleanTypeArgument('default_only', false),
+ new Argument(
+ 'order',
+ new TypeCollection(
+ new Type\EnumListType(array('id', 'id_reverse', 'alpha', 'alpha_reverse', 'position', 'position_reverse'))
+ ),
+ 'position'
+ )
);
}
@@ -79,6 +88,30 @@ class Lang extends BaseLoop implements PropelSearchLoopInterface
}
$search->orderByPosition(Criteria::ASC);
+ $orders = $this->getOrder();
+
+ foreach ($orders as $order) {
+ switch ($order) {
+ case "id":
+ $search->orderById(Criteria::ASC);
+ break;
+ case "id_reverse":
+ $search->orderById(Criteria::DESC);
+ break;
+ case "alpha":
+ $search->orderByTitle(Criteria::ASC);
+ break;
+ case "alpha_reverse":
+ $search->orderByTitle(Criteria::DESC);
+ break;
+ case "position":
+ $search->orderByPosition(Criteria::ASC);
+ break;
+ case "position_reverse":
+ $search->orderByPosition(Criteria::DESC);
+ break;
+ }
+ }
return $search;
diff --git a/core/lib/Thelia/Core/Template/TemplateDefinition.php b/core/lib/Thelia/Core/Template/TemplateDefinition.php
index a88f46c75..34e6740a8 100644
--- a/core/lib/Thelia/Core/Template/TemplateDefinition.php
+++ b/core/lib/Thelia/Core/Template/TemplateDefinition.php
@@ -22,7 +22,6 @@
/*************************************************************************************/
namespace Thelia\Core\Template;
-use Thelia\Model\ConfigQuery;
class TemplateDefinition
{
@@ -30,7 +29,8 @@ class TemplateDefinition
const BACK_OFFICE = 2;
const PDF = 3;
- const BACK_OFFICE_SUBDIR = 'admin/';
+ const FRONT_OFFICE_SUBDIR = 'frontOffice/';
+ const BACK_OFFICE_SUBDIR = 'backOffice/';
const PDF_SUBDIR = 'pdf/';
/**
@@ -58,6 +58,8 @@ class TemplateDefinition
$this->path = self::BACK_OFFICE_SUBDIR . $name;
else if ($type == self::PDF)
$this->path = self::PDF_SUBDIR . $name;
+ else if ($type == self::FRONT_OFFICE)
+ $this->path = self::FRONT_OFFICE_SUBDIR . $name;
else
$this->path = $name;
}
diff --git a/core/lib/Thelia/Core/Template/TemplateHelper.php b/core/lib/Thelia/Core/Template/TemplateHelper.php
index f1a2ec8b9..6be177bd2 100644
--- a/core/lib/Thelia/Core/Template/TemplateHelper.php
+++ b/core/lib/Thelia/Core/Template/TemplateHelper.php
@@ -78,7 +78,7 @@ class TemplateHelper
$baseDir = THELIA_TEMPLATE_DIR.TemplateDefinition::PDF_SUBDIR;
}
else {
- $baseDir = THELIA_TEMPLATE_DIR;
+ $baseDir = THELIA_TEMPLATE_DIR.TemplateDefinition::FRONT_OFFICE_SUBDIR;
$exclude = array(TemplateDefinition::BACK_OFFICE_SUBDIR, TemplateDefinition::PDF_SUBDIR);
}
diff --git a/core/lib/Thelia/Install/CheckPermission.php b/core/lib/Thelia/Install/CheckPermission.php
index b8c4e9888..6a9a5245e 100644
--- a/core/lib/Thelia/Install/CheckPermission.php
+++ b/core/lib/Thelia/Install/CheckPermission.php
@@ -63,6 +63,14 @@ class CheckPermission extends BaseInstall
'upload_max_filesize' => 2097152
);
+ protected $extensions = array(
+ 'curl',
+ 'gd',
+ 'intl',
+ 'mcrypt',
+ 'pdo_mysql',
+ );
+
protected $validationMessages = array();
/** @var bool If permissions are OK */
@@ -103,6 +111,14 @@ class CheckPermission extends BaseInstall
);
}
+ foreach ($this->extensions as $extension) {
+ $this->validationMessages[$extension] = array(
+ 'text' => '',
+ 'hint' => $this->getI18nExtensionHint(),
+ 'status' => true,
+ );
+ }
+
parent::__construct($verifyInstall);
}
@@ -139,6 +155,15 @@ class CheckPermission extends BaseInstall
}
}
+ foreach ($this->extensions as $extension) {
+ $this->validationMessages[$extension]['text'] = $this->getI18nExtensionText($extension, true);
+ if (false === extension_loaded($extension)) {
+ $this->isValid = false;
+ $this->validationMessages[$extension]['status'] = false;
+ $this->validationMessages[$extension]['text'] = $this->getI18nExtensionText($extension, false);
+ }
+ }
+
@@ -176,7 +201,6 @@ class CheckPermission extends BaseInstall
}
-
/**
* Get Translated text about the directory state
*
@@ -198,8 +222,7 @@ class CheckPermission extends BaseInstall
$sentence,
array(
'%directory%' => $directory
- ),
- 'install-wizard'
+ )
);
} else {
$translatedText = sprintf('Your directory %s needs to be writable', $directory);
@@ -208,6 +231,19 @@ class CheckPermission extends BaseInstall
return $translatedText;
}
+ protected function getI18nExtensionText($extension, $isValid)
+ {
+ if ($isValid) {
+ $sentence = '%extension% php extension is loaded';
+ } else {
+ $sentence = '%extension% php extension is not loaded';
+ }
+
+ return $this->translator->trans($sentence, array(
+ '%extension%' => $extension
+ ));
+ }
+
/**
* Get Translated hint about the directory state
*
@@ -266,6 +302,11 @@ class CheckPermission extends BaseInstall
return $translatedText;
}
+ protected function getI18nExtensionHint()
+ {
+ return $this->translator->trans('This extension must be installed and loaded');
+ }
+
/**
* Get Translated hint about the config requirement issue
*
@@ -275,9 +316,7 @@ class CheckPermission extends BaseInstall
{
$sentence = 'Modifying this value on your server php.ini file with admin rights could help';
$translatedText = $this->translator->trans(
- $sentence,
- array(),
- 'install-wizard'
+ $sentence
);
return $translatedText;
@@ -306,8 +345,7 @@ class CheckPermission extends BaseInstall
array(
'%expectedValue%' => $expectedValue,
'%currentValue%' => $currentValue,
- ),
- 'install-wizard'
+ )
);
} else {
$translatedText = sprintf('Thelia needs at least PHP %s (%s currently)', $expectedValue, $currentValue);
@@ -326,8 +364,7 @@ class CheckPermission extends BaseInstall
$sentence = 'Upgrading your version of PHP with admin rights could help';
$translatedText = $this->translator->trans(
$sentence,
- array(),
- 'install-wizard'
+ array()
);
return $translatedText;
diff --git a/local/modules/Colissimo/templates/admin.html b/local/modules/Colissimo/templates/admin.html
new file mode 100644
index 000000000..5e1c309da
--- /dev/null
+++ b/local/modules/Colissimo/templates/admin.html
@@ -0,0 +1 @@
+Hello World
\ No newline at end of file
diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml
deleted file mode 100755
index b0883cb90..000000000
--- a/phpdoc.dist.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- Thelia e-commerce Project]]>
-
- documentation/api
-
-
- documentation/api
-
-
- core/lib/Thelia/Tests/*
- core/lib/Thelia
-
-
-
\ No newline at end of file
diff --git a/templates/admin/default/404.html b/templates/backOffice/default/404.html
similarity index 100%
rename from templates/admin/default/404.html
rename to templates/backOffice/default/404.html
diff --git a/templates/admin/default/I18n/en_US.php b/templates/backOffice/default/I18n/en_US.php
similarity index 100%
rename from templates/admin/default/I18n/en_US.php
rename to templates/backOffice/default/I18n/en_US.php
diff --git a/templates/admin/default/I18n/es_ES.php b/templates/backOffice/default/I18n/es_ES.php
similarity index 100%
rename from templates/admin/default/I18n/es_ES.php
rename to templates/backOffice/default/I18n/es_ES.php
diff --git a/templates/admin/default/I18n/fr_FR.php b/templates/backOffice/default/I18n/fr_FR.php
similarity index 100%
rename from templates/admin/default/I18n/fr_FR.php
rename to templates/backOffice/default/I18n/fr_FR.php
diff --git a/templates/admin/default/I18n/it_IT.php b/templates/backOffice/default/I18n/it_IT.php
similarity index 100%
rename from templates/admin/default/I18n/it_IT.php
rename to templates/backOffice/default/I18n/it_IT.php
diff --git a/templates/admin/default/admin-layout.tpl b/templates/backOffice/default/admin-layout.tpl
similarity index 100%
rename from templates/admin/default/admin-layout.tpl
rename to templates/backOffice/default/admin-layout.tpl
diff --git a/templates/admin/default/admin-logs.html b/templates/backOffice/default/admin-logs.html
similarity index 100%
rename from templates/admin/default/admin-logs.html
rename to templates/backOffice/default/admin-logs.html
diff --git a/templates/admin/default/administrators.html b/templates/backOffice/default/administrators.html
similarity index 100%
rename from templates/admin/default/administrators.html
rename to templates/backOffice/default/administrators.html
diff --git a/templates/admin/default/ajax/language-update-modal.html b/templates/backOffice/default/ajax/language-update-modal.html
similarity index 100%
rename from templates/admin/default/ajax/language-update-modal.html
rename to templates/backOffice/default/ajax/language-update-modal.html
diff --git a/templates/admin/default/ajax/logger.html b/templates/backOffice/default/ajax/logger.html
similarity index 100%
rename from templates/admin/default/ajax/logger.html
rename to templates/backOffice/default/ajax/logger.html
diff --git a/templates/admin/default/ajax/product-attributes-tab.html b/templates/backOffice/default/ajax/product-attributes-tab.html
similarity index 100%
rename from templates/admin/default/ajax/product-attributes-tab.html
rename to templates/backOffice/default/ajax/product-attributes-tab.html
diff --git a/templates/admin/default/ajax/product-related-tab.html b/templates/backOffice/default/ajax/product-related-tab.html
similarity index 100%
rename from templates/admin/default/ajax/product-related-tab.html
rename to templates/backOffice/default/ajax/product-related-tab.html
diff --git a/templates/admin/default/ajax/template-attribute-list.html b/templates/backOffice/default/ajax/template-attribute-list.html
similarity index 100%
rename from templates/admin/default/ajax/template-attribute-list.html
rename to templates/backOffice/default/ajax/template-attribute-list.html
diff --git a/templates/admin/default/ajax/template-feature-list.html b/templates/backOffice/default/ajax/template-feature-list.html
similarity index 100%
rename from templates/admin/default/ajax/template-feature-list.html
rename to templates/backOffice/default/ajax/template-feature-list.html
diff --git a/templates/admin/default/ajax/thelia_news_feed.html b/templates/backOffice/default/ajax/thelia_news_feed.html
similarity index 100%
rename from templates/admin/default/ajax/thelia_news_feed.html
rename to templates/backOffice/default/ajax/thelia_news_feed.html
diff --git a/templates/admin/default/assets/fonts/bootstrap/glyphicons-halflings-regular.eot b/templates/backOffice/default/assets/fonts/bootstrap/glyphicons-halflings-regular.eot
similarity index 100%
rename from templates/admin/default/assets/fonts/bootstrap/glyphicons-halflings-regular.eot
rename to templates/backOffice/default/assets/fonts/bootstrap/glyphicons-halflings-regular.eot
diff --git a/templates/admin/default/assets/fonts/bootstrap/glyphicons-halflings-regular.svg b/templates/backOffice/default/assets/fonts/bootstrap/glyphicons-halflings-regular.svg
similarity index 100%
rename from templates/admin/default/assets/fonts/bootstrap/glyphicons-halflings-regular.svg
rename to templates/backOffice/default/assets/fonts/bootstrap/glyphicons-halflings-regular.svg
diff --git a/templates/admin/default/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf b/templates/backOffice/default/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf
similarity index 100%
rename from templates/admin/default/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf
rename to templates/backOffice/default/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf
diff --git a/templates/admin/default/assets/fonts/bootstrap/glyphicons-halflings-regular.woff b/templates/backOffice/default/assets/fonts/bootstrap/glyphicons-halflings-regular.woff
similarity index 100%
rename from templates/admin/default/assets/fonts/bootstrap/glyphicons-halflings-regular.woff
rename to templates/backOffice/default/assets/fonts/bootstrap/glyphicons-halflings-regular.woff
diff --git a/templates/admin/default/assets/img/ajax-loader.gif b/templates/backOffice/default/assets/img/ajax-loader.gif
similarity index 100%
rename from templates/admin/default/assets/img/ajax-loader.gif
rename to templates/backOffice/default/assets/img/ajax-loader.gif
diff --git a/templates/admin/default/assets/img/bg.jpg b/templates/backOffice/default/assets/img/bg.jpg
similarity index 100%
rename from templates/admin/default/assets/img/bg.jpg
rename to templates/backOffice/default/assets/img/bg.jpg
diff --git a/templates/admin/default/assets/img/clear.png b/templates/backOffice/default/assets/img/clear.png
similarity index 100%
rename from templates/admin/default/assets/img/clear.png
rename to templates/backOffice/default/assets/img/clear.png
diff --git a/templates/admin/default/assets/img/deconnexion.png b/templates/backOffice/default/assets/img/deconnexion.png
similarity index 100%
rename from templates/admin/default/assets/img/deconnexion.png
rename to templates/backOffice/default/assets/img/deconnexion.png
diff --git a/templates/admin/default/assets/img/favicon.ico b/templates/backOffice/default/assets/img/favicon.ico
similarity index 100%
rename from templates/admin/default/assets/img/favicon.ico
rename to templates/backOffice/default/assets/img/favicon.ico
diff --git a/templates/admin/default/assets/img/flags/en.gif b/templates/backOffice/default/assets/img/flags/en.gif
similarity index 100%
rename from templates/admin/default/assets/img/flags/en.gif
rename to templates/backOffice/default/assets/img/flags/en.gif
diff --git a/templates/admin/default/assets/img/flags/es.gif b/templates/backOffice/default/assets/img/flags/es.gif
similarity index 100%
rename from templates/admin/default/assets/img/flags/es.gif
rename to templates/backOffice/default/assets/img/flags/es.gif
diff --git a/templates/admin/default/assets/img/flags/fr.gif b/templates/backOffice/default/assets/img/flags/fr.gif
similarity index 100%
rename from templates/admin/default/assets/img/flags/fr.gif
rename to templates/backOffice/default/assets/img/flags/fr.gif
diff --git a/templates/admin/default/assets/img/flags/it.gif b/templates/backOffice/default/assets/img/flags/it.gif
similarity index 100%
rename from templates/admin/default/assets/img/flags/it.gif
rename to templates/backOffice/default/assets/img/flags/it.gif
diff --git a/templates/admin/default/assets/img/header.jpg b/templates/backOffice/default/assets/img/header.jpg
similarity index 100%
rename from templates/admin/default/assets/img/header.jpg
rename to templates/backOffice/default/assets/img/header.jpg
diff --git a/templates/admin/default/assets/img/loading.gif b/templates/backOffice/default/assets/img/loading.gif
similarity index 100%
rename from templates/admin/default/assets/img/loading.gif
rename to templates/backOffice/default/assets/img/loading.gif
diff --git a/templates/admin/default/assets/img/logo-light.png b/templates/backOffice/default/assets/img/logo-light.png
similarity index 100%
rename from templates/admin/default/assets/img/logo-light.png
rename to templates/backOffice/default/assets/img/logo-light.png
diff --git a/templates/admin/default/assets/img/logo-thelia-34px.png b/templates/backOffice/default/assets/img/logo-thelia-34px.png
similarity index 100%
rename from templates/admin/default/assets/img/logo-thelia-34px.png
rename to templates/backOffice/default/assets/img/logo-thelia-34px.png
diff --git a/templates/admin/default/assets/img/logo.png b/templates/backOffice/default/assets/img/logo.png
similarity index 100%
rename from templates/admin/default/assets/img/logo.png
rename to templates/backOffice/default/assets/img/logo.png
diff --git a/templates/admin/default/assets/img/top-bar-logo-save.png b/templates/backOffice/default/assets/img/top-bar-logo-save.png
similarity index 100%
rename from templates/admin/default/assets/img/top-bar-logo-save.png
rename to templates/backOffice/default/assets/img/top-bar-logo-save.png
diff --git a/templates/admin/default/assets/img/top-bar-logo.png b/templates/backOffice/default/assets/img/top-bar-logo.png
similarity index 100%
rename from templates/admin/default/assets/img/top-bar-logo.png
rename to templates/backOffice/default/assets/img/top-bar-logo.png
diff --git a/templates/admin/default/assets/img/top.jpg b/templates/backOffice/default/assets/img/top.jpg
similarity index 100%
rename from templates/admin/default/assets/img/top.jpg
rename to templates/backOffice/default/assets/img/top.jpg
diff --git a/templates/admin/default/assets/js/bootstrap-editable/bootstrap-editable.js b/templates/backOffice/default/assets/js/bootstrap-editable/bootstrap-editable.js
similarity index 100%
rename from templates/admin/default/assets/js/bootstrap-editable/bootstrap-editable.js
rename to templates/backOffice/default/assets/js/bootstrap-editable/bootstrap-editable.js
diff --git a/templates/admin/default/assets/js/bootstrap-select/bootstrap-select.js b/templates/backOffice/default/assets/js/bootstrap-select/bootstrap-select.js
similarity index 100%
rename from templates/admin/default/assets/js/bootstrap-select/bootstrap-select.js
rename to templates/backOffice/default/assets/js/bootstrap-select/bootstrap-select.js
diff --git a/templates/admin/default/assets/js/bootstrap-switch/bootstrap-switch.js b/templates/backOffice/default/assets/js/bootstrap-switch/bootstrap-switch.js
similarity index 100%
rename from templates/admin/default/assets/js/bootstrap-switch/bootstrap-switch.js
rename to templates/backOffice/default/assets/js/bootstrap-switch/bootstrap-switch.js
diff --git a/templates/admin/default/assets/js/bootstrap/bootstrap.js b/templates/backOffice/default/assets/js/bootstrap/bootstrap.js
similarity index 100%
rename from templates/admin/default/assets/js/bootstrap/bootstrap.js
rename to templates/backOffice/default/assets/js/bootstrap/bootstrap.js
diff --git a/templates/admin/default/assets/js/coupon.js b/templates/backOffice/default/assets/js/coupon.js
similarity index 100%
rename from templates/admin/default/assets/js/coupon.js
rename to templates/backOffice/default/assets/js/coupon.js
diff --git a/templates/admin/default/assets/js/document-upload.js b/templates/backOffice/default/assets/js/document-upload.js
similarity index 100%
rename from templates/admin/default/assets/js/document-upload.js
rename to templates/backOffice/default/assets/js/document-upload.js
diff --git a/templates/admin/default/assets/js/dropzone.js b/templates/backOffice/default/assets/js/dropzone.js
similarity index 100%
rename from templates/admin/default/assets/js/dropzone.js
rename to templates/backOffice/default/assets/js/dropzone.js
diff --git a/templates/admin/default/assets/js/image-upload.js b/templates/backOffice/default/assets/js/image-upload.js
similarity index 100%
rename from templates/admin/default/assets/js/image-upload.js
rename to templates/backOffice/default/assets/js/image-upload.js
diff --git a/templates/admin/default/assets/js/jqplot/jquery.jqplot.min.js b/templates/backOffice/default/assets/js/jqplot/jquery.jqplot.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/jquery.jqplot.min.js
rename to templates/backOffice/default/assets/js/jqplot/jquery.jqplot.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.BezierCurveRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.BezierCurveRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.BezierCurveRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.BezierCurveRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.barRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.barRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.barRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.barRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.blockRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.blockRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.blockRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.blockRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.bubbleRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.bubbleRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.bubbleRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.bubbleRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.canvasOverlay.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.canvasOverlay.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.canvasOverlay.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.canvasOverlay.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.canvasTextRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.canvasTextRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.canvasTextRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.canvasTextRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.categoryAxisRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.categoryAxisRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.categoryAxisRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.categoryAxisRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.ciParser.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.ciParser.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.ciParser.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.ciParser.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.cursor.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.cursor.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.cursor.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.cursor.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.dateAxisRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.dateAxisRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.dateAxisRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.dateAxisRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.donutRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.donutRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.donutRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.donutRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.dragable.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.dragable.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.dragable.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.dragable.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.enhancedLegendRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.enhancedLegendRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.enhancedLegendRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.enhancedLegendRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.funnelRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.funnelRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.funnelRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.funnelRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.highlighter.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.highlighter.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.highlighter.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.highlighter.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.json2.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.json2.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.json2.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.json2.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.logAxisRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.logAxisRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.logAxisRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.logAxisRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.mekkoAxisRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.mekkoAxisRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.mekkoAxisRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.mekkoAxisRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.mekkoRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.mekkoRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.mekkoRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.mekkoRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.meterGaugeRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.meterGaugeRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.meterGaugeRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.meterGaugeRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.mobile.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.mobile.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.mobile.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.mobile.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.ohlcRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.ohlcRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.ohlcRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.ohlcRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.pieRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.pieRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.pieRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.pieRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.pointLabels.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.pointLabels.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.pointLabels.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.pointLabels.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.pyramidAxisRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.pyramidAxisRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.pyramidAxisRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.pyramidAxisRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.pyramidGridRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.pyramidGridRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.pyramidGridRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.pyramidGridRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.pyramidRenderer.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.pyramidRenderer.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.pyramidRenderer.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.pyramidRenderer.min.js
diff --git a/templates/admin/default/assets/js/jqplot/plugins/jqplot.trendline.min.js b/templates/backOffice/default/assets/js/jqplot/plugins/jqplot.trendline.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jqplot/plugins/jqplot.trendline.min.js
rename to templates/backOffice/default/assets/js/jqplot/plugins/jqplot.trendline.min.js
diff --git a/templates/admin/default/assets/js/jquery.min.js b/templates/backOffice/default/assets/js/jquery.min.js
similarity index 100%
rename from templates/admin/default/assets/js/jquery.min.js
rename to templates/backOffice/default/assets/js/jquery.min.js
diff --git a/templates/admin/default/assets/js/jquery.typewatch.js b/templates/backOffice/default/assets/js/jquery.typewatch.js
similarity index 100%
rename from templates/admin/default/assets/js/jquery.typewatch.js
rename to templates/backOffice/default/assets/js/jquery.typewatch.js
diff --git a/templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-es_ES.js b/templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-es_ES.js
similarity index 100%
rename from templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-es_ES.js
rename to templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-es_ES.js
diff --git a/templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-fr_FR.js b/templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-fr_FR.js
similarity index 100%
rename from templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-fr_FR.js
rename to templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-fr_FR.js
diff --git a/templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-it_IT.js.js b/templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-it_IT.js.js
similarity index 100%
rename from templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-it_IT.js.js
rename to templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/jquery.ui.datepicker-it_IT.js.js
diff --git a/templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/readme.txt b/templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/readme.txt
similarity index 100%
rename from templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/readme.txt
rename to templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/i18n/readme.txt
diff --git a/templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/jquery.ui.datepicker.css b/templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/jquery.ui.datepicker.css
similarity index 100%
rename from templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/jquery.ui.datepicker.css
rename to templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/jquery.ui.datepicker.css
diff --git a/templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/jquery.ui.datepicker.js b/templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/jquery.ui.datepicker.js
similarity index 100%
rename from templates/admin/default/assets/js/jquery.ui/jquery.ui.datepicker/jquery.ui.datepicker.js
rename to templates/backOffice/default/assets/js/jquery.ui/jquery.ui.datepicker/jquery.ui.datepicker.js
diff --git a/templates/admin/default/assets/js/jquery.ui/jquery.ui.theme.css b/templates/backOffice/default/assets/js/jquery.ui/jquery.ui.theme.css
similarity index 100%
rename from templates/admin/default/assets/js/jquery.ui/jquery.ui.theme.css
rename to templates/backOffice/default/assets/js/jquery.ui/jquery.ui.theme.css
diff --git a/templates/admin/default/assets/js/json2.js b/templates/backOffice/default/assets/js/json2.js
similarity index 100%
rename from templates/admin/default/assets/js/json2.js
rename to templates/backOffice/default/assets/js/json2.js
diff --git a/templates/admin/default/assets/js/libs/jquery.js b/templates/backOffice/default/assets/js/libs/jquery.js
similarity index 100%
rename from templates/admin/default/assets/js/libs/jquery.js
rename to templates/backOffice/default/assets/js/libs/jquery.js
diff --git a/templates/admin/default/assets/js/libs/respond.min.js b/templates/backOffice/default/assets/js/libs/respond.min.js
similarity index 100%
rename from templates/admin/default/assets/js/libs/respond.min.js
rename to templates/backOffice/default/assets/js/libs/respond.min.js
diff --git a/templates/admin/default/assets/js/main.js b/templates/backOffice/default/assets/js/main.js
similarity index 100%
rename from templates/admin/default/assets/js/main.js
rename to templates/backOffice/default/assets/js/main.js
diff --git a/templates/admin/default/assets/js/tablesorter/jquery.metadata.js b/templates/backOffice/default/assets/js/tablesorter/jquery.metadata.js
similarity index 100%
rename from templates/admin/default/assets/js/tablesorter/jquery.metadata.js
rename to templates/backOffice/default/assets/js/tablesorter/jquery.metadata.js
diff --git a/templates/admin/default/assets/js/tablesorter/jquery.tablesorter.min.js b/templates/backOffice/default/assets/js/tablesorter/jquery.tablesorter.min.js
similarity index 100%
rename from templates/admin/default/assets/js/tablesorter/jquery.tablesorter.min.js
rename to templates/backOffice/default/assets/js/tablesorter/jquery.tablesorter.min.js
diff --git a/templates/admin/default/assets/js/tablesorter/jquery.tablesorter.widgets-filter-formatter.js b/templates/backOffice/default/assets/js/tablesorter/jquery.tablesorter.widgets-filter-formatter.js
similarity index 100%
rename from templates/admin/default/assets/js/tablesorter/jquery.tablesorter.widgets-filter-formatter.js
rename to templates/backOffice/default/assets/js/tablesorter/jquery.tablesorter.widgets-filter-formatter.js
diff --git a/templates/admin/default/assets/js/tablesorter/jquery.tablesorter.widgets.js b/templates/backOffice/default/assets/js/tablesorter/jquery.tablesorter.widgets.js
similarity index 100%
rename from templates/admin/default/assets/js/tablesorter/jquery.tablesorter.widgets.js
rename to templates/backOffice/default/assets/js/tablesorter/jquery.tablesorter.widgets.js
diff --git a/templates/admin/default/assets/less/bootstrap/alerts.less b/templates/backOffice/default/assets/less/bootstrap/alerts.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/alerts.less
rename to templates/backOffice/default/assets/less/bootstrap/alerts.less
diff --git a/templates/admin/default/assets/less/bootstrap/badges.less b/templates/backOffice/default/assets/less/bootstrap/badges.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/badges.less
rename to templates/backOffice/default/assets/less/bootstrap/badges.less
diff --git a/templates/admin/default/assets/less/bootstrap/bootstrap.less b/templates/backOffice/default/assets/less/bootstrap/bootstrap.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/bootstrap.less
rename to templates/backOffice/default/assets/less/bootstrap/bootstrap.less
diff --git a/templates/admin/default/assets/less/bootstrap/breadcrumbs.less b/templates/backOffice/default/assets/less/bootstrap/breadcrumbs.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/breadcrumbs.less
rename to templates/backOffice/default/assets/less/bootstrap/breadcrumbs.less
diff --git a/templates/admin/default/assets/less/bootstrap/button-groups.less b/templates/backOffice/default/assets/less/bootstrap/button-groups.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/button-groups.less
rename to templates/backOffice/default/assets/less/bootstrap/button-groups.less
diff --git a/templates/admin/default/assets/less/bootstrap/buttons.less b/templates/backOffice/default/assets/less/bootstrap/buttons.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/buttons.less
rename to templates/backOffice/default/assets/less/bootstrap/buttons.less
diff --git a/templates/admin/default/assets/less/bootstrap/carousel.less b/templates/backOffice/default/assets/less/bootstrap/carousel.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/carousel.less
rename to templates/backOffice/default/assets/less/bootstrap/carousel.less
diff --git a/templates/admin/default/assets/less/bootstrap/close.less b/templates/backOffice/default/assets/less/bootstrap/close.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/close.less
rename to templates/backOffice/default/assets/less/bootstrap/close.less
diff --git a/templates/admin/default/assets/less/bootstrap/code.less b/templates/backOffice/default/assets/less/bootstrap/code.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/code.less
rename to templates/backOffice/default/assets/less/bootstrap/code.less
diff --git a/templates/admin/default/assets/less/bootstrap/component-animations.less b/templates/backOffice/default/assets/less/bootstrap/component-animations.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/component-animations.less
rename to templates/backOffice/default/assets/less/bootstrap/component-animations.less
diff --git a/templates/admin/default/assets/less/bootstrap/dropdowns.less b/templates/backOffice/default/assets/less/bootstrap/dropdowns.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/dropdowns.less
rename to templates/backOffice/default/assets/less/bootstrap/dropdowns.less
diff --git a/templates/admin/default/assets/less/bootstrap/forms.less b/templates/backOffice/default/assets/less/bootstrap/forms.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/forms.less
rename to templates/backOffice/default/assets/less/bootstrap/forms.less
diff --git a/templates/admin/default/assets/less/bootstrap/glyphicons.less b/templates/backOffice/default/assets/less/bootstrap/glyphicons.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/glyphicons.less
rename to templates/backOffice/default/assets/less/bootstrap/glyphicons.less
diff --git a/templates/admin/default/assets/less/bootstrap/grid.less b/templates/backOffice/default/assets/less/bootstrap/grid.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/grid.less
rename to templates/backOffice/default/assets/less/bootstrap/grid.less
diff --git a/templates/admin/default/assets/less/bootstrap/input-groups.less b/templates/backOffice/default/assets/less/bootstrap/input-groups.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/input-groups.less
rename to templates/backOffice/default/assets/less/bootstrap/input-groups.less
diff --git a/templates/admin/default/assets/less/bootstrap/jumbotron.less b/templates/backOffice/default/assets/less/bootstrap/jumbotron.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/jumbotron.less
rename to templates/backOffice/default/assets/less/bootstrap/jumbotron.less
diff --git a/templates/admin/default/assets/less/bootstrap/labels.less b/templates/backOffice/default/assets/less/bootstrap/labels.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/labels.less
rename to templates/backOffice/default/assets/less/bootstrap/labels.less
diff --git a/templates/admin/default/assets/less/bootstrap/list-group.less b/templates/backOffice/default/assets/less/bootstrap/list-group.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/list-group.less
rename to templates/backOffice/default/assets/less/bootstrap/list-group.less
diff --git a/templates/admin/default/assets/less/bootstrap/media.less b/templates/backOffice/default/assets/less/bootstrap/media.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/media.less
rename to templates/backOffice/default/assets/less/bootstrap/media.less
diff --git a/templates/admin/default/assets/less/bootstrap/mixins.less b/templates/backOffice/default/assets/less/bootstrap/mixins.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/mixins.less
rename to templates/backOffice/default/assets/less/bootstrap/mixins.less
diff --git a/templates/admin/default/assets/less/bootstrap/modals.less b/templates/backOffice/default/assets/less/bootstrap/modals.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/modals.less
rename to templates/backOffice/default/assets/less/bootstrap/modals.less
diff --git a/templates/admin/default/assets/less/bootstrap/navbar.less b/templates/backOffice/default/assets/less/bootstrap/navbar.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/navbar.less
rename to templates/backOffice/default/assets/less/bootstrap/navbar.less
diff --git a/templates/admin/default/assets/less/bootstrap/navs.less b/templates/backOffice/default/assets/less/bootstrap/navs.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/navs.less
rename to templates/backOffice/default/assets/less/bootstrap/navs.less
diff --git a/templates/admin/default/assets/less/bootstrap/normalize.less b/templates/backOffice/default/assets/less/bootstrap/normalize.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/normalize.less
rename to templates/backOffice/default/assets/less/bootstrap/normalize.less
diff --git a/templates/admin/default/assets/less/bootstrap/pager.less b/templates/backOffice/default/assets/less/bootstrap/pager.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/pager.less
rename to templates/backOffice/default/assets/less/bootstrap/pager.less
diff --git a/templates/admin/default/assets/less/bootstrap/pagination.less b/templates/backOffice/default/assets/less/bootstrap/pagination.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/pagination.less
rename to templates/backOffice/default/assets/less/bootstrap/pagination.less
diff --git a/templates/admin/default/assets/less/bootstrap/panels.less b/templates/backOffice/default/assets/less/bootstrap/panels.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/panels.less
rename to templates/backOffice/default/assets/less/bootstrap/panels.less
diff --git a/templates/admin/default/assets/less/bootstrap/popovers.less b/templates/backOffice/default/assets/less/bootstrap/popovers.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/popovers.less
rename to templates/backOffice/default/assets/less/bootstrap/popovers.less
diff --git a/templates/admin/default/assets/less/bootstrap/print.less b/templates/backOffice/default/assets/less/bootstrap/print.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/print.less
rename to templates/backOffice/default/assets/less/bootstrap/print.less
diff --git a/templates/admin/default/assets/less/bootstrap/progress-bars.less b/templates/backOffice/default/assets/less/bootstrap/progress-bars.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/progress-bars.less
rename to templates/backOffice/default/assets/less/bootstrap/progress-bars.less
diff --git a/templates/admin/default/assets/less/bootstrap/responsive-utilities.less b/templates/backOffice/default/assets/less/bootstrap/responsive-utilities.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/responsive-utilities.less
rename to templates/backOffice/default/assets/less/bootstrap/responsive-utilities.less
diff --git a/templates/admin/default/assets/less/bootstrap/scaffolding.less b/templates/backOffice/default/assets/less/bootstrap/scaffolding.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/scaffolding.less
rename to templates/backOffice/default/assets/less/bootstrap/scaffolding.less
diff --git a/templates/admin/default/assets/less/bootstrap/tables.less b/templates/backOffice/default/assets/less/bootstrap/tables.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/tables.less
rename to templates/backOffice/default/assets/less/bootstrap/tables.less
diff --git a/templates/admin/default/assets/less/bootstrap/theme.less b/templates/backOffice/default/assets/less/bootstrap/theme.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/theme.less
rename to templates/backOffice/default/assets/less/bootstrap/theme.less
diff --git a/templates/admin/default/assets/less/bootstrap/thumbnails.less b/templates/backOffice/default/assets/less/bootstrap/thumbnails.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/thumbnails.less
rename to templates/backOffice/default/assets/less/bootstrap/thumbnails.less
diff --git a/templates/admin/default/assets/less/bootstrap/tooltip.less b/templates/backOffice/default/assets/less/bootstrap/tooltip.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/tooltip.less
rename to templates/backOffice/default/assets/less/bootstrap/tooltip.less
diff --git a/templates/admin/default/assets/less/bootstrap/type.less b/templates/backOffice/default/assets/less/bootstrap/type.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/type.less
rename to templates/backOffice/default/assets/less/bootstrap/type.less
diff --git a/templates/admin/default/assets/less/bootstrap/utilities.less b/templates/backOffice/default/assets/less/bootstrap/utilities.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/utilities.less
rename to templates/backOffice/default/assets/less/bootstrap/utilities.less
diff --git a/templates/admin/default/assets/less/bootstrap/variables.less b/templates/backOffice/default/assets/less/bootstrap/variables.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/variables.less
rename to templates/backOffice/default/assets/less/bootstrap/variables.less
diff --git a/templates/admin/default/assets/less/bootstrap/wells.less b/templates/backOffice/default/assets/less/bootstrap/wells.less
similarity index 100%
rename from templates/admin/default/assets/less/bootstrap/wells.less
rename to templates/backOffice/default/assets/less/bootstrap/wells.less
diff --git a/templates/admin/default/assets/less/main.less b/templates/backOffice/default/assets/less/main.less
similarity index 100%
rename from templates/admin/default/assets/less/main.less
rename to templates/backOffice/default/assets/less/main.less
diff --git a/templates/admin/default/assets/less/thelia/bootstrap-editable.less b/templates/backOffice/default/assets/less/thelia/bootstrap-editable.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/bootstrap-editable.less
rename to templates/backOffice/default/assets/less/thelia/bootstrap-editable.less
diff --git a/templates/admin/default/assets/less/thelia/bootstrap-select.less b/templates/backOffice/default/assets/less/thelia/bootstrap-select.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/bootstrap-select.less
rename to templates/backOffice/default/assets/less/thelia/bootstrap-select.less
diff --git a/templates/admin/default/assets/less/thelia/bootstrap-switch.less b/templates/backOffice/default/assets/less/thelia/bootstrap-switch.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/bootstrap-switch.less
rename to templates/backOffice/default/assets/less/thelia/bootstrap-switch.less
diff --git a/templates/admin/default/assets/less/thelia/breadcrumbs.less b/templates/backOffice/default/assets/less/thelia/breadcrumbs.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/breadcrumbs.less
rename to templates/backOffice/default/assets/less/thelia/breadcrumbs.less
diff --git a/templates/admin/default/assets/less/thelia/datepicker.less b/templates/backOffice/default/assets/less/thelia/datepicker.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/datepicker.less
rename to templates/backOffice/default/assets/less/thelia/datepicker.less
diff --git a/templates/admin/default/assets/less/thelia/dropzone.less b/templates/backOffice/default/assets/less/thelia/dropzone.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/dropzone.less
rename to templates/backOffice/default/assets/less/thelia/dropzone.less
diff --git a/templates/admin/default/assets/less/thelia/forms.less b/templates/backOffice/default/assets/less/thelia/forms.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/forms.less
rename to templates/backOffice/default/assets/less/thelia/forms.less
diff --git a/templates/admin/default/assets/less/thelia/grid.less b/templates/backOffice/default/assets/less/thelia/grid.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/grid.less
rename to templates/backOffice/default/assets/less/thelia/grid.less
diff --git a/templates/admin/default/assets/less/thelia/jqplot.less b/templates/backOffice/default/assets/less/thelia/jqplot.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/jqplot.less
rename to templates/backOffice/default/assets/less/thelia/jqplot.less
diff --git a/templates/admin/default/assets/less/thelia/logger.less b/templates/backOffice/default/assets/less/thelia/logger.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/logger.less
rename to templates/backOffice/default/assets/less/thelia/logger.less
diff --git a/templates/admin/default/assets/less/thelia/modals.less b/templates/backOffice/default/assets/less/thelia/modals.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/modals.less
rename to templates/backOffice/default/assets/less/thelia/modals.less
diff --git a/templates/admin/default/assets/less/thelia/navbar.less b/templates/backOffice/default/assets/less/thelia/navbar.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/navbar.less
rename to templates/backOffice/default/assets/less/thelia/navbar.less
diff --git a/templates/admin/default/assets/less/thelia/responsive.less b/templates/backOffice/default/assets/less/thelia/responsive.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/responsive.less
rename to templates/backOffice/default/assets/less/thelia/responsive.less
diff --git a/templates/admin/default/assets/less/thelia/scaffolding.less b/templates/backOffice/default/assets/less/thelia/scaffolding.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/scaffolding.less
rename to templates/backOffice/default/assets/less/thelia/scaffolding.less
diff --git a/templates/admin/default/assets/less/thelia/tables.less b/templates/backOffice/default/assets/less/thelia/tables.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/tables.less
rename to templates/backOffice/default/assets/less/thelia/tables.less
diff --git a/templates/admin/default/assets/less/thelia/tablesorter.less b/templates/backOffice/default/assets/less/thelia/tablesorter.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/tablesorter.less
rename to templates/backOffice/default/assets/less/thelia/tablesorter.less
diff --git a/templates/admin/default/assets/less/thelia/thelia.less b/templates/backOffice/default/assets/less/thelia/thelia.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/thelia.less
rename to templates/backOffice/default/assets/less/thelia/thelia.less
diff --git a/templates/admin/default/assets/less/thelia/type.less b/templates/backOffice/default/assets/less/thelia/type.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/type.less
rename to templates/backOffice/default/assets/less/thelia/type.less
diff --git a/templates/admin/default/assets/less/thelia/variables.less b/templates/backOffice/default/assets/less/thelia/variables.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/variables.less
rename to templates/backOffice/default/assets/less/thelia/variables.less
diff --git a/templates/admin/default/assets/less/thelia/wizard.less b/templates/backOffice/default/assets/less/thelia/wizard.less
similarity index 100%
rename from templates/admin/default/assets/less/thelia/wizard.less
rename to templates/backOffice/default/assets/less/thelia/wizard.less
diff --git a/templates/admin/default/attribute-edit.html b/templates/backOffice/default/attribute-edit.html
similarity index 100%
rename from templates/admin/default/attribute-edit.html
rename to templates/backOffice/default/attribute-edit.html
diff --git a/templates/admin/default/attributes.html b/templates/backOffice/default/attributes.html
similarity index 100%
rename from templates/admin/default/attributes.html
rename to templates/backOffice/default/attributes.html
diff --git a/templates/admin/default/categories.html b/templates/backOffice/default/categories.html
similarity index 100%
rename from templates/admin/default/categories.html
rename to templates/backOffice/default/categories.html
diff --git a/templates/admin/default/category-edit.html b/templates/backOffice/default/category-edit.html
similarity index 100%
rename from templates/admin/default/category-edit.html
rename to templates/backOffice/default/category-edit.html
diff --git a/templates/admin/default/configs/variables.conf b/templates/backOffice/default/configs/variables.conf
similarity index 100%
rename from templates/admin/default/configs/variables.conf
rename to templates/backOffice/default/configs/variables.conf
diff --git a/templates/admin/default/configuration.html b/templates/backOffice/default/configuration.html
similarity index 100%
rename from templates/admin/default/configuration.html
rename to templates/backOffice/default/configuration.html
diff --git a/templates/admin/default/content-edit.html b/templates/backOffice/default/content-edit.html
similarity index 100%
rename from templates/admin/default/content-edit.html
rename to templates/backOffice/default/content-edit.html
diff --git a/templates/admin/default/countries.html b/templates/backOffice/default/countries.html
similarity index 100%
rename from templates/admin/default/countries.html
rename to templates/backOffice/default/countries.html
diff --git a/templates/admin/default/country-edit.html b/templates/backOffice/default/country-edit.html
similarity index 100%
rename from templates/admin/default/country-edit.html
rename to templates/backOffice/default/country-edit.html
diff --git a/templates/admin/default/coupon-create.html b/templates/backOffice/default/coupon-create.html
similarity index 100%
rename from templates/admin/default/coupon-create.html
rename to templates/backOffice/default/coupon-create.html
diff --git a/templates/admin/default/coupon-list.html b/templates/backOffice/default/coupon-list.html
similarity index 100%
rename from templates/admin/default/coupon-list.html
rename to templates/backOffice/default/coupon-list.html
diff --git a/templates/admin/default/coupon-read.html b/templates/backOffice/default/coupon-read.html
similarity index 100%
rename from templates/admin/default/coupon-read.html
rename to templates/backOffice/default/coupon-read.html
diff --git a/templates/admin/default/coupon-update.html b/templates/backOffice/default/coupon-update.html
similarity index 100%
rename from templates/admin/default/coupon-update.html
rename to templates/backOffice/default/coupon-update.html
diff --git a/templates/admin/default/coupon/condition-input-ajax.html b/templates/backOffice/default/coupon/condition-input-ajax.html
similarity index 100%
rename from templates/admin/default/coupon/condition-input-ajax.html
rename to templates/backOffice/default/coupon/condition-input-ajax.html
diff --git a/templates/admin/default/coupon/conditions.html b/templates/backOffice/default/coupon/conditions.html
similarity index 100%
rename from templates/admin/default/coupon/conditions.html
rename to templates/backOffice/default/coupon/conditions.html
diff --git a/templates/admin/default/coupon/form.html b/templates/backOffice/default/coupon/form.html
similarity index 100%
rename from templates/admin/default/coupon/form.html
rename to templates/backOffice/default/coupon/form.html
diff --git a/templates/admin/default/currencies.html b/templates/backOffice/default/currencies.html
similarity index 100%
rename from templates/admin/default/currencies.html
rename to templates/backOffice/default/currencies.html
diff --git a/templates/admin/default/currency-edit.html b/templates/backOffice/default/currency-edit.html
similarity index 100%
rename from templates/admin/default/currency-edit.html
rename to templates/backOffice/default/currency-edit.html
diff --git a/templates/admin/default/customer-edit.html b/templates/backOffice/default/customer-edit.html
similarity index 100%
rename from templates/admin/default/customer-edit.html
rename to templates/backOffice/default/customer-edit.html
diff --git a/templates/admin/default/customers.html b/templates/backOffice/default/customers.html
similarity index 100%
rename from templates/admin/default/customers.html
rename to templates/backOffice/default/customers.html
diff --git a/templates/admin/default/document-edit.html b/templates/backOffice/default/document-edit.html
similarity index 100%
rename from templates/admin/default/document-edit.html
rename to templates/backOffice/default/document-edit.html
diff --git a/templates/admin/default/feature-edit.html b/templates/backOffice/default/feature-edit.html
similarity index 100%
rename from templates/admin/default/feature-edit.html
rename to templates/backOffice/default/feature-edit.html
diff --git a/templates/admin/default/features.html b/templates/backOffice/default/features.html
similarity index 100%
rename from templates/admin/default/features.html
rename to templates/backOffice/default/features.html
diff --git a/templates/admin/default/folder-edit.html b/templates/backOffice/default/folder-edit.html
similarity index 100%
rename from templates/admin/default/folder-edit.html
rename to templates/backOffice/default/folder-edit.html
diff --git a/templates/admin/default/folders.html b/templates/backOffice/default/folders.html
similarity index 100%
rename from templates/admin/default/folders.html
rename to templates/backOffice/default/folders.html
diff --git a/templates/admin/default/general_error.html b/templates/backOffice/default/general_error.html
similarity index 100%
rename from templates/admin/default/general_error.html
rename to templates/backOffice/default/general_error.html
diff --git a/templates/admin/default/home.html b/templates/backOffice/default/home.html
similarity index 100%
rename from templates/admin/default/home.html
rename to templates/backOffice/default/home.html
diff --git a/templates/admin/default/image-edit.html b/templates/backOffice/default/image-edit.html
similarity index 100%
rename from templates/admin/default/image-edit.html
rename to templates/backOffice/default/image-edit.html
diff --git a/templates/admin/default/includes/admin-utilities-position-block.html b/templates/backOffice/default/includes/admin-utilities-position-block.html
similarity index 100%
rename from templates/admin/default/includes/admin-utilities-position-block.html
rename to templates/backOffice/default/includes/admin-utilities-position-block.html
diff --git a/templates/admin/default/includes/admin-utilities-sortable-column-header.html b/templates/backOffice/default/includes/admin-utilities-sortable-column-header.html
similarity index 100%
rename from templates/admin/default/includes/admin-utilities-sortable-column-header.html
rename to templates/backOffice/default/includes/admin-utilities-sortable-column-header.html
diff --git a/templates/admin/default/includes/catalog-breadcrumb.html b/templates/backOffice/default/includes/catalog-breadcrumb.html
similarity index 100%
rename from templates/admin/default/includes/catalog-breadcrumb.html
rename to templates/backOffice/default/includes/catalog-breadcrumb.html
diff --git a/templates/admin/default/includes/confirmation-modal.html b/templates/backOffice/default/includes/confirmation-modal.html
similarity index 100%
rename from templates/admin/default/includes/confirmation-modal.html
rename to templates/backOffice/default/includes/confirmation-modal.html
diff --git a/templates/admin/default/includes/content-folder-management.html b/templates/backOffice/default/includes/content-folder-management.html
similarity index 100%
rename from templates/admin/default/includes/content-folder-management.html
rename to templates/backOffice/default/includes/content-folder-management.html
diff --git a/templates/admin/default/includes/customer_address_form_fields.html b/templates/backOffice/default/includes/customer_address_form_fields.html
similarity index 100%
rename from templates/admin/default/includes/customer_address_form_fields.html
rename to templates/backOffice/default/includes/customer_address_form_fields.html
diff --git a/templates/admin/default/includes/document-upload-form.html b/templates/backOffice/default/includes/document-upload-form.html
similarity index 100%
rename from templates/admin/default/includes/document-upload-form.html
rename to templates/backOffice/default/includes/document-upload-form.html
diff --git a/templates/admin/default/includes/document-upload-list-ajax.html b/templates/backOffice/default/includes/document-upload-list-ajax.html
similarity index 100%
rename from templates/admin/default/includes/document-upload-list-ajax.html
rename to templates/backOffice/default/includes/document-upload-list-ajax.html
diff --git a/templates/admin/default/includes/folder-breadcrumb.html b/templates/backOffice/default/includes/folder-breadcrumb.html
similarity index 100%
rename from templates/admin/default/includes/folder-breadcrumb.html
rename to templates/backOffice/default/includes/folder-breadcrumb.html
diff --git a/templates/admin/default/includes/generic-confirm-dialog.html b/templates/backOffice/default/includes/generic-confirm-dialog.html
similarity index 100%
rename from templates/admin/default/includes/generic-confirm-dialog.html
rename to templates/backOffice/default/includes/generic-confirm-dialog.html
diff --git a/templates/admin/default/includes/generic-create-dialog.html b/templates/backOffice/default/includes/generic-create-dialog.html
similarity index 100%
rename from templates/admin/default/includes/generic-create-dialog.html
rename to templates/backOffice/default/includes/generic-create-dialog.html
diff --git a/templates/admin/default/includes/generic-js-dialog.html b/templates/backOffice/default/includes/generic-js-dialog.html
similarity index 100%
rename from templates/admin/default/includes/generic-js-dialog.html
rename to templates/backOffice/default/includes/generic-js-dialog.html
diff --git a/templates/admin/default/includes/generic-warning-dialog.html b/templates/backOffice/default/includes/generic-warning-dialog.html
similarity index 100%
rename from templates/admin/default/includes/generic-warning-dialog.html
rename to templates/backOffice/default/includes/generic-warning-dialog.html
diff --git a/templates/admin/default/includes/image-upload-form.html b/templates/backOffice/default/includes/image-upload-form.html
similarity index 100%
rename from templates/admin/default/includes/image-upload-form.html
rename to templates/backOffice/default/includes/image-upload-form.html
diff --git a/templates/admin/default/includes/image-upload-list-ajax.html b/templates/backOffice/default/includes/image-upload-list-ajax.html
similarity index 100%
rename from templates/admin/default/includes/image-upload-list-ajax.html
rename to templates/backOffice/default/includes/image-upload-list-ajax.html
diff --git a/templates/admin/default/includes/inner-form-toolbar.html b/templates/backOffice/default/includes/inner-form-toolbar.html
similarity index 100%
rename from templates/admin/default/includes/inner-form-toolbar.html
rename to templates/backOffice/default/includes/inner-form-toolbar.html
diff --git a/templates/admin/default/includes/module-block.html b/templates/backOffice/default/includes/module-block.html
similarity index 93%
rename from templates/admin/default/includes/module-block.html
rename to templates/backOffice/default/includes/module-block.html
index 1cfdec3c2..f0875230a 100644
--- a/templates/admin/default/includes/module-block.html
+++ b/templates/backOffice/default/includes/module-block.html
@@ -27,9 +27,9 @@
diff --git a/templates/admin/default/includes/notifications.html b/templates/backOffice/default/includes/notifications.html
similarity index 100%
rename from templates/admin/default/includes/notifications.html
rename to templates/backOffice/default/includes/notifications.html
diff --git a/templates/admin/default/includes/product-details-tab.html b/templates/backOffice/default/includes/product-details-tab.html
similarity index 100%
rename from templates/admin/default/includes/product-details-tab.html
rename to templates/backOffice/default/includes/product-details-tab.html
diff --git a/templates/admin/default/includes/product-general-tab.html b/templates/backOffice/default/includes/product-general-tab.html
similarity index 100%
rename from templates/admin/default/includes/product-general-tab.html
rename to templates/backOffice/default/includes/product-general-tab.html
diff --git a/templates/admin/default/includes/standard-description-form-fields.html b/templates/backOffice/default/includes/standard-description-form-fields.html
similarity index 100%
rename from templates/admin/default/includes/standard-description-form-fields.html
rename to templates/backOffice/default/includes/standard-description-form-fields.html
diff --git a/templates/admin/default/languages.html b/templates/backOffice/default/languages.html
similarity index 100%
rename from templates/admin/default/languages.html
rename to templates/backOffice/default/languages.html
diff --git a/templates/admin/default/login.html b/templates/backOffice/default/login.html
similarity index 100%
rename from templates/admin/default/login.html
rename to templates/backOffice/default/login.html
diff --git a/templates/admin/default/mailing-system.html b/templates/backOffice/default/mailing-system.html
similarity index 100%
rename from templates/admin/default/mailing-system.html
rename to templates/backOffice/default/mailing-system.html
diff --git a/templates/admin/default/message-edit.html b/templates/backOffice/default/message-edit.html
similarity index 100%
rename from templates/admin/default/message-edit.html
rename to templates/backOffice/default/message-edit.html
diff --git a/templates/admin/default/messages.html b/templates/backOffice/default/messages.html
similarity index 100%
rename from templates/admin/default/messages.html
rename to templates/backOffice/default/messages.html
diff --git a/templates/admin/default/module-edit.html b/templates/backOffice/default/module-edit.html
similarity index 100%
rename from templates/admin/default/module-edit.html
rename to templates/backOffice/default/module-edit.html
diff --git a/templates/admin/default/modules.html b/templates/backOffice/default/modules.html
similarity index 96%
rename from templates/admin/default/modules.html
rename to templates/backOffice/default/modules.html
index 0eebed2b8..12d918efc 100644
--- a/templates/admin/default/modules.html
+++ b/templates/backOffice/default/modules.html
@@ -53,7 +53,7 @@
dialog_title = {intl l="Delete a module"}
dialog_message = {intl l="Do you really want to delete this module ?"}
- form_action = {url path='/admin/modules/delete'}
+ form_action = {url path='/admin/module/delete'}
form_content = {$smarty.capture.delete_module_dialog nofilter}
}
@@ -82,7 +82,7 @@
- {javascripts file='assets/js/libs/respond.min.js'}
-
- {/javascripts}
+
+
@@ -85,7 +86,7 @@ GNU General Public License : http://www.gnu.org/licenses/
- {config key="company_name"}
+ {$company_name}
@@ -102,18 +103,18 @@ GNU General Public License : http://www.gnu.org/licenses/
{intl l="Log In!"}