Presta Portal
DBRestore - Printable Version

+- Presta Portal (http://prestaportal.com)
+-- Forum: PrestaShop Resources (/forum-5.html)
+--- Forum: Modules releases (/forum-14.html)
+--- Thread: DBRestore (/thread-724.html)


DBRestore - spott - 02-21-2010 02:41 AM

Author: Henry Baeyens
Author website http://www.henribaeyens.com/
Origin: http://www.henribaeyens.com/10ver/filez/prestashop_module_dbrestore
Version:
License Free
Description:
Accessible from the Tools tab of bo, this module allows you to restore all or part of a database whose backup has been done previously. It is first verified that the number of database tables is the number of clauses in CREATE the backup file. But this does not go away.
Use with caution.
Modify the class classes / AdminTab.php to add the confirmation message 20:
PHP Code:
$this->_conf = array( => $this->l('Deletion successful'), => $this->l('Selection successfully deleted'), => $this->l('Creation successful'), => $this->l('Update successful'), => $this->l('Status update successful'), => $this->l('Settings update successful'), => $this->l('Image successfully deleted'), => $this->l('Module downloaded successfully'), => $this->l('Thumbnails successfully regenerated'), 10 => $this->l('Message sent to the customer'), 11 => $this->l('Comment added'), 12 => $this->l('Module installed successfully'), 13 => $this->l('Module uninstalled successfully'), 14 => $this->l('Language successfully copied'), 15 => $this->l('Translations successfully added'), 16 => $this->l('Module transplanted successfully to hook'), 17 => $this->l('Module removed successfully from hook'), 18 => $this->l('Upload successful'), 19 => $this->l('Duplication successfully done'), 20 => $this->l('Restore succcessful')); 
Pictures:[attachment=648]