[+] BO : added new marketing tab
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{if $show_toolbar}
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn toolbar_scroll=$toolbar_scroll title=$title}
|
||||
{/if}
|
||||
|
||||
{$modules_list}
|
||||
Vendored
+2
@@ -89,6 +89,8 @@
|
||||
'AdminMaintenanceControllerCore' => 'controllers/admin/AdminMaintenanceController.php',
|
||||
'AdminManufacturersController' => 'override/controllers/admin/AdminManufacturersController.php',
|
||||
'AdminManufacturersControllerCore' => 'controllers/admin/AdminManufacturersController.php',
|
||||
'AdminMarketingController' => 'override/controllers/admin/AdminMarketingController.php',
|
||||
'AdminMarketingControllerCore' => 'controllers/admin/AdminMarketingController.php',
|
||||
'AdminMetaController' => 'override/controllers/admin/AdminMetaController.php',
|
||||
'AdminMetaControllerCore' => 'controllers/admin/AdminMetaController.php',
|
||||
'AdminModulesController' => 'override/controllers/admin/AdminModulesController.php',
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2013 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-2013 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class AdminMarketingControllerCore extends AdminController
|
||||
{
|
||||
|
||||
public function initContent()
|
||||
{
|
||||
$this->display = 'view';
|
||||
return parent::initContent();
|
||||
}
|
||||
|
||||
public function initToolbarTitle()
|
||||
{
|
||||
$this->toolbar_title = array_unique($this->breadcrumbs);
|
||||
}
|
||||
|
||||
public function initToolbar()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function renderView()
|
||||
{
|
||||
$this->tpl_view_vars = array(
|
||||
'modules_list' => $this->renderModulesList(),
|
||||
);
|
||||
return parent::renderView();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -147,6 +147,9 @@
|
||||
<tab id="Catalog_Price_Rules" id_parent="Price_Rules" active="1">
|
||||
<class_name>AdminSpecificPriceRule</class_name>
|
||||
</tab>
|
||||
<tab id="Marketing" id_parent="Price_Rules" active="1">
|
||||
<class_name>AdminMarketing</class_name>
|
||||
</tab>
|
||||
<tab id="Shipping_1" id_parent="Shipping" active="1">
|
||||
<class_name>AdminShipping</class_name>
|
||||
</tab>
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
<tab id="Outstanding" name="Outstanding"/>
|
||||
<tab id="Cart_Rules" name="Cart Rules"/>
|
||||
<tab id="Catalog_Price_Rules" name="Catalog Price Rules"/>
|
||||
<tab id="Marketing" name="Marketing"/>
|
||||
<tab id="Shipping_1" name="Shipping"/>
|
||||
<tab id="Carriers" name="Carriers"/>
|
||||
<tab id="Price_Ranges" name="Price Ranges"/>
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
<tab id="Outstanding" name="Offene Forderungen"/>
|
||||
<tab id="Cart_Rules" name="Warenkorb Preisregeln"/>
|
||||
<tab id="Catalog_Price_Rules" name="Katalog Preisregeln"/>
|
||||
<tab id="Marketing" name="Marketing"/>
|
||||
<tab id="Shipping_1" name="Versand"/>
|
||||
<tab id="Carriers" name="Versanddienste"/>
|
||||
<tab id="Price_Ranges" name="Preisklassen"/>
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
<tab id="Outstanding" name="Outstanding"/>
|
||||
<tab id="Cart_Rules" name="Cart Rules"/>
|
||||
<tab id="Catalog_Price_Rules" name="Catalog Price Rules"/>
|
||||
<tab id="Marketing" name="Marketing"/>
|
||||
<tab id="Shipping_1" name="Shipping"/>
|
||||
<tab id="Carriers" name="Carriers"/>
|
||||
<tab id="Price_Ranges" name="Price Ranges"/>
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
<tab id="Outstanding" name="No resuelto"/>
|
||||
<tab id="Cart_Rules" name="Reglas de cesta"/>
|
||||
<tab id="Catalog_Price_Rules" name="Reglas de precio del catálogo"/>
|
||||
<tab id="Marketing" name="Marketing"/>
|
||||
<tab id="Shipping_1" name="Envío"/>
|
||||
<tab id="Carriers" name="Transportistas"/>
|
||||
<tab id="Price_Ranges" name="Rangos de precio"/>
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
<tab id="Outstanding" name="Encours"/>
|
||||
<tab id="Cart_Rules" name="Règles paniers"/>
|
||||
<tab id="Catalog_Price_Rules" name="Règles de prix catalogue"/>
|
||||
<tab id="Marketing" name="Marketing"/>
|
||||
<tab id="Shipping_1" name="Transport"/>
|
||||
<tab id="Carriers" name="Transporteurs"/>
|
||||
<tab id="Price_Ranges" name="Tranches de prix"/>
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
<tab id="Outstanding" name="Insoluti"/>
|
||||
<tab id="Cart_Rules" name="Regole Carrello"/>
|
||||
<tab id="Catalog_Price_Rules" name="Regole catalogo prezzi"/>
|
||||
<tab id="Marketing" name="Marketing"/>
|
||||
<tab id="Shipping_1" name="Spedizione"/>
|
||||
<tab id="Carriers" name="Corrieri"/>
|
||||
<tab id="Price_Ranges" name="Range di prezzi"/>
|
||||
|
||||
@@ -29,4 +29,6 @@ CREATE TABLE `PREFIX_tab_module_preference` (
|
||||
`module` varchar(255) NOT NULL,
|
||||
PRIMARY KEY (`id_tab_module_preference`),
|
||||
UNIQUE KEY `employee_module` (`id_employee`, `id_tab`, `module`)
|
||||
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||
|
||||
/* PHP:add_new_tab(AdminMarketing, es:Marketing|it:Marketing|en:Marketing|de:Marketing|fr:Marketing, 1); */;
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
class AdminMarketingController extends AdminMarketingControllerCore
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user