// Context part 29
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7935 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -6,8 +6,6 @@ class shopimporter extends ImportModule
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
global $cookie;
|
||||
|
||||
$this->name = 'shopimporter';
|
||||
$this->tab = 'migration_tools';
|
||||
$this->version = '1.0';
|
||||
@@ -260,7 +258,6 @@ class shopimporter extends ImportModule
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
global $cookie;
|
||||
$exportModules = parent::getImportModulesOnDisk();
|
||||
//get installed module only
|
||||
foreach($exportModules as $key => $module)
|
||||
@@ -297,7 +294,7 @@ class shopimporter extends ImportModule
|
||||
<fieldset><legend><img src="'.$this->_path.'logo.gif" alt="" />'.$this->l('Import from another system').'</legend>
|
||||
<div class="warn" ><img src="../img/admin/warn2.png">
|
||||
'.$this->l('Before starting the import please backup your database. ').'
|
||||
<a href="index.php?tab=AdminBackup&token='.Tools::getAdminToken('AdminBackup'.intval(Tab::getIdFromClassName('AdminBackup')).intval($cookie->id_employee)).'"">'.$this->l(' Click here to backup').'</a>
|
||||
<a href="index.php?tab=AdminBackup&token='.Tools::getAdminToken('AdminBackup'.(int)Tab::getIdFromClassName('AdminBackup').(int)$this->context->employee->id).'"">'.$this->l(' Click here to backup').'</a>
|
||||
</div>
|
||||
<br>
|
||||
<div style="float:right;width:450px" id="steps"></div>';
|
||||
|
||||
Reference in New Issue
Block a user