diff --git a/modules/themeinstallator/add.png b/modules/themeinstallator/add.png deleted file mode 100644 index f4872d2dd..000000000 Binary files a/modules/themeinstallator/add.png and /dev/null differ diff --git a/modules/themeinstallator/config.xml b/modules/themeinstallator/config.xml deleted file mode 100755 index 7fbf70958..000000000 --- a/modules/themeinstallator/config.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - themeinstallator - - - - - - 1 - 0 - - \ No newline at end of file diff --git a/modules/themeinstallator/delete.png b/modules/themeinstallator/delete.png deleted file mode 100644 index 8f0d06d64..000000000 Binary files a/modules/themeinstallator/delete.png and /dev/null differ diff --git a/modules/themeinstallator/export/index.php b/modules/themeinstallator/export/index.php deleted file mode 100644 index a08560cf5..000000000 --- a/modules/themeinstallator/export/index.php +++ /dev/null @@ -1,36 +0,0 @@ - -* @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 -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; \ No newline at end of file diff --git a/modules/themeinstallator/import/index.php b/modules/themeinstallator/import/index.php deleted file mode 100644 index a08560cf5..000000000 --- a/modules/themeinstallator/import/index.php +++ /dev/null @@ -1,36 +0,0 @@ - -* @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 -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; \ No newline at end of file diff --git a/modules/themeinstallator/index.php b/modules/themeinstallator/index.php deleted file mode 100644 index 2b3eac46d..000000000 --- a/modules/themeinstallator/index.php +++ /dev/null @@ -1,36 +0,0 @@ - -* @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 -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; \ No newline at end of file diff --git a/modules/themeinstallator/logo.gif b/modules/themeinstallator/logo.gif deleted file mode 100644 index 13a9cf651..000000000 Binary files a/modules/themeinstallator/logo.gif and /dev/null differ diff --git a/modules/themeinstallator/logo.png b/modules/themeinstallator/logo.png deleted file mode 100755 index 360a2393a..000000000 Binary files a/modules/themeinstallator/logo.png and /dev/null differ diff --git a/modules/themeinstallator/themeinstallator.js b/modules/themeinstallator/themeinstallator.js deleted file mode 100644 index 76b476b82..000000000 --- a/modules/themeinstallator/themeinstallator.js +++ /dev/null @@ -1,104 +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 -* @copyright 2007-2012 PrestaShop SA -* @version Release: $Revision: 6844 $ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -function addVariation(id_variation) -{ - var idRow = $('#variation_table tr').length + 1; - var newRow = ''; - newRow += ''+writeName+''; - newRow += ''; - newRow += ''; - newRow += ''+compafrom+''; - newRow += ''; - newRow += ''+compato+''; - newRow += ''; - - if ($('#variation_table tr').length > 0) - $('#variation_table tr:last').after(newRow); - else - $('#variation_table').html(newRow); - - $('#myvar_'+idRow).after(' delete'); - -} - -function removeVariation(id) -{ - - $('#myvar_'+id).val(-1); - $('#myvar_tr_'+id).hide(); - -} - -/* -** -------------------------------------------- -*/ - -function addDocumentation(id_variation) -{ - var idRow = $('#documentation_table tr').length + 1; - var newRow = ''; - newRow += ''+writeName+''; - newRow += ''; - newRow += ''+path+''; - - newRow += ''; - - if ($('#documentation_table tr').length > 0) - $('#documentation_table tr:last').after(newRow); - else - $('#documentation_table').html(newRow); - - $('#mydoc_'+idRow).after(' delete'); - -} - -function removeDocumentation(id) -{ - $('#mydoc_'+id).parent().html(''); - $('#mydoc_tr_'+id).hide(); -} - -$('document').ready(function() -{ - if (themes.length > 0) - { - var count = 0; - addVariation(themes_id[theme_selected]); - } -}); diff --git a/modules/themeinstallator/themeinstallator.php b/modules/themeinstallator/themeinstallator.php deleted file mode 100644 index a0e918466..000000000 --- a/modules/themeinstallator/themeinstallator.php +++ /dev/null @@ -1,1527 +0,0 @@ - -* @copyright 2007-2012 PrestaShop SA -* @version Release: $Revision: 7451 $ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class ThemeInstallator extends Module -{ - /* - ** Modules - */ - private $to_install = array(); - private $to_enable = array(); - private $to_disable = array(); - private $to_export = array(); - - private $selected_shops = array(); - private $selected_variations = array(); - private $selected_disable_modules = array(); - private $native_modules = array(); - private $module_list = array(); - private $hook_list = array(); - - private $default_theme = 'default'; - - private $action_form; - - /* - ** index - */ - private $page; - - /* - ** Config File - */ - private $xml; - - public function __construct() - { - @set_time_limit(0); - @ini_set('memory_limit', '2G'); - - $this->name = 'themeinstallator'; - $this->version = '1.4'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - if (version_compare(_PS_VERSION_, 1.4) >= 0) - $this->tab = 'administration'; - else - $this->tab = 'Theme'; - parent::__construct(); - $this->displayName = $this->l('Import/export a theme'); - $this->description = $this->l('Export or Install a theme and its modules on your shop.'); - - $this->action_form = AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::htmlentitiesUTF8(Tools::getValue('token')); - } - - private function getTheNativeModules() - { - $xml = simplexml_load_string(Tools::file_get_contents('http://api.prestashop.com/xml/modules_list_15.xml')); - $natives = array(); - if ($xml) - foreach ($xml->modules as $row) - foreach ($row->module as $row2) - $natives[] = (string)$row2['name']; - - if (count($natives > 0)) - return $natives; - // use this list if we can't contact the prestashop.com server - $natives = array( - 'autoupgrade', 'bankwire', 'birthdaypresent', 'blockadvertising', 'blockbestsellers', 'blockcart', - 'blockcategories', 'blockcms', 'blockcontact', 'blockcontactinfos', 'blockcurrencies', 'blockcustomerprivacy', - 'blocklanguages', 'blocklayered', 'blocklink', 'blockmanufacturer', 'blockmyaccount', 'blockmyaccountfooter', 'blocknewproducts', - 'blocknewsletter', 'blockpaymentlogo', 'blockpermanentlinks', 'blockreinsurance', 'blockrss', 'blocksearch', - 'blocksharefb', 'blocksocial', 'blockspecials', 'blockstore', 'blocksupplier', 'blocktags', 'blocktopmenu', - 'blockuserinfo', 'blockviewed', 'blockwishlist', 'cashondelivery', 'carriercompare', 'cheque', 'crossselling', - 'dateofdelivery', 'editorial', 'favoriteproducts', 'feeder', 'followup', 'gadsense', 'ganalytics', 'gcheckout', - 'graphartichow', 'graphgooglechart', 'graphvisifire', 'graphxmlswfcharts', 'gridhtml', 'gsitemap', 'homefeatured', - 'homeslider', 'importerosc', 'livezilla', 'loyalty', 'mailalerts', 'newsletter', 'pagesnotfound', 'prestafraud', - 'productcomments', 'productscategory', 'producttooltip', 'referralprogram', 'sekeywords', 'sendtoafriend', - 'shopimporter', 'statsbestcategories', 'statsbestcustomers', 'statsbestmanufacturers', 'statsbestproducts', - 'statsbestsuppliers', 'statsbestvouchers', 'statscarrier', 'statscatalog', 'statscheckup', 'statsdata', - 'statsequipment', 'statsforecast', 'statsgeolocation', 'statslive', 'statsnewsletter', 'statsorigin', - 'statspersonalinfos', 'statsproduct', 'statsregistrations', 'statssales', 'statssearch', 'statsstock', - 'statsvisits', 'themeinstallator', 'tm4b', 'trackingfront', 'upscarrier', 'vatnumber', 'watermark' - ); - return $natives; - } - - private function deleteDirectory($dirname) - { - $files = scandir($dirname); - foreach ($files as $file) - if ($file != '.' && $file != '..') - { - if (is_dir($dirname.'/'.$file)) - self::deleteDirectory($dirname.'/'.$file); - elseif (file_exists($dirname.'/'.$file)) - unlink($dirname.'/'.$file); - } - rmdir($dirname); - } - - private function recurseCopy($src, $dst) - { - if (!$dir = opendir($src)) - return; - if (!file_exists($dst)) - mkdir($dst); - while (($file = readdir($dir)) !== false) - if (strncmp($file, '.', 1) != 0) - { - if (is_dir($src.'/'.$file)) - self::recurseCopy($src.'/'.$file, $dst.'/'.$file); - elseif (is_readable($src.'/'.$file) && $file != 'Thumbs.db' && $file != '.DS_Store' && substr($file, -1) != '~') - copy($src.'/'.$file, $dst.'/'.$file); - } - closedir($dir); - } - - /* - ** Checks if module is installed - ** Returns true if module is active - ** Also returns false if it's a payment or stat module - */ - private function checkParentClass($name) - { - if (!$obj = Module::getInstanceByName($name)) - return false; - if (is_callable(array($obj, 'validateOrder'))) - return false; - if (is_callable(array($obj, 'getDateBetween'))) - return false; - if (is_callable(array($obj, 'getGridEngines'))) - return false; - if (is_callable(array($obj, 'getGraphEngines'))) - return false; - if (is_callable(array($obj, 'hookAdminStatsModules'))) - return false; - else - return true; - return false; - } - - private function deleteTmpFiles() - { - if (file_exists(_IMPORT_FOLDER_.'doc')) - self::deleteDirectory(_IMPORT_FOLDER_.'doc'); - if (file_exists(_IMPORT_FOLDER_.XMLFILENAME)) - unlink(_IMPORT_FOLDER_.XMLFILENAME); - if (file_exists(_IMPORT_FOLDER_.'modules')) - self::deleteDirectory(_IMPORT_FOLDER_.'modules'); - if (file_exists(_IMPORT_FOLDER_.'themes')) - self::deleteDirectory(_IMPORT_FOLDER_.'themes'); - if (file_exists(_EXPORT_FOLDER_.'archive.zip')) - unlink(_EXPORT_FOLDER_.'archive.zip'); - } - - private function initDefines() - { - define('_EXPORT_FOLDER_', dirname(__FILE__).'/export/'); - define('_IMPORT_FOLDER_', dirname(__FILE__).'/import/'); - $this->page = 1; - if (!file_exists(_EXPORT_FOLDER_) || !is_dir(_EXPORT_FOLDER_)) - mkdir(_EXPORT_FOLDER_, 0777); - if (!file_exists(_IMPORT_FOLDER_) || !is_dir(_IMPORT_FOLDER_)) - mkdir(_IMPORT_FOLDER_, 0777); - - if (!Tools::isSubmit('cancelExport') && (Tools::isSubmit('exportTheme') || Tools::isSubmit('submitExport'))) - $this->page = 'exportPage'; - - $action_form = AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::htmlentitiesUTF8(Tools::getValue('token')); - $this->_html = '
'; - - if (Tools::isSubmit('modulesToExport') || Tools::isSubmit('submitModules')) - $this->to_export = Tools::getValue('modulesToExport'); - if (Tools::isSubmit('submitThemes')) - $this->selected_variations = Tools::getValue('variation'); - - if (Tools::isSubmit('submitModules') && Shop::isFeatureActive()) - { - // Get all selected shops (Key and values are inversed) - $shops = Tools::getValue('checkBoxShopAsso_', array($this->context->shop->id => 1)); - foreach ($shops as $key => $shop) - $this->selected_shops[] = (int)$key; - } - else - $this->selected_shops = array($this->context->shop->id); - - if (Tools::isSubmit('submitModules')) - $this->selected_disable_modules = Tools::getValue('modulesToDisable', array()); - - $_POST = @array_map('trim', $_POST); - define('DEFAULT_COMPATIBILITY_FROM', _PS_VERSION_); - define('DEFAULT_COMPATIBILITY_TO', _PS_VERSION_); - define('DEFAULT_T_VER', '1.0'); - define('MAX_NAME_LENGTH', 128); - define('MAX_EMAIL_LENGTH', 128); - define('MAX_WEBSITE_LENGTH', 128); - define('MAX_DESCRIPTION_LENGTH', 64); - define('MAX_T_VER_LENGTH', 3); - define('ARCHIVE_NAME', _IMPORT_FOLDER_.'uploaded.zip'); - define('XMLFILENAME', 'Config.xml'); - - $this->_msg = ''; - $this->to_enable = false; - $this->to_disable = false; - $this->to_install = false; - $this->errors = array(); - if ($this->page == 'exportPage' && Tools::isSubmit('exportTheme') && ($id_theme = Tools::getValue('mainTheme'))) - { - $theme = new Theme($id_theme); - if (!(is_dir(_PS_ALL_THEMES_DIR_.$theme->directory) && file_exists(_PS_ALL_THEMES_DIR_.$theme->directory.'/index.tpl'))) - { - $this->page = 1; - $this->_errors[] = sprintf($this->l('%s is not a valid theme to export'), $theme->name); - } - } - } - - private function handleInformations() - { - if (Tools::isSubmit('submitImport1')) - { - if ($_FILES['themearchive']['error'] || !file_exists($_FILES['themearchive']['tmp_name'])) - $this->errors[] = parent::displayError($this->l('An error has occurred during the file upload.')); - elseif (substr($_FILES['themearchive']['name'], -4) != '.zip') - $this->errors[] = parent::displayError($this->l('Only zip files are allowed')); - elseif (!rename($_FILES['themearchive']['tmp_name'], ARCHIVE_NAME)) - $this->errors[] = parent::displayError($this->l('An error has occurred during the file copy.')); - elseif (Tools::ZipTest(ARCHIVE_NAME)) - $this->page = 2; - else - $this->errors[] = parent::displayError($this->l('Zip file seems to be broken')); - } - elseif (Tools::isSubmit('submitImport2')) - { - if (!Validate::isModuleUrl($url = Tools::getValue('linkurl'), $tmp)) // $tmp is not used, because we don't care about the error output of isModuleUrl - $this->errors[] = parent::displayError($this->l('Only zip files are allowed')); - elseif (!copy($url, ARCHIVE_NAME)) - $this->errors[] = parent::displayError($this->l('Error during the file download')); - elseif (Tools::ZipTest(ARCHIVE_NAME)) - $this->errors[] = parent::displayError($this->l('Zip file seems to be broken')); - else - $this->page = 2; - } - elseif (Tools::isSubmit('submitImport3')) - { - $filename = _IMPORT_FOLDER_.Tools::getValue('ArchiveName'); - if (substr($filename, -4) != '.zip') - $this->errors[] = parent::displayError($this->l('Only zip files are allowed')); - elseif (!copy($filename, ARCHIVE_NAME)) - $this->errors[] = parent::displayError($this->l('An error has occurred during the file copy.')); - elseif (Tools::ZipTest(ARCHIVE_NAME)) - $this->page = 2; - else - $this->errors[] = parent::displayError($this->l('Zip file seems to be broken')); - } - elseif (Tools::isSubmit('prevThemes')) - $this->page = 2; - elseif (Tools::isSubmit('submitThemes')) - $this->page = 3; - elseif (Tools::isSubmit('submitModules')) - $this->page = 4; - if ($this->page == 2 && file_exists(ARCHIVE_NAME)) - { - if (!Tools::ZipExtract(ARCHIVE_NAME, _IMPORT_FOLDER_)) - { - $this->errors[] = parent::displayError($this->l('Error during zip extraction')); - $this->page = 1; - } - } - if (file_exists(ARCHIVE_NAME)) - @unlink(ARCHIVE_NAME); - if ($this->page != 1) - { - if (!self::checkXmlFields()) - { - $this->errors[] = parent::displayError($this->l('Bad configuration file')); - $this->page = 1; - } - else - return; - } - self::deleteTmpFiles(); - } - - private function checkXmlFields() - { - if (!file_exists(_IMPORT_FOLDER_.XMLFILENAME) || !$xml = simplexml_load_file(_IMPORT_FOLDER_.XMLFILENAME)) - return false; - if (!$xml['version'] || !$xml['name']) - return false; - foreach ($xml->variations->variation as $val) - if (!$val['name'] || !$val['directory'] || !$val['from'] || !$val['to']) - return false; - foreach ($xml->modules->module as $val) - if (!$val['action'] || !$val['name']) - return false; - foreach ($xml->modules->hooks->hook as $val) - if (!$val['module'] || !$val['hook'] || !$val['position']) - return false; - return true; - } - - public function getContentExport() - { - $this->theme_list = Theme::getAvailable(); - $this->error = false; - - self::getModuleState(); - self::displayInformations(); - if (Tools::isSubmit('submitExport') && $this->error === false && $this->checkPostedDatas() == true) - { - self::getThemeVariations(); - - // Check variations exists - if (empty($this->variations)) - $this->_html .= parent::displayError($this->l('You must select at least one theme')); - else - { - self::getDocumentation(); - self::getHookState(); - self::getImageState(); - self::generateXML(); - self::generateArchive(); - } - } - self::authorInformationForm(); - self::modulesInformationForm(); - self::themeInformationForm(); - self::docInformationForm(); - self::variationInformationForm(); - return $this->_html; - } - - /* - ** Main function - */ - public function getContent() - { - /* PrestaShop demo mode */ - if (_PS_MODE_DEMO_) - { - return '
'.$this->l('This functionality has been disabled.').'
'; - } - - self::initDefines(); - if (!Tools::isSubmit('cancelExport') && $this->page == 'exportPage') - return self::getContentExport(); - self::handleInformations(); - switch ($this->page) - { - case 1: - self::displayForm1(); - break; - case 2: - self::displayForm2(); - break; - case 3: - self::displayForm3(); - break; - case 4: - self::displayForm4(); - break; - } - return implode($this->errors, '').$this->_msg.$this->_html; - } - - /* - ** Checker si le dossier doc existe : Si oui appeler la fonction ! - */ - private function loadDocForm() - { - $docname = array(); - $docpath = array(); - - foreach ($this->xml->docs->doc as $row) - { - $docname[] = strval($row['name']); - $docpath[] = strval($row['path']); - } - $doc = ' -
- '.$this->l('Documentation').' - -
-
    '; - $i = 0; - foreach ($docname as $row) - $doc .= '
  • '.$row.''; - $doc .= ' -
-

'.$this->l('Right click on the name and choose "save link as"').' -

-
-

 

'; - $this->_html .= $doc; - } - - private function getModules() - { - $this->native_modules = self::getTheNativeModules(); - foreach ($this->xml->modules->module as $row) - { - if (strval($row['action']) == 'install' && !in_array(strval($row['name']), $this->native_modules)) - $this->to_install[] = strval($row['name']); - elseif (strval($row['action']) == 'enable') - $this->to_enable[] = strval($row['name']); - elseif (strval($row['action']) == 'disable') - $this->to_disable[] = strval($row['name']); - } - } - - private function updateImages() - { - $return = array(); - foreach ($this->xml->images->image as $row) - { - if ($result = (bool)Db::getInstance()->executes(sprintf('SELECT * FROM `'._DB_PREFIX_.'image_type` WHERE `name` = \'%s\' ', pSQL($row['name'])))) - { - $return['error'][] = array( - 'name' => $row['name'], - 'width' => (int)$row['width'], - 'height' => (int)$row['height'] - ); - } - else - { - Db::getInstance()->execute(' - INSERT INTO `'._DB_PREFIX_.'image_type` (`name`, `width`, `height`, `products`, `categories`, `manufacturers`, `suppliers`, `scenes`) - VALUES (\''.pSQL($row['name']).'\', - '.(int)$row['width'].', - '.(int)$row['height'].', - '.($row['products'] == 'true' ? 1 : 0).', - '.($row['categories'] == 'true' ? 1 : 0).', - '.($row['manufacturers'] == 'true' ? 1 : 0).', - '.($row['suppliers'] == 'true' ? 1 : 0).', - '.($row['scenes'] == 'true' ? 1 : 0).')'); - - $return['ok'][] = array( - 'name' => $row['name'], - 'width' => (int)$row['width'], - 'height' => (int)$row['height'] - ); - } - } - return $return; - } - - private function displayForm4() - { - $xml = simplexml_load_file(_IMPORT_FOLDER_.XMLFILENAME); - $this->xml = $xml; - self::getModules(); - $hook = array(); - $hooked_module = array(); - $position = array(); - $msg = ''; - - foreach ($this->xml->modules->hooks->hook as $row) - { - $hooked_module[] = strval($row['module']); - $hook[] = strval($row['hook']); - $position[] = strval($row['position']); - $exceptions[] = (isset($row['exceptions']) ? explode(',', strval($row['exceptions'])) : array()); - } - - if (file_exists(_IMPORT_FOLDER_.'doc') && count($xml->docs->doc) != 0) - self::loadDocForm(); - // install selected modules - $flag = 0; - foreach ($this->selected_shops as $id_shop) - { - if (isset($this->to_export) && $this->to_export) - foreach ($this->to_export as $row) - { - if (in_array($row, $this->native_modules)) - continue; - if ($flag++ == 0) - $msg .= ''.$this->l('The following modules have been installed:').'
'; - - // We copy module only if it does not already exists - if (!file_exists(_PS_ROOT_DIR_.'/modules/'.$row)) - self::recurseCopy(_IMPORT_FOLDER_.'modules/'.$row, _PS_ROOT_DIR_.'/modules/'.$row); - - $obj = Module::getInstanceByName($row); - if (Validate::isLoadedObject($obj)) - Db::getInstance()->execute(' - UPDATE `'._DB_PREFIX_.'module` - SET `active`= 1 - WHERE `name` = \''.pSQL($row).'\' - '); - else if (!$obj || !$obj->install()) - continue; - Db::getInstance()->execute('INSERT IGNORE INTO '._DB_PREFIX_.'module_shop (id_module, id_shop) VALUES('.(int)$obj->id.', '.(int)$id_shop.')'); - - $sql = 'DELETE FROM `'._DB_PREFIX_.'hook_module` WHERE `id_module` = '.pSQL($obj->id).' AND id_shop = '.(int)$id_shop; - if (Db::getInstance()->execute($sql)) - $msg .= '- '.pSQL($row).'
'; - - $count = -1; - while (isset($hooked_module[++$count])) - if ($hooked_module[$count] == $row) - { - Db::getInstance()->execute(' - INSERT INTO `'._DB_PREFIX_.'hook_module` (`id_module`, `id_shop`, `id_hook`, `position`) - VALUES ('.(int)$obj->id.', '.(int)$id_shop.', '.(int)Hook::getIdByName($hook[$count]).', '.(int)$position[$count].') - '); - if ($exceptions[$count]) - foreach ($exceptions[$count] as $file_name) - Db::getInstance()->execute(' - INSERT INTO `'._DB_PREFIX_.'hook_module_exceptions` (`id_module`, `id_hook`, `file_name`) - VALUES ('.(int)$obj->id.', '.(int)Hook::getIdByName($hook[$count]).', "'.pSQL($file_name).'") - '); - } - } - if (($val = (int)Tools::getValue('nativeModules')) != 1) - { - $flag = 0; - // Disable native modules - if ($val == 2 && $this->to_disable && count($this->to_disable)) - foreach (array_merge($this->to_disable, $this->selected_disable_modules) as $row) - { - $obj = Module::getInstanceByName($row); - if (Validate::isLoadedObject($obj)) - { - if ($flag++ == 0) - $msg .= ''.$this->l('The following modules have been unhooked:').'
'; - - // Delete all native module which are in the front office feature category and in selected shops - $sql = 'DELETE FROM `'._DB_PREFIX_.'module_shop` WHERE `id_module` = '.pSQL($obj->id).' AND `id_shop` = '.(int)$id_shop; - $sql1 = 'DELETE FROM `'._DB_PREFIX_.'hook_module` WHERE `id_module` = '.pSQL($obj->id).' AND `id_shop` = '.(int)$id_shop; - if (Db::getInstance()->execute($sql) && Db::getInstance()->execute($sql1)) - $msg .= '- '.pSQL($row).'
'; - } - } - - $flag = 0; - if ($this->to_enable && count($this->to_enable)) - foreach ($this->to_enable as $row) - { - $obj = Module::getInstanceByName($row); - if (Validate::isLoadedObject($obj)) - { - Db::getInstance()->execute(' - UPDATE `'._DB_PREFIX_.'module` - SET `active`= 1 - WHERE `name` = \''.pSQL($row).'\'' - ); - Db::getInstance()->execute(' - INSERT IGNORE INTO '._DB_PREFIX_.'module_shop (id_module, id_shop) - VALUES('.(int)$obj->id.', '.(int)$id_shop.') - '); - } - else if (!is_object($obj) || !$obj->install()) - continue; - - if ($flag++ == 0) - $msg .= ''.$this->l('The following modules have been enabled:').'
'; - - $sql = 'DELETE FROM `'._DB_PREFIX_.'hook_module` WHERE `id_module` = '.pSQL($obj->id).' AND id_shop = '.(int)$id_shop; - if (Db::getInstance()->execute($sql)) - $msg .= '- '.pSQL($row).'
'; - - $count = -1; - while (isset($hooked_module[++$count])) - if ($hooked_module[$count] == $row) - { - Db::getInstance()->execute(' - INSERT INTO `'._DB_PREFIX_.'hook_module` (`id_module`, `id_shop`, `id_hook`, `position`) - VALUES ('.(int)$obj->id.', '.(int)$id_shop.', '.(int)Hook::getIdByName($hook[$count]).', '.(int)$position[$count].') - '); - - foreach ($exceptions[$count] as $filename) - if (!empty($filename)) - Db::getInstance()->execute(' - INSERT INTO `'._DB_PREFIX_.'hook_module_exceptions` (`id_module`, id_shop, `id_hook`, `file_name`) - VALUES ('.(int)$obj->id.', '.(int)$id_shop.', '.(int)Hook::getIdByName($hook[$count]).', "'.pSQL($filename).'") - '); - } - } - } - - $theme = Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.'theme` WHERE `name` LIKE \''.(string)$this->xml['name'].'\''); - $shop = new Shop((int)$id_shop); - $shop->id_theme = (int)$theme['id_theme']; - $shop->update(); - } - - // note : theme was previously created at this point. - // It is now created during displayForm3 - $result = $this->updateImages(); - if (!isset($result['error'])) - $msg .= $this->l('Images have been correctly updated in database'); - else - { - $errors = ''. - $this->l('Warning: Copy/Paste your errors if you want to manually set the image type (in the "Images" page under the "Preferences" menu):'). - '
'; - $errors .= $this->l('Some kind of image could not be added because they exists. Here\'s the list:'); - $errors .= ''; - } - - if (isset($error)) - $this->_msg .= parent::displayError($errors); - - if (!empty($msg)) - $this->_msg .= parent::displayConfirmation($msg); - - $this->_html .= ' - - -
'; - - } - - private function displayForm3() - { - $res = true; - $theme_directory = Tools::getValue('theme_directory'); - $xml = simplexml_load_file(_IMPORT_FOLDER_.XMLFILENAME); - $this->xml = $xml; - - if ($this->selected_variations && count($this->selected_variations) > 0) - { - $ok = array(); - foreach ($this->selected_variations as $variation) - { - if ($variation == $this->default_theme) - continue; - - if ($variation != $theme_directory) - $theme_directory .= $variation; - - if (empty($theme_directory)) - $theme_directory = str_replace(' ', '', (string)$this->xml['name']); - - $target_dir = _PS_ALL_THEMES_DIR_.$theme_directory; - - $res &= self::recurseCopy(_IMPORT_FOLDER_.'themes/'.$variation, $target_dir); - $new_theme = new Theme(); - $new_theme->name = (string)$this->xml['name']; - $new_theme->directory = $theme_directory; - $name_exist = true; - - // Check name theme - $themes = $new_theme->getThemes(); - foreach ($themes as $row) - if ($row->name == $new_theme->name) - $name_exist &= false; - - if ($name_exist) - $res &= $new_theme->add(); - - if ($res) - $ok[] = $variation; - } - - if (count($ok) > 0) - { - $msg = $this->l('The following themes were successfully imported').':'; - $this->_msg = parent::displayConfirmation($msg); - } - } - self::getModules(); - if (file_exists(_IMPORT_FOLDER_.'doc') && count($xml->docs->doc) != 0) - self::loadDocForm(); - $this->_html .= '
'; - if ($this->to_install && count($this->to_install) > 0) - { - $var = ''; - foreach ($this->to_install as $row) - if (file_exists(_IMPORT_FOLDER_.'modules/'.$row)) - { - $module_already_exists = file_exists(_PS_MODULE_DIR_.$row); - $var .= ' -
'; - } - - if ($var != '') - $this->_html .= ' -
- '.$this->l('Select the theme\'s modules you wish to install').' -

'.$var.'

-
-

 

'; - } - - $var = ''; - foreach (array_diff($this->native_modules, $this->to_disable) as $row) - { - $obj = Module::getInstanceByName($row); - if (Validate::isLoadedObject($obj)) - if (!file_exists(_IMPORT_FOLDER_.'modules/'.$row) && $obj->tab == 'front_office_features') - { - $var .= ' -
'; - } - } - - $this->_html .= ' -
- '.$this->l('Select modules which must be disabled for this theme').' -

'.$var.'

-
-

 

'; - - $this->_html .= ' -
- '.$this->l('Native modules configuration').' -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
-
-

 

'; - - if (Shop::isFeatureActive()) - { - $helper_form = new HelperForm(); - - $this->_html .= ' -
- '.$this->l('Select your shop that will use this theme:').' -
'.$helper_form->renderAssoShop().'
-
-

 

'; - } - - $this->_html .= ' -

 

- - -
- - '; - } - - private function displayForm2() - { - $iso = $this->context->language->iso_code; - $xml = simplexml_load_file(_IMPORT_FOLDER_.XMLFILENAME); - $this->xml = $xml; - $res = $xml->xpath('/theme/descriptions/description[@iso="'.$iso.'"]'); - $description = (isset($res[0]) ? (string)$res[0] : ''); - - $this->_msg = parent::displayConfirmation( - $this->l('You are going to install the following theme').' :
'. - $xml['name'].' v'.$xml['version'].'
'. - (strlen($description) ? ''.$description.'
' : ''). - $this->l('This theme is for Prestashop').' v'. - $xml->variations->variation[0]['from']. - ' -> v'.$xml->variations->variation[0]['to'].'
'. - (file_exists(_PS_ALL_THEMES_DIR_.strval($xml->variations->variation[0]['directory'])) ? $this->l('Warning : You already have a theme with the same folder\'s name') : '').' -
'); - if (file_exists(_IMPORT_FOLDER_.'doc') && count($xml->docs->doc) != 0) - self::loadDocForm(); - if (count($xml->variations->variation) > 1) - { - $count = 0; - $var = ''; - while ($xml->variations->variation[++$count]) - { - $foo = (file_exists(_PS_ALL_THEMES_DIR_.strval($xml->variations->variation[$count]['directory'])) ? 1 : 0); - $var .= '
'; - } - $this->_html .= ' -
- '.$this->l('Choose the variations that you wish to import').' - -
- -

'.$this->l('Uncheck this field if you do not want to install the main theme.').'

-
- -
- -
- -
- -
-

'.$this->l('Select the variations you wish to import').'

-
-

'.$this->l('Note: The directory of the variation will be prefixed by the theme directory.').'

' - .$var.'
- - -
'; - } - else - $this->_html .= ' - - - '; - $this->_html .= ''; - } - - private function displayForm1() - { - $theme_list = Theme::getThemes(); - - $installed_themes = ''; - if (count($theme_list) > 0) - { - foreach ($theme_list as $theme) - $installed_themes .= ''; - $this->_html .= ' -
- '.$this->l('Export a theme').' - '; - $this->_html .= '
'; - $this->_html .= '
- -
- '; - $this->_html .= '
'; - $this->_html .= '
-
 
'; - } - $this->_html .= ' -
- '.$this->l('Import from your computer').' -
- - -
- -

'.$this->l('Where is your zip file?').'

-
- -
-
-
 
- '; - $link_url = (Tools::getValue('linkurl') ? Tools::safeOutput(Tools::getValue('linkurl')) : 'http://'); - $this->_html .= ' -
- '.$this->l('Import from the web').' -
- -
- -
- -
-
-
 
'; - - // Import folder is located in the module directory - $import_dir = scandir(_IMPORT_FOLDER_); - $list = array(); - foreach ($import_dir as $row) - if (substr(_IMPORT_FOLDER_.$row, -4) == '.zip') - $list[] = $row; - $import_dir = ''; - foreach ($list as $row) - $import_dir .= ''; - $this->_html .= ' -
- '.$this->l('Import from FTP').' -
- -
- -

'.sprintf( - $this->l('Select the ZIP file you want to use (previously uploaded in your %s directory)'), - 'modules/themeinstallator/import/' - ).'

-
- -
-
-
 
'; - } -/* -** EXPORT FUNCTIONS ######################################## -*/ - - private function displayInformations() - { - $id_theme = (int)Tools::getValue('id_theme'); - $theme = new Theme($id_theme); - if (!$theme->id) - throw new PrestaShopException('Unable to load theme'); - - $this->_html .= ''; - if ($this->error === false && class_exists('ZipArchive', false) && ($zip = new ZipArchive())) - { - if (!($zip->open(_EXPORT_FOLDER_.'archive.zip', ZipArchive::OVERWRITE) === true) || !$zip->addEmptyDir('test') === true) - $this->_html .= parent::displayError(sprintf( - $this->l('Permission denied. Please set permisssion to 666 on this folder: %s'), - _EXPORT_FOLDER_ - )); - $zip->close(); - if ($this->error === false) - $this->_html .= parent::displayConfirmation( - sprintf($this->l('Fill this formular to export the theme %s in a ZIP file'), $theme->name) - ); - } - } - - private function archiveThisFile($obj, $file, $server_path, $archive_path) - { - if (is_dir($server_path.$file)) - { - $dir = scandir($server_path.$file); - foreach ($dir as $row) - if ($row != '.' && $row != '..') - $this->archiveThisFile($obj, $row, $server_path.$file.'/', $archive_path.$file.'/'); - } - elseif (!$obj->addFile($server_path.$file, $archive_path.$file)) - $this->error = true; - } - - /* - ** Generate Archive ! - */ - private function generateArchive() - { - $count = 0; - $zip = new ZipArchive(); - $zip_file_name = md5(time()).'.zip'; - if ($zip->open(_EXPORT_FOLDER_.$zip_file_name, ZipArchive::OVERWRITE) === true) - { - if (!$zip->addFromString('Config.xml', $this->xml_file)) - $this->error = true; - while (isset($_FILES['mydoc_'.++$count])) - { - if (!$_FILES['mydoc_'.$count]['name']) - continue; - if (!$zip->addFile($_FILES['mydoc_'.$count]['tmp_name'], 'doc/'.$_FILES['mydoc_'.$count]['name'])) - $this->error = true; - } - foreach ($this->variations as $row) - { - // row = [name]¤[directory]¤[from]¤[to] - // @todo : use array in post instead of hedgehog - $array = explode('¤', $row); - // archive this file using $row - $this->archiveThisFile($zip, $array[1], _PS_ALL_THEMES_DIR_, 'themes/'); - } - foreach ($this->to_export as $row) - if (!in_array($row, $this->native_modules)) - $this->archiveThisFile($zip, $row, dirname(__FILE__).'/../../modules/', 'modules/'); - $zip->close(); - if ($this->error === false) - { - ob_end_clean(); - header('Content-Type: multipart/x-zip'); - header('Content-Disposition:attachment;filename="'.$zip_file_name.'"'); - readfile(_EXPORT_FOLDER_.$zip_file_name); - unlink(_EXPORT_FOLDER_.$zip_file_name); - die; - } - } - $this->_html .= parent::displayError($this->l('An error occurred during the archive generation')); - } - - /* - ** XML Generation, all vars should be GOOD at this point - */ - private function generateXML() - { - $theme = new SimpleXMLElement(''); - $theme->addAttribute('version', Tools::getValue('version')); - $theme->addAttribute('name', Tools::htmlentitiesUTF8(Tools::getValue('theme_name'))); - $theme->addAttribute('directory', Tools::htmlentitiesUTF8(Tools::getValue('theme_directory'))); - $author = $theme->addChild('author'); - $author->addAttribute('name', Tools::htmlentitiesUTF8(Tools::getValue('author_name'))); - $author->addAttribute('email', Tools::htmlentitiesUTF8(Tools::getValue('email'))); - $author->addAttribute('url', Tools::htmlentitiesUTF8(Tools::getValue('website'))); - - $descriptions = $theme->addChild('descriptions'); - $languages = Language::getLanguages(); - foreach ($languages as $language) - { - $val = Tools::htmlentitiesUTF8(Tools::getValue('body_title_'.$language['id_lang'])); - $description = $descriptions->addChild('description', Tools::htmlentitiesUTF8($val)); - $description->addAttribute('iso', $language['iso_code']); - } - - $variations = $theme->addChild('variations'); - foreach ($this->variations as $row) - { - $array = explode('¤', $row); - $variation = $variations->addChild('variation'); - $variation->addAttribute('name', Tools::htmlentitiesUTF8($array[0])); - $variation->addAttribute('directory', $array[1]); - $variation->addAttribute('from', $array[2]); - $variation->addAttribute('to', $array[3]); - } - - $docs = $theme->addChild('docs'); - if (isset($this->user_doc)) - foreach ($this->user_doc as $row) - { - $array = explode('¤', $row); - $doc = $docs->addChild('doc'); - $doc->addAttribute('name', $array[0]); - $doc->addAttribute('path', $array[1]); - } - - $modules = $theme->addChild('modules'); - if (isset($this->to_export)) - foreach ($this->to_export as $row) - if (!in_array($row, $this->native_modules)) - { - $module = $modules->addChild('module'); - $module->addAttribute('action', 'install'); - $module->addAttribute('name', $row); - } - foreach ($this->to_enable as $row) - { - $module = $modules->addChild('module'); - $module->addAttribute('action', 'enable'); - $module->addAttribute('name', $row); - } - foreach ($this->to_disable as $row) - { - $module = $modules->addChild('module'); - $module->addAttribute('action', 'disable'); - $module->addAttribute('name', $row); - } - - $hooks = $modules->addChild('hooks'); - foreach ($this->to_hook as $row) - { - $array = explode(';', $row); - $hook = $hooks->addChild('hook'); - $hook->addAttribute('module', $array[0]); - $hook->addAttribute('hook', $array[1]); - $hook->addAttribute('position', $array[2]); - if (!empty($array[3])) - $hook->addAttribute('exceptions', $array[3]); - } - - $images = $theme->addChild('images'); - foreach ($this->image_list as $row) - { - $array = explode(';', $row); - $image = $images->addChild('image'); - $image->addAttribute('name', Tools::htmlentitiesUTF8($array[0])); - $image->addAttribute('width', $array[1]); - $image->addAttribute('height', $array[2]); - $image->addAttribute('products', $array[3]); - $image->addAttribute('categories', $array[4]); - $image->addAttribute('manufacturers', $array[5]); - $image->addAttribute('suppliers', $array[6]); - $image->addAttribute('scenes', $array[7]); - } - $this->xml_file = $theme->asXML(); - } - - /* - ** Init modules and Hooks - */ - private function initList() - { - $this->native_modules = self::getTheNativeModules(); - - // Get id shop for this seleted theme - $id_shop = Db::getInstance()->getValue('SELECT `id_shop` FROM `'._DB_PREFIX_.'shop` WHERE `id_theme` = '.(int)Tools::getValue('id_theme')); - - // Select the list of module for this shop - $this->module_list = Db::getInstance()->executeS(' - SELECT m.`id_module`, m.`name`, m.`active`, ms.`id_shop` - FROM `'._DB_PREFIX_.'module` m - LEFT JOIN `'._DB_PREFIX_.'module_shop` ms On (m.`id_module` = ms.`id_module`) - WHERE ms.`id_shop` = '.(int)$id_shop.' - '); - - // Select the list of hook for this shop - $this->hook_list = Db::getInstance()->executeS(' - SELECT h.`id_hook`, h.`name` as name_hook, hm.`position`, hm.`id_module`, m.`name` as name_module, GROUP_CONCAT(hme.`file_name`, ",") as exceptions - FROM `'._DB_PREFIX_.'hook` h - LEFT JOIN `'._DB_PREFIX_.'hook_module` hm ON hm.`id_hook` = h.`id_hook` - LEFT JOIN `'._DB_PREFIX_.'module` m ON hm.`id_module` = m.`id_module` - LEFT OUTER JOIN `'._DB_PREFIX_.'hook_module_exceptions` hme ON (hme.`id_module` = hm.`id_module` AND hme.`id_hook` = h.`id_hook`) - WHERE hm.`id_shop` = '.(int)$id_shop.' - GROUP BY `id_module`, `id_hook` - ORDER BY `name_module` - '); - - foreach ($this->hook_list as &$row) - $row['exceptions'] = trim(preg_replace('/(,,+)/', ',', $row['exceptions']), ','); - } - - /* - ** Fill module's vars - */ - private function getModuleState() - { - self::initList(); - foreach ($this->module_list as $array) - { - if (!self::checkParentClass($array['name'])) - continue; - if (in_array($array['name'], $this->native_modules)) - { - if ($array['active'] == 1) - $this->to_enable[] = $array['name']; - else - $this->to_disable[] = $array['name']; - } - elseif ($array['active'] == 1) - $this->to_install[] = $array['name']; - } - foreach ($this->native_modules as $str) - { - $flag = 0; - if (!self::checkParentClass($str)) - continue; - foreach ($this->module_list as $tmp) - if (in_array($str, $tmp)) - { - $flag = 1; - break; - } - if ($flag == 0) - $this->to_disable[] = $str; - } - } - - /* - ** Fill Hook Var - */ - private function getHookState() - { - if ($this->to_install !== false) - foreach ($this->to_install as $string) - foreach ($this->hook_list as $tmp) - if ($tmp['name_module'] == $string) - $this->to_hook[] = $string.';'.$tmp['name_hook'].';'.$tmp['position'].';'.$tmp['exceptions']; - if ($this->to_enable !== false) - foreach ($this->to_enable as $string) - foreach ($this->hook_list as $tmp) - if ($tmp['name_module'] == $string) - $this->to_hook[] = $string.';'.$tmp['name_hook'].';'.$tmp['position'].';'.$tmp['exceptions']; - } - - /* - ** Fill Image var - */ - private function getImageState() - { - $table = Db::getInstance()->executeS(' - SELECT name, width, height, products, categories, manufacturers, suppliers, scenes - FROM `'._DB_PREFIX_.'image_type` - '); - foreach ($table as $row) - $this->image_list[] = $row['name'].';'.$row['width'].';'.$row['height'].';'. - ($row['products'] == 1 ? 'true' : 'false').';'. - ($row['categories'] == 1 ? 'true' : 'false').';'. - ($row['manufacturers'] == 1 ? 'true' : 'false').';'. - ($row['suppliers'] == 1 ? 'true' : 'false').';'. - ($row['scenes'] == 1 ? 'true' : 'false'); - } - - /* - ** Takes current and submited theme's informations - */ - private function getThemeVariations() - { - // @todo check theme variation pertinence - $count = 0; - while (Tools::isSubmit('myvar_'.++$count)) - { - if ((int)Tools::getValue('myvar_'.$count) == -1) - continue; - $name = Tools::getValue('themevariationname_'.$count); - $dir = Tools::getValue('myvar_'.$count); - $from = Tools::getValue('compafrom_'.$count); - $to = Tools::getValue('compato_'.$count); - $this->variations[] = $name.'¤'.$dir.'¤'.$from.'¤'.$to; - } - } - - private function getDocumentation() - { - $count = 0; - while (Tools::isSubmit('documentationName_'.++$count)) - { - if (!($filename = Tools::htmlentitiesUTF8($_FILES['mydoc_'.$count]['name']))) - continue; - $name = Tools::htmlentitiesUTF8(Tools::getValue('documentationName_'.$count)); - $this->user_doc[] = $name.'¤doc/'.$filename; - } - } - - private function checkPostedDatas() - { - $mail = Tools::getValue('email'); - $website = Tools::getValue('website'); - - if ($mail && !preg_match('#^[\w.-]+@[\w.-]+\.[a-zA-Z]{2,6}$#', $mail)) - $this->_html .= parent::displayError($this->l('There is an error in your e-mail syntax!')); - elseif ($website && (!Validate::isURL($website) || !Validate::isAbsoluteUrl($website))) - $this->_html .= parent::displayError($this->l('There is an error in your URL syntax!')); - elseif (!$this->checkVersionsAndCompatibility() || !$this->checkNames() || !$this->checkDocumentation()) - return false; - else - return true; - return false; - } - - /* - ** Checks posted documentation - */ - private function checkDocumentation() - { - $count = 0; - $extensions = array('.pdf', '.txt'); - while ($this->error == false && isset($_FILES['mydoc_'.++$count])) - { - if (!$_FILES['mydoc_'.$count]['name']) - continue; - $extension = strrchr($_FILES['mydoc_'.$count]['name'], '.'); - $name = Tools::getValue('documentationName_'.$count); - - if (!in_array($extension, $extensions)) - $this->_html .= parent::displayError($this->l('File extension must be .txt or .pdf')); - elseif ($_FILES['mydoc_'.$count]['error'] > 0 || $_FILES['mydoc_'.$count]['size'] > 1048576) - $this->_html .= parent::displayError($this->l('An error occurred during documentation upload')); - elseif (!$name || !Validate::isGenericName($name) || strlen($name) > MAX_NAME_LENGTH) - $this->_html .= parent::displayError($this->l('Please enter a valid documentation name')); - } - if ($this->error == true) - return false; - return true; - } - - /* - ** Checks theme's and author's name syntax, existence and length - */ - private function checkNames() - { - $author = Tools::getValue('author_name'); - $name = Tools::getValue('theme_name'); - $count = 0; - - if (!$author || !Validate::isGenericName($author) || strlen($author) > MAX_NAME_LENGTH) - $this->_html .= parent::displayError($this->l('Please enter a valid author name')); - elseif (!$name || !Validate::isGenericName($name) || strlen($name) > MAX_NAME_LENGTH) - $this->_html .= parent::displayError($this->l('Please enter a valid theme name')); - while ($this->error === false && Tools::isSubmit('myvar_'.++$count)) - { - if ((int)Tools::getValue('myvar_'.$count) == -1) - continue; - $name = Tools::getValue('themevariationname_'.$count); - if (!$name || !Validate::isGenericName($name) || strlen($name) > MAX_NAME_LENGTH) - $this->_html .= parent::displayError($this->l('Please enter a valid theme variation name')); - } - if ($this->error == true) - return false; - return true; - } - - private function checkVersionsAndCompatibility() - { - $count = 0; - $exp = '#^[0-9]+[.]+[0-9.]*[0-9]$#'; - - if (!preg_match('#^[0-9][.][0-9]$#', Tools::getValue('version')) || - !preg_match($exp, Tools::getValue('compa_from')) || !preg_match($exp, Tools::getValue('compa_to')) || - version_compare(Tools::getValue('compa_from'), Tools::getValue('compa_to')) == 1) - $this->_html .= parent::displayError( - $this->l('Syntax error on version field. Only digits and points are allowed and the compatibility should be increasing or equal.')); - while ($this->error === false && Tools::isSubmit('myvar_'.++$count)) - { - if ((int)Tools::getValue('myvar_'.$count) == -1) - continue; - $from = Tools::getValue('compafrom_'.$count); - $to = Tools::getValue('compato_'.$count); - if (!preg_match($exp, $from) || !preg_match($exp, $to) || version_compare($from, $to) == 1) - $this->_html .= parent::displayError( - $this->l('Syntax error on version. Only digits and points are allowed and compatibility should be increasing or equal.')); - } - if ($this->error == true) - return false; - return true; - } - - private function modulesInformationForm() - { - if ($this->to_install && count($this->to_install)) - { - $tmp = ''; - foreach ($this->to_install as $key => $val) - $tmp .= 'to_export) ? 'checked="checked"' : '').'/> -
'; - $this->_html .= ' -
- '.$this->l('Modules').' - -
'.$tmp.'
-
'.$this->l('It\'s a list of installed modules which are not native.').'
-
-

 

'; - } - } - - private function authorInformationForm() - { - $employee = $this->context->employee; - $mail = Tools::getValue('email') ? Tools::htmlentitiesUTF8(Tools::getValue('email')) : Tools::htmlentitiesUTF8($employee->email); - $author = Tools::getValue('author_name') ? Tools::htmlentitiesUTF8(Tools::getValue('author_name')) : Tools::htmlentitiesUTF8(($employee->firstname).' '.$employee->lastname); - $website = Tools::getValue('website') ? Tools::htmlentitiesUTF8(Tools::getValue('website')) : Tools::getHttpHost(true); - - $this->_html .= ' -
- '.$this->l('Author').' - -
- -
- -
- -
- -
- -
-
-
 
'; - } - - private function themeInformationForm() - { - $default_language = (int)$this->context->language->id; - $languages = Language::getLanguages(); - $div_lang_name = 'title'; - $id_theme = (int)Tools::getValue('id_theme'); - $theme = new Theme($id_theme); - - $theme_name = Tools::getValue('theme_name') ? Tools::getValue('theme_name') : $theme->name; - $theme_directory = Tools::getValue('theme_directory') ? Tools::getValue('theme_directory') : $theme->directory; - - $this->_html .= ' -
- '.$this->l('Theme').' - -
- -

'.$this->l('Your theme\'s name').'

-
- -
- -
- -
'; - foreach ($languages as $language) - { - $val = Tools::htmlentitiesUTF8(Tools::getValue('body_title_'.$language['id_lang'])); - $this->_html .= ' -
- -
'; - } - $this->_html .= $this->displayFlags($languages, $default_language, $div_lang_name, 'title', true); - $this->_html .= ' -

'.$this->l('Enter a short description of your theme').'

-
'; - $val = Tools::getValue('version') ? Tools::getValue('version') : DEFAULT_T_VER; - $this->_html .= ' - -
- -

'.$this->l('Your theme\'s version').'

-
'; - $val = Tools::getValue('compa_from') ? Tools::getValue('compa_from') : DEFAULT_COMPATIBILITY_FROM; - $val2 = Tools::getValue('compa_to') ? Tools::getValue('compa_to') : DEFAULT_COMPATIBILITY_TO; - $this->_html .= ' -
- -
- -
-
-
- -
- -
-
-

 

'; - } - - private function docInformationForm() - { - $val = Tools::htmlentitiesUTF8(Tools::getValue('documentation')); - $this->_html .= ' - -

'. - $this->l('Give the user some help. Add a field by clicking here').' - add.
'. - $this->l('File extension must be .txt or .pdf').' -

- -
- '; - $this->_html .= '

 

'; - } - - private function variationInformationForm() - { - $this->_html .= ' - -

'.$this->l('Select theme to include and its compatibility.').'

- - -
-
 
'; - $this->_html .= ' -
-
 
-   - - '; - } -} - diff --git a/modules/themeinstallator/translations/de.php b/modules/themeinstallator/translations/de.php deleted file mode 100644 index 4c600c128..000000000 --- a/modules/themeinstallator/translations/de.php +++ /dev/null @@ -1,101 +0,0 @@ -themeinstallator_fff01a1de50e0559f82501a927654d1b'] = 'Import / Export eines Themas'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_83ebbd7865677d356ffde5ad7e12784f'] = 'Exportieren oder installieren Sie ein Thema und seine Module auf Ihren Shop'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_625752b5671445388af8f5e1ea3176c0'] = '%s ist kein gültiges Theme für den Export'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_25b9e1d82d8200d70be2b22a1a283957'] = 'Ein Fehler ist beim Hochladen der Datei aufgetreten.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_050991b5b76aad0be75563b7cb93a33e'] = 'Nur zip-Dateien sind erlaubt'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_57c1ed81b02e5d3361323c7930897295'] = 'Ein Fehler ist beim Kopieren der Datei aufgetreten.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5fd13c2b89a6eaaa4614bfe258f6c40f'] = 'Zip-Datei scheint beschädigt zu sein'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0dea6caeb83e5c11d3678284e64ebed8'] = 'Fehler beim Herunterladen der Datei'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_c186217583219f4cd040d9ee8d388ffb'] = 'Fehler bei der Zip-Extraktion'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0210b6456cdccad569cb56026bb0f689'] = 'Schlechte Konfigurationsdatei'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_416fa810b877005364d8dc1f61a2b7f0'] = 'Es muss mind. ein Theme gewählt werden'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a7eca295291f53a23ab7ba0a9c7fd9de'] = 'Diese Funktion wurde entfernt.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5b6cf869265c13af8566f192b4ab3d2a'] = 'Dokumentation'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_6bdbe5a8a9f446d4d758ee4c22648771'] = 'Sie möchten eventuell die Dokumentation prüfen'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7348fd57bfb5c837fc57e54fcfeeed9e'] = 'Rechtsklick auf den Namen und \"Link speichern unter\" wählen'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_00f0916ff7ef4b0a0583b679b6e84d8c'] = 'Folgende Module wurden installiert'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e6178f22c62901662347cfb2f7972d1f'] = 'Folgende Module wurden deaktiviert:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_04e4e6909614be09727ebe4fb79c9e27'] = 'Folgende Module wurden aktiviert'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0dfbf4744524c8573235d60589d8b66e'] = 'Bilder wurden korrekt in der Datenbank aktualisiert'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_203c5dff06c7565ffd6713a914c62d16'] = 'Einige Bilder sind bereits vorhanden und konnten nicht hinzugefügt werden. Hier ist eine Liste'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_3b90370ac32dead2af37eabe3bdbb97f'] = 'Name Bild-Typ:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_48ccf48dcf2218a413ce473262f21a0c'] = 'Breite:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e933dc24fb245d863a43b4fefe9b45f5'] = 'Höhe:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dd1f775e443ff3b9a89270713580a51b'] = 'Zurück'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a20ddccbb6f808ec42cd66323e6c6061'] = 'Fertig'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_33167fe8de7517798cf2e95c7680d6a4'] = 'Die folgenden Themen wurden erfolgreich importiert'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f4ef3a40f287dd9849004a7f5af73f00'] = 'Achtung: ein Modul mit dem gleichen Namen existiert bereits'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_df8703a4066393da85e8188261660717'] = 'Wählen Sie das Themenmodul, das Sie installieren möchten'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7b8e139260e50dd81e70b6ef6910e6f6'] = 'Module auswählen, welche für dieses Theme deaktiviert werden müssen'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7651cc4a979c5e21ee50de988ce574b0'] = 'Native Modulkonfiguration'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_8ab378b3ad05e14cbe61bff60c50afa6'] = 'Aktuelle Konfiguration'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f94545e00cff9d0395194458b2245702'] = 'Themen-Konfiguration'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_130c5b3473c57faa76e2a1c54e26f88e'] = 'Beide'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_20be6bcfa3d8c557253841bf7b22235a'] = 'Shop wählen, welcher dieses Theme verwenden soll:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_10ac3d04253ef7e1ddc73e6091c0cd55'] = 'Weiter'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5138a89d1b730dacf446855e15c24496'] = 'Sie werden die folgenden Themen installieren'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f364da141450380ae79d7a45528f4c06'] = 'Dieses Thema ist für Prestashop'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ac85d9784348dc8f0c2db93f4a095eb0'] = 'Achtung: Sie haben bereits ein Thema mit dem gleichen Ordnernamen'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_8f3ea15c5b87db00561ccde5067310a5'] = 'für Prestashop'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_caeedb303068f9915e8e5ce091c9c02f'] = '(Achtung: Ein Ordner mit dem gleichen Namen ist bereits vorhanden)'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_2dd99d7426b4fe6dd04d7a98f5e32a62'] = 'Wählen Sie die Varianten, die Sie importieren möchten'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f956917da1716add289f33a8869b85d4'] = 'Hauptthema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_1e3de51d693cd0c7e903bcf3769a0cdb'] = 'Deaktivieren Sie dieses Feld, wenn Sie das Hauptthema nicht installieren möchten'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d0594793a76c7e694f6bf7d4fea06a99'] = 'Theme-Name'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0205578268437a2c18d438b434b6d4cf'] = 'Theme-Verzeichnis'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_c49fbf2b822fd14929fd1fd76cdb0c96'] = 'Wählen Sie die Variationen, die Sie importieren möchten'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_46e95e2b620606d0e54fdf9094346f79'] = 'Hinweis: Das Variations-Verzeichnis wird den Prefix des Theme-Verzeichnisses tragen.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dc87369c7dd7d760c8076a4e1a3805d0'] = 'Theme für Export auswählen'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d1baba351b02042982a133c4df5d4924'] = 'Exportieren Sie ein Thema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5092965125a28a17f49ee460fbc1f62c'] = 'Wählen Sie ein Thema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0557cae4cf5b379e665910d701210f69'] = 'Exportieren Sie dieses Thema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_73b423af0106343c060aefb660e79ff2'] = 'Bitte Theme auswählen'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7961c4434751797a383d52d647e044d6'] = 'Import aus Ihrem Computer'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_bc52857ec49d8de10e55171f5bbc7f2a'] = 'Archiv-Datei'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_24ad8bfdfce09842a83f10d59a8ef01f'] = 'Wo ist Ihre Zip-Datei?'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dec0faa6eb19bd9120d12c5a876bd1cf'] = 'Import aus dem Internet'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a33388a338ee2b199d66112369279558'] = 'Archiv-URL'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_cd8d9cc19984ccf9d314eee5eebfc2cc'] = 'Import vom FTP'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_94f2371003860a92b12bf4c66b2851ac'] = 'Wählen Sie ein Archiv'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_43eed730e20e1fc8e2245e20046733ea'] = 'Zu verwendende ZIP-Datei wählen. (Hochgeladen in das Verzeichnis %s)'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ed5778790800282a0e2044e50ac20de3'] = 'Zugriff verweigert. Bitte Rechte des Ordners auf 666 setzen: %s'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ad8161d79988145440845b927e3708d4'] = 'Dieses Formular ausfüllen, um Theme %s in eine ZIP_Datei zu exportieren'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_1031371f906a92891140f384d04b3421'] = 'Ein Fehler trat beim Generieren des Archivs auf'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_2c19b34eebed37ccc288c518006615b3'] = 'Fehler in Ihrer E-Mail-Syntax!'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_129b7dae66f0029381da64578a351198'] = 'Fehler in Ihrer URL-Syntax!'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_87e0eaf3f9614cb904fafb0d4f4c1f56'] = 'Dateierweiterung muss .txt oder .pdf sein'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_550a06d4fd147c22a4c921036003abf6'] = 'Fehler beim heraufladen der Dokumentation'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ecd8e7704f6f4f730f6a43bfb24a9546'] = 'Bitte geben Sie einen gültigen Dokumentationsnamen an'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_623e4ca0275c19c3134b7290fdd19264'] = 'Bitte geben Sie einen gültigen Autornamen an'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a43f1054076c2389afd746ec3d5d1c71'] = 'Bitte geben Sie einen gültigen Themennamen an'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_03d105aa95f842fc54b18ca8a73109ca'] = 'Bitte geben Sie einen gültigen Themavariationsnamen an'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_9891d2e13ad8b753833055c5809a733e'] = 'Syntaxfehler im Versionsfeld. Nur Ziffern und Punkte sind erlaubt und die Kompatibilität sollte steigend oder gleich sein.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dd88d85745bba1abfa65cef79472da6a'] = 'Syntaxfehler auf der Version. Nur Ziffern und Punkte sind erlaubt die Kompatibilität sollte steigend oder gleich sein.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_bf17ac149e2e7a530c677e9bd51d3fd2'] = 'Module'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_714af595b1403ed23ff51f27e863c9a2'] = 'Wählen Sie die Module, die Sie exportieren möchten'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_fa20578667f2e569f2ed1da415126040'] = 'Dies ist eine Liste mit installierten Modulen, weche nicht nativ unterstützt werden'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a517747c3d12f99244ae598910d979c5'] = 'Autor'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_49ee3087348e8d44e1feda1917443987'] = 'Name'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-Mail'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_15bbb9d0bbf25e8d2978de1168c749dc'] = 'Webseite'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d721757161f7f70c5b0949fdb6ec2c30'] = 'Thema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f4f10e7d35bef4e7b48e76ee4bdeae24'] = 'Ihr Themenname'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Beschreibung'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_742ec436610daf7b51a1ba94039adf78'] = 'Geben Sie eine kurze Beschreibung Ihres Themas ein'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_34b6cd75171affba6957e308dcbd92be'] = 'Version'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7da6f328a4647adb2b96a01a6d7c05c4'] = 'Ihre Themenversion'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_333dfbe2bb5c64b140df4607935ec8be'] = 'Kompatibel ab'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e12167aa0a7698e6ebc92b4ce3909b53'] = 'bis'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a82cac3db0465cfc701f3765fd880019'] = 'Dokumentation hinzufügen'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_08e27f4e5511f4f6aa73557e6ad6df48'] = 'Geben Sie dem Benutzer eine Hilfe. Fügen Sie ein Feld hinzu, indem Sie hier klicken'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a508df4b049c5b044cb4568b76b6c7e6'] = 'Variation hinzufügen'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_626bd6acdcd835a5d064ef6358124b6c'] = 'Anderes Thema und Kompatibilität zum Hinzufügen wählen'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ac70412e939d72a9234cdebb1af5867b'] = 'Pfad'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5da618e8e4b89c66fe86e32cdafde142'] = 'Von'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_3271e801d0a5db9dc2963a19ed9695d6'] = 'Wählen Sie ein Thema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ea4788705e6873b424c65e91c2846b19'] = 'Abbrechen'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_abb381ee4077396e5d5d475b9022ba86'] = 'Generieren Sie das Archiv jetzt!'; diff --git a/modules/themeinstallator/translations/en.php b/modules/themeinstallator/translations/en.php deleted file mode 100644 index 9839c82f9..000000000 --- a/modules/themeinstallator/translations/en.php +++ /dev/null @@ -1,4 +0,0 @@ -themeinstallator_fff01a1de50e0559f82501a927654d1b'] = 'Importar / exportar un tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_83ebbd7865677d356ffde5ad7e12784f'] = 'Exportar o importar un tema y sus módulos en su tienda'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_625752b5671445388af8f5e1ea3176c0'] = '%s no es un tema válido para exportar'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_25b9e1d82d8200d70be2b22a1a283957'] = 'Se ha producido un error durante el envío del archivo.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_050991b5b76aad0be75563b7cb93a33e'] = 'Solo están autorizados los archivos zip'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_57c1ed81b02e5d3361323c7930897295'] = 'Se ha producido un error durante la copia del archivo.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5fd13c2b89a6eaaa4614bfe258f6c40f'] = 'El archivo zip parece corrupto'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0dea6caeb83e5c11d3678284e64ebed8'] = 'Se ha producido un error durante el envío del archivo'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_c186217583219f4cd040d9ee8d388ffb'] = 'Se ha producido un error durante la extracción del archivo zip'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0210b6456cdccad569cb56026bb0f689'] = 'Configuración de archivo errónea'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_416fa810b877005364d8dc1f61a2b7f0'] = 'Debe seleccionar al menos un tema... '; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a7eca295291f53a23ab7ba0a9c7fd9de'] = 'Esta característica ha sido deshabilitada.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5b6cf869265c13af8566f192b4ab3d2a'] = 'Documentación'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_6bdbe5a8a9f446d4d758ee4c22648771'] = 'Puede consultar la documentación'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7348fd57bfb5c837fc57e54fcfeeed9e'] = 'Haga clic derecho en el nombre y elija \"guardar el enlace bajo\"'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_00f0916ff7ef4b0a0583b679b6e84d8c'] = 'Se han instalado los siguientes módulos'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e6178f22c62901662347cfb2f7972d1f'] = 'Los siguientes módulos han sido desanclados: '; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_04e4e6909614be09727ebe4fb79c9e27'] = 'Se han activado los siguientes módulos'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0dfbf4744524c8573235d60589d8b66e'] = 'Se han actualizado las imágenes en la base de datos'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_203c5dff06c7565ffd6713a914c62d16'] = 'Advertencia: Copiar / Pegar sus errores si desea configurar manualmente el tipo de imagen (en la ficha Preferencias> Imágenes):'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_3b90370ac32dead2af37eabe3bdbb97f'] = 'Nombre de tipo de imagen:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_48ccf48dcf2218a413ce473262f21a0c'] = 'Ancho:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e933dc24fb245d863a43b4fefe9b45f5'] = 'Alto:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dd1f775e443ff3b9a89270713580a51b'] = 'Anterior'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a20ddccbb6f808ec42cd66323e6c6061'] = 'Terminar'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_33167fe8de7517798cf2e95c7680d6a4'] = 'Los siguientes temas se han importado correctamente'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f4ef3a40f287dd9849004a7f5af73f00'] = 'Atención: ya existe un módulo con ese nombre'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_df8703a4066393da85e8188261660717'] = 'Seleccione los módulos del tema que desea instalar'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7b8e139260e50dd81e70b6ef6910e6f6'] = 'Seleccione los módulos que deben ser desactivados para este tema... '; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7651cc4a979c5e21ee50de988ce574b0'] = 'Configuración de los módulos nativos'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_8ab378b3ad05e14cbe61bff60c50afa6'] = 'Configuración actual'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f94545e00cff9d0395194458b2245702'] = 'Configuración de los temas'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_130c5b3473c57faa76e2a1c54e26f88e'] = 'Ambos'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_20be6bcfa3d8c557253841bf7b22235a'] = 'Seleccione la tienda en la que va a utilizar este tema: '; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_10ac3d04253ef7e1ddc73e6091c0cd55'] = 'Siguiente'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5138a89d1b730dacf446855e15c24496'] = 'Está a punto de instalar los siguientes temas'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f364da141450380ae79d7a45528f4c06'] = 'Este tema es para PrestaShop'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ac85d9784348dc8f0c2db93f4a095eb0'] = '(Atención: ya existe un tema con ese nombre)'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_8f3ea15c5b87db00561ccde5067310a5'] = 'para PrestaShop'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_caeedb303068f9915e8e5ce091c9c02f'] = '(Atención: ya existe una carpeta con ese nombre)'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_2dd99d7426b4fe6dd04d7a98f5e32a62'] = 'Elija la declinación que desea importar'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f956917da1716add289f33a8869b85d4'] = 'Tema principal'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_1e3de51d693cd0c7e903bcf3769a0cdb'] = 'Desmarque este campo si no quiere instalar el tema principa'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d0594793a76c7e694f6bf7d4fea06a99'] = 'Nombre del tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0205578268437a2c18d438b434b6d4cf'] = 'Directorio del tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_c49fbf2b822fd14929fd1fd76cdb0c96'] = 'Seleccione las variaciones que desee importar'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_46e95e2b620606d0e54fdf9094346f79'] = 'Nota: El directorio de la variación será precedido por el directorio de temas.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dc87369c7dd7d760c8076a4e1a3805d0'] = 'seleccionar un tema para exportar'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d1baba351b02042982a133c4df5d4924'] = 'Exportar un tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5092965125a28a17f49ee460fbc1f62c'] = 'Seleccionar un tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0557cae4cf5b379e665910d701210f69'] = 'Exportar este tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_73b423af0106343c060aefb660e79ff2'] = 'Por favor, seleccione un tema '; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7961c4434751797a383d52d647e044d6'] = 'Importar a partir del ordenador'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_bc52857ec49d8de10e55171f5bbc7f2a'] = 'Fichero del archivo'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_24ad8bfdfce09842a83f10d59a8ef01f'] = '¿Dónde está su archivo zip?'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dec0faa6eb19bd9120d12c5a876bd1cf'] = 'Importar a partir del Web'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a33388a338ee2b199d66112369279558'] = 'URL del archivo'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_cd8d9cc19984ccf9d314eee5eebfc2cc'] = 'Importar a partir del FTP'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_94f2371003860a92b12bf4c66b2851ac'] = 'Seleccionar el archivo'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_43eed730e20e1fc8e2245e20046733ea'] = 'Seleccione el archivo ZIP que desea utilizar (previamente cargado en el directorio %s)'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ed5778790800282a0e2044e50ac20de3'] = 'Permiso denegado. Por favor, establece permisssion a 666 en esta carpeta: %s '; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ad8161d79988145440845b927e3708d4'] = 'Rellena este formulario se puede exportar el tema %s en un archivo ZIP'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_1031371f906a92891140f384d04b3421'] = 'Se ha producido un error al general el archivo'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_2c19b34eebed37ccc288c518006615b3'] = '¡Hay un error de sintaxis en el campo \"email\"!'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_129b7dae66f0029381da64578a351198'] = '¡Hay un error de sintaxis en el campo \"url\"!'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_87e0eaf3f9614cb904fafb0d4f4c1f56'] = 'La extensión del archivo debe ser .txt o .pdf'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_550a06d4fd147c22a4c921036003abf6'] = 'Se ha producido un error al enviar la documentación'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ecd8e7704f6f4f730f6a43bfb24a9546'] = 'Introduzca un nombre de documentación válido'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_623e4ca0275c19c3134b7290fdd19264'] = 'Introduzca un nombre de autor válido'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a43f1054076c2389afd746ec3d5d1c71'] = 'Introduzca un nombre de tema válido'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_03d105aa95f842fc54b18ca8a73109ca'] = 'Introduzca un nombre de variación válido'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_9891d2e13ad8b753833055c5809a733e'] = 'Error de sintaxis en el campo versión. Solo se autorizan los números y los puntos y la contabilidad debe ser creciente o igual.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dd88d85745bba1abfa65cef79472da6a'] = 'Error de sintaxis en el campo versión. Solo se autorizan los números y los puntos y la contabilidad debe ser creciente o igual.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_bf17ac149e2e7a530c677e9bd51d3fd2'] = 'Módulos'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_714af595b1403ed23ff51f27e863c9a2'] = 'Seleccione los módulos que quiere exportar'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_fa20578667f2e569f2ed1da415126040'] = 'Es una lista de módulos instalados que no son nativos. '; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a517747c3d12f99244ae598910d979c5'] = 'Autor'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_49ee3087348e8d44e1feda1917443987'] = 'Nombre'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_15bbb9d0bbf25e8d2978de1168c749dc'] = 'Sitio Web'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d721757161f7f70c5b0949fdb6ec2c30'] = 'Tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f4f10e7d35bef4e7b48e76ee4bdeae24'] = 'El nombre de su tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Descripción'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_742ec436610daf7b51a1ba94039adf78'] = 'Introduzca una descripción breve de su tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_34b6cd75171affba6957e308dcbd92be'] = 'Versión'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7da6f328a4647adb2b96a01a6d7c05c4'] = 'La versión de su tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_333dfbe2bb5c64b140df4607935ec8be'] = 'Compatible a partir de'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e12167aa0a7698e6ebc92b4ce3909b53'] = 'Hasta'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a82cac3db0465cfc701f3765fd880019'] = 'Añadir una documentación'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_08e27f4e5511f4f6aa73557e6ad6df48'] = 'Ayude un poco al usuario. Añada un campo pulsando aquí'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a508df4b049c5b044cb4568b76b6c7e6'] = 'Añadir una variación'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_626bd6acdcd835a5d064ef6358124b6c'] = 'Seleccione otro tema y su contabilidad para incluir'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ac70412e939d72a9234cdebb1af5867b'] = 'Camino'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5da618e8e4b89c66fe86e32cdafde142'] = 'A partir de'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_3271e801d0a5db9dc2963a19ed9695d6'] = 'El nombre de su tienda'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ea4788705e6873b424c65e91c2846b19'] = 'Anular'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_abb381ee4077396e5d5d475b9022ba86'] = '¡Generar el archivo ahora!'; diff --git a/modules/themeinstallator/translations/fr.php b/modules/themeinstallator/translations/fr.php deleted file mode 100644 index fe0a34186..000000000 --- a/modules/themeinstallator/translations/fr.php +++ /dev/null @@ -1,102 +0,0 @@ -themeinstallator_fff01a1de50e0559f82501a927654d1b'] = 'Importer / Exporter un thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_83ebbd7865677d356ffde5ad7e12784f'] = 'Exporter ou importer un thème et ses modules sur votre boutique.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_625752b5671445388af8f5e1ea3176c0'] = '%s n\'est pas un thème valide à exporter.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_25b9e1d82d8200d70be2b22a1a283957'] = 'Une erreur est survenue durant l\'envoi du fichier.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_050991b5b76aad0be75563b7cb93a33e'] = 'Seuls les fichiers .zip sont autorisés'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_57c1ed81b02e5d3361323c7930897295'] = 'Une erreur est survenue durant la copie du fichier.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5fd13c2b89a6eaaa4614bfe258f6c40f'] = 'Le fichier .zip semble corrompu'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0dea6caeb83e5c11d3678284e64ebed8'] = 'Une erreur est survenue durant le téléchargement du fichier'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_c186217583219f4cd040d9ee8d388ffb'] = 'Une erreur est survenue durant l\'extraction du fichier .zip'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0210b6456cdccad569cb56026bb0f689'] = 'Mauvais fichier de configuration'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_416fa810b877005364d8dc1f61a2b7f0'] = 'Vous devez sélectionner au moins un thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a7eca295291f53a23ab7ba0a9c7fd9de'] = 'Cette fonctionnalité a été désactivée.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5b6cf869265c13af8566f192b4ab3d2a'] = 'Documentation'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_6bdbe5a8a9f446d4d758ee4c22648771'] = 'Vous devriez consulter la documentation'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7348fd57bfb5c837fc57e54fcfeeed9e'] = 'Faites un clic droit sur le nom et choisissez \"Enregistrer le lien sous\"'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_00f0916ff7ef4b0a0583b679b6e84d8c'] = 'Les modules suivants ont été installés :'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e6178f22c62901662347cfb2f7972d1f'] = 'Les modules suivants ont été désactivés :'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_04e4e6909614be09727ebe4fb79c9e27'] = 'Les modules suivants ont été activés :'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0dfbf4744524c8573235d60589d8b66e'] = 'Les images ont bien été mises à jour dans la base de données'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_4e246bd71dd5fb033e402b373e6ee434'] = 'Attention : copier/coller vos erreurs si vous souhaitez définir manuellement ces types d\'images (dans la page \"Images\" du menu \"Préférences\") :'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_203c5dff06c7565ffd6713a914c62d16'] = 'Certains types d\'image n’ont pu être ajoutés, car ils existent déjà. Voici la liste :'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_3b90370ac32dead2af37eabe3bdbb97f'] = 'Nom du type d\'image :'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_48ccf48dcf2218a413ce473262f21a0c'] = 'Largeur :'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e933dc24fb245d863a43b4fefe9b45f5'] = 'Hauteur :'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dd1f775e443ff3b9a89270713580a51b'] = 'Précédent'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a20ddccbb6f808ec42cd66323e6c6061'] = 'Terminer'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_33167fe8de7517798cf2e95c7680d6a4'] = 'Les thèmes suivants ont correctement été importés'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f4ef3a40f287dd9849004a7f5af73f00'] = 'Attention : un module avec le même nom existe déjà'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_df8703a4066393da85e8188261660717'] = 'Sélectionnez les modules du thème que vous souhaitez installer'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7b8e139260e50dd81e70b6ef6910e6f6'] = 'Sélectionnez les modules qui doivent être désactivé pour ce thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7651cc4a979c5e21ee50de988ce574b0'] = 'Configuration des modules natifs'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_8ab378b3ad05e14cbe61bff60c50afa6'] = 'Configuration actuelle'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f94545e00cff9d0395194458b2245702'] = 'Configuration du thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_130c5b3473c57faa76e2a1c54e26f88e'] = 'Les deux'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_20be6bcfa3d8c557253841bf7b22235a'] = 'Sélectionnez votre boutique qui utilisera ce thème:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_10ac3d04253ef7e1ddc73e6091c0cd55'] = 'Suivant'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5138a89d1b730dacf446855e15c24496'] = 'Vous êtes sur le point d\'installer le thème suivant'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f364da141450380ae79d7a45528f4c06'] = 'Ce thème est pour PrestaShop'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ac85d9784348dc8f0c2db93f4a095eb0'] = 'Attention : un thème avec le même nom de dossier existe déjà'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_8f3ea15c5b87db00561ccde5067310a5'] = 'pour PrestaShop'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_caeedb303068f9915e8e5ce091c9c02f'] = '(attention : un dossier avec le même nom existe déjà)'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_2dd99d7426b4fe6dd04d7a98f5e32a62'] = 'Choisissez la variation que vous souhaitez importer'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f956917da1716add289f33a8869b85d4'] = 'Thème principal'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_1e3de51d693cd0c7e903bcf3769a0cdb'] = 'Décochez cette case si vous ne souhaitez pas installer le thème principal.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d0594793a76c7e694f6bf7d4fea06a99'] = 'Nom du thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0205578268437a2c18d438b434b6d4cf'] = 'Répertoire du thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_c49fbf2b822fd14929fd1fd76cdb0c96'] = 'Sélectionnez les variations que vous souhaitez importer'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_46e95e2b620606d0e54fdf9094346f79'] = 'Note : le répertoire de la variation sera préfixée par le répertoire du thème.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dc87369c7dd7d760c8076a4e1a3805d0'] = 'Sélectionner le thème à exporter'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d1baba351b02042982a133c4df5d4924'] = 'Exporter un thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5092965125a28a17f49ee460fbc1f62c'] = 'Sélectionner un thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0557cae4cf5b379e665910d701210f69'] = 'Exporter ce thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_73b423af0106343c060aefb660e79ff2'] = 'S\'il vous plaît, sélectionnez un thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7961c4434751797a383d52d647e044d6'] = 'Importer depuis l\'ordinateur'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_bc52857ec49d8de10e55171f5bbc7f2a'] = 'Fichier de l\'archive'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_24ad8bfdfce09842a83f10d59a8ef01f'] = 'Où se trouve votre fichier .zip ?'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dec0faa6eb19bd9120d12c5a876bd1cf'] = 'Importer depuis le web'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a33388a338ee2b199d66112369279558'] = 'URL de l\'archive'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_cd8d9cc19984ccf9d314eee5eebfc2cc'] = 'Importer depuis le serveur FTP'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_94f2371003860a92b12bf4c66b2851ac'] = 'Sélectionnez l\'archive'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_43eed730e20e1fc8e2245e20046733ea'] = 'Sélectionnez le fichier .zip que vous souhaitez utiliser (déjà mis en ligne dans votre répertoire %s)'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ed5778790800282a0e2044e50ac20de3'] = 'Vous n\'avez pas les droits. S\'il vous plaît, veuillez paramétrer les droits du dossier (666) suivant : %s'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ad8161d79988145440845b927e3708d4'] = 'Remplissez ce formulaire pour exporter le thème dans un fichier .zip'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_1031371f906a92891140f384d04b3421'] = 'Une erreur est survenue durant la génération de l\'archive'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_2c19b34eebed37ccc288c518006615b3'] = 'Il y a une erreur de syntaxe dans le champ \"e-mail\" !'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_129b7dae66f0029381da64578a351198'] = 'Il y a une erreur de syntaxe dans le champ \"URL\" !'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_87e0eaf3f9614cb904fafb0d4f4c1f56'] = 'L\'extension du fichier doit être .txt ou .pdf'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_550a06d4fd147c22a4c921036003abf6'] = 'Une erreur est survenue durant l\'envoi de la documentation'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ecd8e7704f6f4f730f6a43bfb24a9546'] = 'Veuillez saisir un nom de documentation valide'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_623e4ca0275c19c3134b7290fdd19264'] = 'Veuillez saisir un nom d\'auteur valide'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a43f1054076c2389afd746ec3d5d1c71'] = 'Veuillez saisir un nom de thème valide'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_03d105aa95f842fc54b18ca8a73109ca'] = 'Veuillez saisir un nom de variation valide'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_9891d2e13ad8b753833055c5809a733e'] = 'Erreur de syntaxe dans le champ \"version\". Seuls les nombres et les points sont autorisés, et la compatibilité doit être croissante ou égale.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dd88d85745bba1abfa65cef79472da6a'] = 'Erreur de syntaxe dans le champ \"version\". Seuls les nombres et les points sont autorisés, et la compatibilité doit être croissante ou égale.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_bf17ac149e2e7a530c677e9bd51d3fd2'] = 'Modules'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_714af595b1403ed23ff51f27e863c9a2'] = 'Sélectionnez les modules que vous souhaitez exporter'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_fa20578667f2e569f2ed1da415126040'] = 'C\'est une liste des modules installés et qui sont natifs.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a517747c3d12f99244ae598910d979c5'] = 'Auteur'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_49ee3087348e8d44e1feda1917443987'] = 'Nom'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_15bbb9d0bbf25e8d2978de1168c749dc'] = 'Site Web'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d721757161f7f70c5b0949fdb6ec2c30'] = 'Thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f4f10e7d35bef4e7b48e76ee4bdeae24'] = 'Le nom de votre thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_742ec436610daf7b51a1ba94039adf78'] = 'Entrez une courte description de votre thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_34b6cd75171affba6957e308dcbd92be'] = 'Version'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7da6f328a4647adb2b96a01a6d7c05c4'] = 'La version de votre thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_333dfbe2bb5c64b140df4607935ec8be'] = 'Compatible à partir de'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e12167aa0a7698e6ebc92b4ce3909b53'] = 'Jusqu\'à'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a82cac3db0465cfc701f3765fd880019'] = 'Ajouter une documentation'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_08e27f4e5511f4f6aa73557e6ad6df48'] = 'Donnez un peu d\'aide à l\'utilisateur. Ajoutez un champs en cliquant ici'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a508df4b049c5b044cb4568b76b6c7e6'] = 'Ajouter une variation'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_626bd6acdcd835a5d064ef6358124b6c'] = 'Sélectionnez un autre thème à inclure et sa compatibilité.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ac70412e939d72a9234cdebb1af5867b'] = 'Chemin'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5da618e8e4b89c66fe86e32cdafde142'] = 'À partir de'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_3271e801d0a5db9dc2963a19ed9695d6'] = 'Choisissez un thème'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ea4788705e6873b424c65e91c2846b19'] = 'Annuler'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_abb381ee4077396e5d5d475b9022ba86'] = 'Générer l\'archive maintenant !'; diff --git a/modules/themeinstallator/translations/index.php b/modules/themeinstallator/translations/index.php deleted file mode 100644 index 08a7f8048..000000000 --- a/modules/themeinstallator/translations/index.php +++ /dev/null @@ -1,36 +0,0 @@ - -* @copyright 2007-2012 PrestaShop SA -* @version Release: $Revision: 13573 $ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; \ No newline at end of file diff --git a/modules/themeinstallator/translations/it.php b/modules/themeinstallator/translations/it.php deleted file mode 100644 index 9bbdb8ffb..000000000 --- a/modules/themeinstallator/translations/it.php +++ /dev/null @@ -1,101 +0,0 @@ -themeinstallator_fff01a1de50e0559f82501a927654d1b'] = 'Import / export di un tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_83ebbd7865677d356ffde5ad7e12784f'] = 'Esportare o installare un tema ed i suoi moduli per il tuo negozio'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_625752b5671445388af8f5e1ea3176c0'] = '%s non è un tema valido per l\'esportazione'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_25b9e1d82d8200d70be2b22a1a283957'] = 'Errore durante il caricamento del file.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_050991b5b76aad0be75563b7cb93a33e'] = 'Solo i file zip sono ammessi'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_57c1ed81b02e5d3361323c7930897295'] = 'Errore durante la copia dei file.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5fd13c2b89a6eaaa4614bfe258f6c40f'] = 'file Zip sembra essere rotto'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0dea6caeb83e5c11d3678284e64ebed8'] = 'Errore durante il download di file'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_c186217583219f4cd040d9ee8d388ffb'] = 'Errore durante l\'estrazione zip'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0210b6456cdccad569cb56026bb0f689'] = 'Cattivo file di configurazione'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_416fa810b877005364d8dc1f61a2b7f0'] = 'Devi scegliere almeno un tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a7eca295291f53a23ab7ba0a9c7fd9de'] = 'Questa funzionalità è stata disabilitata'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5b6cf869265c13af8566f192b4ab3d2a'] = 'Documentazione'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_6bdbe5a8a9f446d4d758ee4c22648771'] = 'Si consiglia di consultare la documentazione'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7348fd57bfb5c837fc57e54fcfeeed9e'] = 'Fai clic destro sul nome e scegli \"Salva collegamento come\"'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_00f0916ff7ef4b0a0583b679b6e84d8c'] = 'I seguenti moduli sono stati installati'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e6178f22c62901662347cfb2f7972d1f'] = 'Il seguente modulo è stato sganciato:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_04e4e6909614be09727ebe4fb79c9e27'] = 'I seguenti moduli sono stati abilitati'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0dfbf4744524c8573235d60589d8b66e'] = 'Le immagini sono state correttamente aggiornate nel database'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_203c5dff06c7565ffd6713a914c62d16'] = 'Alcuni tipi di immagini non possono essere aggiunti perchè già esistenti. Qui la lista:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_3b90370ac32dead2af37eabe3bdbb97f'] = 'Nome tipo immagine:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_48ccf48dcf2218a413ce473262f21a0c'] = 'Larghezza:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e933dc24fb245d863a43b4fefe9b45f5'] = 'Altezza:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dd1f775e443ff3b9a89270713580a51b'] = 'Precedente'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a20ddccbb6f808ec42cd66323e6c6061'] = 'Fine'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_33167fe8de7517798cf2e95c7680d6a4'] = 'I temi seguenti sono stati importati con successo'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f4ef3a40f287dd9849004a7f5af73f00'] = 'Attenzione: esiste già un modulo con lo stesso nome'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_df8703a4066393da85e8188261660717'] = 'Seleziona i moduli del tema che desideri installare'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7b8e139260e50dd81e70b6ef6910e6f6'] = 'Selezionare i moduli che devono essere disabilitati per questo tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7651cc4a979c5e21ee50de988ce574b0'] = 'Moduli di configurazione originali'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_8ab378b3ad05e14cbe61bff60c50afa6'] = 'configurazione attuale'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f94545e00cff9d0395194458b2245702'] = 'configurazione del tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_130c5b3473c57faa76e2a1c54e26f88e'] = 'Entrambi'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_20be6bcfa3d8c557253841bf7b22235a'] = 'Seleziona il negozio che userà questo tema:'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_10ac3d04253ef7e1ddc73e6091c0cd55'] = 'Successivo'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5138a89d1b730dacf446855e15c24496'] = 'Stai per installare il seguente tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f364da141450380ae79d7a45528f4c06'] = 'Questo tema è per Prestashop'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ac85d9784348dc8f0c2db93f4a095eb0'] = 'Attenzione: Hai già un tema con il nome della stessa cartella di'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_8f3ea15c5b87db00561ccde5067310a5'] = 'per Prestashop'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_caeedb303068f9915e8e5ce091c9c02f'] = '(Attenzione: una cartella con lo stesso nome esiste già)'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_2dd99d7426b4fe6dd04d7a98f5e32a62'] = 'Scegli le variazioni che si desidera importare'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f956917da1716add289f33a8869b85d4'] = 'Tema principale'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_1e3de51d693cd0c7e903bcf3769a0cdb'] = 'Deseleziona questo campo se non desideri installare il tema principale'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d0594793a76c7e694f6bf7d4fea06a99'] = 'Nome tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0205578268437a2c18d438b434b6d4cf'] = 'Directory tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_c49fbf2b822fd14929fd1fd76cdb0c96'] = 'Seleziona le variazioni che si desidera importare'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_46e95e2b620606d0e54fdf9094346f79'] = 'Nota: La directory della variazione sarà preceduto da cartella del tema.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dc87369c7dd7d760c8076a4e1a3805d0'] = 'Selezionare un tema da esportare'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d1baba351b02042982a133c4df5d4924'] = 'Esporta un tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5092965125a28a17f49ee460fbc1f62c'] = 'Seleziona un tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_0557cae4cf5b379e665910d701210f69'] = 'Esporta questo tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_73b423af0106343c060aefb660e79ff2'] = 'Selezionare un tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7961c4434751797a383d52d647e044d6'] = 'Importa dal computer'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_bc52857ec49d8de10e55171f5bbc7f2a'] = 'Archivio File'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_24ad8bfdfce09842a83f10d59a8ef01f'] = 'Dove si trova il file zip?'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dec0faa6eb19bd9120d12c5a876bd1cf'] = 'Importare dal web'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a33388a338ee2b199d66112369279558'] = 'Archivio URL'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_cd8d9cc19984ccf9d314eee5eebfc2cc'] = 'Importa da FTP'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_94f2371003860a92b12bf4c66b2851ac'] = 'Seleziona archivio'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_43eed730e20e1fc8e2245e20046733ea'] = 'Seleziona il file ZIP che vuoi usare (precedentemente caricato nella tua directory %s)'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ed5778790800282a0e2044e50ac20de3'] = 'Permessi negati. Prego impostare i permessi della cartella %s a 666'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ad8161d79988145440845b927e3708d4'] = 'Compila questo modulo per esportare il tema %s in un file ZIP'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_1031371f906a92891140f384d04b3421'] = 'Errore durante la generazione di archivio'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_2c19b34eebed37ccc288c518006615b3'] = 'C\'è un errore nella tua sintassi e-mail!'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_129b7dae66f0029381da64578a351198'] = 'C\'è un errore di sintassi URL!'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_87e0eaf3f9614cb904fafb0d4f4c1f56'] = 'File di estensione deve essere. Txt o. Pdf'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_550a06d4fd147c22a4c921036003abf6'] = 'È verificato un errore durante il caricamento di documentazione'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ecd8e7704f6f4f730f6a43bfb24a9546'] = 'Si prega di inserire un nome valido documentazione'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_623e4ca0275c19c3134b7290fdd19264'] = 'Si prega di inserire un nome valido autore'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a43f1054076c2389afd746ec3d5d1c71'] = 'Si prega di inserire un nome valido tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_03d105aa95f842fc54b18ca8a73109ca'] = 'Si prega di inserire un nome valido variazione tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_9891d2e13ad8b753833055c5809a733e'] = 'Errore di sintassi sul campo della versione. Solo cifre e punti sono ammessi e la compatibilità dovrebbe essere crescente o uguale.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_dd88d85745bba1abfa65cef79472da6a'] = 'Errore di sintassi sulla versione. Solo cifre e punti sono ammessi e compatibilità dovrebbe essere in aumento o pari.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_bf17ac149e2e7a530c677e9bd51d3fd2'] = 'Moduli'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_714af595b1403ed23ff51f27e863c9a2'] = 'Selezionare i moduli che si desidera esportare'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_fa20578667f2e569f2ed1da415126040'] = 'Si tratta di un elenco dei moduli installati che non sono nativi.'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a517747c3d12f99244ae598910d979c5'] = 'Autore'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_49ee3087348e8d44e1feda1917443987'] = 'Nome'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_15bbb9d0bbf25e8d2978de1168c749dc'] = 'Sito'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_d721757161f7f70c5b0949fdb6ec2c30'] = 'Tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_f4f10e7d35bef4e7b48e76ee4bdeae24'] = 'Il nome del tuo tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Descrizione'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_742ec436610daf7b51a1ba94039adf78'] = 'Inserisci una breve descrizione del tuo tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_34b6cd75171affba6957e308dcbd92be'] = 'Versione'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_7da6f328a4647adb2b96a01a6d7c05c4'] = 'Versione del tuo tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_333dfbe2bb5c64b140df4607935ec8be'] = 'Compatibile dal'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_e12167aa0a7698e6ebc92b4ce3909b53'] = 'Per'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a82cac3db0465cfc701f3765fd880019'] = 'Aggiungi documentazione'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_08e27f4e5511f4f6aa73557e6ad6df48'] = 'Aiuta l\'utente. Aggiungi un campo cliccando qui'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_a508df4b049c5b044cb4568b76b6c7e6'] = 'Aggiungi variazione'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_626bd6acdcd835a5d064ef6358124b6c'] = 'Seleziona un altro tema da includere altri e la sua compatibilità'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ac70412e939d72a9234cdebb1af5867b'] = 'Percorso'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_5da618e8e4b89c66fe86e32cdafde142'] = 'Da'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_3271e801d0a5db9dc2963a19ed9695d6'] = 'Scegli un tema'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_ea4788705e6873b424c65e91c2846b19'] = 'Annulla'; -$_MODULE['<{themeinstallator}prestashop>themeinstallator_abb381ee4077396e5d5d475b9022ba86'] = 'Genera l\'archivio ora!';