// Fix link in backoffice with multishop
This commit is contained in:
1 parent
fe3148fb80
commit
086159c3dd
3 files changed
+10
-17
No files matched your search
@@ -91,7 +91,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body {if $bo_color} style="background:{$bo_color}" {/if}>
|
<body{if $bo_color} style="background:{$bo_color}"{/if}>
|
||||||
{if $display_header}
|
{if $display_header}
|
||||||
<div id="top_container">
|
<div id="top_container">
|
||||||
<div id="container">
|
<div id="container">
|
||||||
|
|||||||
@@ -1628,8 +1628,7 @@ class AdminControllerCore extends Controller
|
|||||||
$this->redirect_after = $this->context->link->getAdminLink('AdminLogin').(!isset($_GET['logout']) ? '?redirect='.$_SERVER['REQUEST_URI'] : '');
|
$this->redirect_after = $this->context->link->getAdminLink('AdminLogin').(!isset($_GET['logout']) ? '?redirect='.$_SERVER['REQUEST_URI'] : '');
|
||||||
|
|
||||||
// Set current index
|
// Set current index
|
||||||
$current_index = $_SERVER['SCRIPT_NAME'].(($controller = Tools::getValue('controller')) ? '?controller='.$controller : '');
|
$current_index = __PS_BASE_URI__.ltrim($_SERVER['SCRIPT_NAME'], '/').(($controller = Tools::getValue('controller')) ? '?controller='.$controller : '');
|
||||||
|
|
||||||
if ($back = Tools::getValue('back'))
|
if ($back = Tools::getValue('back'))
|
||||||
$current_index .= '&back='.urlencode($back);
|
$current_index .= '&back='.urlencode($back);
|
||||||
self::$currentIndex = $current_index;
|
self::$currentIndex = $current_index;
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* 2007-2010 PrestaShop
|
* 2007-2011 PrestaShop
|
||||||
*
|
*
|
||||||
* NOTICE OF LICENSE
|
* NOTICE OF LICENSE
|
||||||
*
|
*
|
||||||
* This source file is subject to the Open Software License (OSL 3.0)
|
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||||
* that is bundled with this package in the file LICENSE.txt.
|
* that is bundled with this package in the file LICENSE.txt.
|
||||||
* It is also available through the world-wide-web at this URL:
|
* It is also available through the world-wide-web at this URL:
|
||||||
* http://opensource.org/licenses/osl-3.0.php
|
* http://opensource.org/licenses/afl-3.0.php
|
||||||
* If you did not receive a copy of the license and are unable to
|
* 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
|
* obtain it through the world-wide-web, please send an email
|
||||||
* to license@prestashop.com so we can send you a copy immediately.
|
* to license@prestashop.com so we can send you a copy immediately.
|
||||||
@@ -18,10 +18,10 @@
|
|||||||
* versions in the future. If you wish to customize PrestaShop for your
|
* versions in the future. If you wish to customize PrestaShop for your
|
||||||
* needs please refer to http://www.prestashop.com for more information.
|
* needs please refer to http://www.prestashop.com for more information.
|
||||||
*
|
*
|
||||||
* @author Prestashop SA <contact@prestashop.com>
|
* @author PrestaShop SA <contact@prestashop.com>
|
||||||
* @copyright 2007-2010 Prestashop SA
|
* @copyright 2007-2011 PrestaShop SA
|
||||||
* @version Release: $Revision: 1.4 $
|
* @version Release: $Revision: 6844 $
|
||||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -79,13 +79,7 @@ class blocksocial extends Module
|
|||||||
<div class="clear"> </div>
|
<div class="clear"> </div>
|
||||||
<br /><center><input type="submit" name="submitModule" value="'.$this->l('Update settings').'" class="button" /></center>
|
<br /><center><input type="submit" name="submitModule" value="'.$this->l('Update settings').'" class="button" /></center>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>';
|
||||||
<div class="clear"> </div>
|
|
||||||
<fieldset>
|
|
||||||
<legend>Addons</legend>
|
|
||||||
'.$this->l('This module has been developped by PrestaShop and can only be sold through').' <a href="http://addons.prestashop.com">addons.prestashop.com</a>.<br />
|
|
||||||
'.$this->l('Please report all bugs to').' <a href="mailto:addons@prestashop.com">addons@prestashop.com</a> '.$this->l('or using our').' <a href="http://addons.prestashop.com/contact-form.php">'.$this->l('contact form').'</a>.
|
|
||||||
</fieldset>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hookFooter()
|
public function hookFooter()
|
||||||
|
|||||||
Reference in new issue
Block a user