// Context part 29

This commit is contained in:
tDidierjean committed 2011-08-08 13:17:12 +00:00
1 parent 2b71b8be68
commit 0310674fe0
40 files changed
+195 -360

No files matched your search

+1 -4
View File
@@ -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>';