// Removing Addons My Account Tab

This commit is contained in:
fSerny
2012-03-05 14:02:07 +00:00
parent 4c83342b9c
commit 885dfe0375
12 changed files with 38 additions and 83 deletions
@@ -1,27 +0,0 @@
{*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision$
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<iframe frameborder="no" style="margin:0px;padding:0px;width:960px;height:920px" src="http://addons.prestashop.com/iframe/myaccount.php?parentUrl={$parentDomain}"></iframe>
<div class="clear">&nbsp;</div>
-1
View File
@@ -22,7 +22,6 @@
'AdminAddonsCatalogController' => 'override/controllers/admin/AdminAddonsCatalogController.php', 'AdminAddonsCatalogController' => 'override/controllers/admin/AdminAddonsCatalogController.php',
'AdminAddonsCatalogControllerCore' => 'controllers/admin/AdminAddonsCatalogController.php', 'AdminAddonsCatalogControllerCore' => 'controllers/admin/AdminAddonsCatalogController.php',
'AdminAddonsMyAccountController' => 'override/controllers/admin/AdminAddonsMyAccountController.php', 'AdminAddonsMyAccountController' => 'override/controllers/admin/AdminAddonsMyAccountController.php',
'AdminAddonsMyAccountControllerCore' => 'controllers/admin/AdminAddonsMyAccountController.php',
'AdminAddressesController' => 'override/controllers/admin/AdminAddressesController.php', 'AdminAddressesController' => 'override/controllers/admin/AdminAddressesController.php',
'AdminAddressesControllerCore' => 'controllers/admin/AdminAddressesController.php', 'AdminAddressesControllerCore' => 'controllers/admin/AdminAddressesController.php',
'AdminAdminPreferencesController' => 'override/controllers/admin/AdminAdminPreferencesController.php', 'AdminAdminPreferencesController' => 'override/controllers/admin/AdminAdminPreferencesController.php',
@@ -1,37 +0,0 @@
<?php
/*
* 2007-2012 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-2012 PrestaShop SA
* @version Release: $Revision: 6844 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
class AdminAddonsMyAccountControllerCore extends AdminController
{
public function initContent()
{
$this->context->smarty->assign('parentDomain', Tools::getHttpHost(true).substr($_SERVER['REQUEST_URI'], 0, -1 * strlen(basename($_SERVER['REQUEST_URI']))));
parent::initContent();
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

-3
View File
@@ -189,9 +189,6 @@
<tab id="Modules_Themes_Catalog" id_parent="Modules" active="1"> <tab id="Modules_Themes_Catalog" id_parent="Modules" active="1">
<class_name>AdminAddonsCatalog</class_name> <class_name>AdminAddonsCatalog</class_name>
</tab> </tab>
<tab id="My_Account" id_parent="Modules" active="1">
<class_name>AdminAddonsMyAccount</class_name>
</tab>
<tab id="Positions" id_parent="Modules" active="1"> <tab id="Positions" id_parent="Modules" active="1">
<class_name>AdminModulesPositions</class_name> <class_name>AdminModulesPositions</class_name>
</tab> </tab>
-1
View File
@@ -61,7 +61,6 @@
<tab id="Translations" name="&#xDC;bersetzungen"/> <tab id="Translations" name="&#xDC;bersetzungen"/>
<tab id="Modules_1" name="Module"/> <tab id="Modules_1" name="Module"/>
<tab id="Modules_Themes_Catalog" name="Module und Themenkatalog"/> <tab id="Modules_Themes_Catalog" name="Module und Themenkatalog"/>
<tab id="My_Account" name="Mein Konto"/>
<tab id="Positions" name="Positionen"/> <tab id="Positions" name="Positionen"/>
<tab id="Payment" name="Zahlung"/> <tab id="Payment" name="Zahlung"/>
<tab id="General" name="General"/> <tab id="General" name="General"/>
-1
View File
@@ -61,7 +61,6 @@
<tab id="Translations" name="Translations"/> <tab id="Translations" name="Translations"/>
<tab id="Modules_1" name="Modules"/> <tab id="Modules_1" name="Modules"/>
<tab id="Modules_Themes_Catalog" name="Modules &amp; Themes Catalog"/> <tab id="Modules_Themes_Catalog" name="Modules &amp; Themes Catalog"/>
<tab id="My_Account" name="My Account"/>
<tab id="Positions" name="Positions"/> <tab id="Positions" name="Positions"/>
<tab id="Payment" name="Payment"/> <tab id="Payment" name="Payment"/>
<tab id="General" name="General"/> <tab id="General" name="General"/>
-1
View File
@@ -61,7 +61,6 @@
<tab id="Translations" name="Traducciones"/> <tab id="Translations" name="Traducciones"/>
<tab id="Modules_1" name="M&#xF3;dulos"/> <tab id="Modules_1" name="M&#xF3;dulos"/>
<tab id="Modules_Themes_Catalog" name="Modules &amp; Themes Catalog"/> <tab id="Modules_Themes_Catalog" name="Modules &amp; Themes Catalog"/>
<tab id="My_Account" name="My Account"/>
<tab id="Positions" name="Posiciones"/> <tab id="Positions" name="Posiciones"/>
<tab id="Payment" name="Pago"/> <tab id="Payment" name="Pago"/>
<tab id="General" name="General"/> <tab id="General" name="General"/>
-1
View File
@@ -61,7 +61,6 @@
<tab id="Translations" name="Traductions"/> <tab id="Translations" name="Traductions"/>
<tab id="Modules_1" name="Modules"/> <tab id="Modules_1" name="Modules"/>
<tab id="Modules_Themes_Catalog" name="Catalogue de modules et th&#xE8;mes"/> <tab id="Modules_Themes_Catalog" name="Catalogue de modules et th&#xE8;mes"/>
<tab id="My_Account" name="Mon compte"/>
<tab id="Positions" name="Positions"/> <tab id="Positions" name="Positions"/>
<tab id="Payment" name="Paiement"/> <tab id="Payment" name="Paiement"/>
<tab id="General" name="G&#xE9;n&#xE9;rales"/> <tab id="General" name="G&#xE9;n&#xE9;rales"/>
-1
View File
@@ -61,7 +61,6 @@
<tab id="Translations" name="Traduzioni"/> <tab id="Translations" name="Traduzioni"/>
<tab id="Modules_1" name="Moduli"/> <tab id="Modules_1" name="Moduli"/>
<tab id="Modules_Themes_Catalog" name="Moduli &amp; Temi catalogo"/> <tab id="Modules_Themes_Catalog" name="Moduli &amp; Temi catalogo"/>
<tab id="My_Account" name="Il mio Account"/>
<tab id="Positions" name="Posizioni"/> <tab id="Positions" name="Posizioni"/>
<tab id="Payment" name="Pagamento"/> <tab id="Payment" name="Pagamento"/>
<tab id="General" name="General"/> <tab id="General" name="General"/>
+2 -3
View File
@@ -1,7 +1,6 @@
<?php <?php
abstract class AdminTab extends AdminTabCore class AdminTab extends AdminTabCore
{ {
public static $currentIndex;
} }
@@ -1,7 +1,36 @@
<?php <?php
/*
* 2007-2012 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-2012 PrestaShop SA
* @version Release: $Revision$
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
class FrontController extends FrontControllerCore class FrontController extends FrontControllerCore
{ {
public function run()
{
parent::run();
Compatibility::resetOverride();
}
} }