git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7522 b9a71923-0436-4b27-9f14-aed3839534dd

This commit is contained in:
rGaillard
2011-07-06 10:10:43 +00:00
parent 9ff675b1e2
commit 69f2f09dc5
4695 changed files with 0 additions and 339293 deletions
-91
View File
@@ -1,91 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
class AddConfToFile
{
public $fd;
public $file;
public $mode;
public $error = false;
public function __construct($file, $mode = 'r+')
{
$this->file = $file;
$this->mode = $mode;
$this->checkFile($file);
if ($mode == 'w' AND !$this->error)
if (!$res = @fwrite($this->fd, '<?php'."\n"))
$this->error = 6;
}
public function __destruct()
{
if (!$this->error)
@fclose($this->fd);
}
private function checkFile($file)
{
if (!$fd = @fopen($this->file, $this->mode))
$this->error = 5;
elseif (!is_writable($this->file))
$this->error = 6;
$this->fd = $fd;
}
public function writeInFile($name, $data)
{
if (!$res = @fwrite($this->fd,
'define(\''.$name.'\', \''.$this->checkString($data).'\');'."\n"))
{
$this->error = 6;
return false;
}
return true;
}
public function writeEndTagPhp()
{
if (!$res = @fwrite($this->fd, '?>'."\n")) {
$this->error = 6;
return false;
}
return true;
}
public function checkString($string)
{
if (get_magic_quotes_gpc())
$string = stripslashes($string);
if (!is_numeric($string))
{
$string = addslashes($string);
$string = strip_tags(nl2br($string));
}
return $string;
}
}
-215
View File
@@ -1,215 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
class ConfigurationTest
{
static function check($tests)
{
$res = array();
foreach ($tests AS $key => $test)
$res[$key] = self::run($key, $test);
return $res;
}
static function run($ptr, $arg = 0)
{
if (call_user_func(array('ConfigurationTest', 'test_'.$ptr), $arg))
return ('ok');
return ('fail');
}
// Misc functions
static function test_phpversion()
{
return version_compare(substr(phpversion(), 0, 3), '5.0', '>=');
}
static function test_mysql_support()
{
return function_exists('mysql_connect');
}
static function test_upload()
{
return ini_get('file_uploads');
}
static function test_fopen()
{
return ini_get('allow_url_fopen');
}
static function test_system($funcs)
{
foreach ($funcs AS $func)
if (!function_exists($func))
return false;
return true;
}
static function test_gd()
{
return function_exists('imagecreatetruecolor');
}
static function test_register_globals()
{
return !ini_get('register_globals');
}
static function test_gz()
{
if (function_exists('gzencode'))
return !(@gzencode('dd') === false);
return false;
}
// is_writable dirs
static function test_dir($dir, $recursive = false)
{
if (!file_exists($dir) OR !$dh = opendir($dir))
return false;
$dummy = rtrim($dir, '/').'/'.uniqid();
if (@file_put_contents($dummy, 'test'))
{
@unlink($dummy);
if (!$recursive)
return true;
}
elseif (!is_writable($dir))
return false;
if ($recursive)
{
while (($file = readdir($dh)) !== false)
if (@filetype($dir.$file) == 'dir' AND $file != '.' AND $file != '..')
if (!self::test_dir($dir.$file, true))
return false;
}
closedir($dh);
return true;
}
// is_writable files
static function test_file($file)
{
return (file_exists($file) AND is_writable($file));
}
static function test_config_dir($dir)
{
return self::test_dir($dir);
}
static function test_sitemap($dir)
{
return self::test_file($dir);
}
static function test_root_dir($dir)
{
return self::test_dir($dir);
}
static function test_admin_dir($dir)
{
return self::test_dir($dir);
}
static function test_img_dir($dir)
{
return self::test_dir($dir, true);
}
static function test_module_dir($dir)
{
return self::test_dir($dir, true);
}
static function test_tools_dir($dir)
{
return self::test_dir($dir);
}
static function test_cache_dir($dir)
{
return self::test_dir($dir);
}
static function test_tools_v2_dir($dir)
{
return self::test_dir($dir);
}
static function test_cache_v2_dir($dir)
{
return self::test_dir($dir);
}
static function test_download_dir($dir)
{
return self::test_dir($dir);
}
static function test_mails_dir($dir)
{
return self::test_dir($dir, true);
}
static function test_translations_dir($dir)
{
return self::test_dir($dir, true);
}
static function test_theme_lang_dir($dir)
{
if (!file_exists($dir))
return true;
return self::test_dir($dir, true);
}
static function test_theme_cache_dir($dir)
{
if (!file_exists($dir))
return true;
return self::test_dir($dir, true);
}
static function test_customizable_products_dir($dir)
{
return self::test_dir($dir);
}
static function test_virtual_products_dir($dir)
{
return self::test_dir($dir);
}
static function test_mcrypt()
{
return function_exists('mcrypt_encrypt');
}
}
-105
View File
@@ -1,105 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
include_once("../classes/Validate.php");
class LanguageManager
{
private $url_xml;
private $lang;
private $xml_file;
function __construct ($url_xml)
{
$this->loadXML($url_xml);
$this->setLanguage();
$this->getIncludeTradFilename();
}
private function loadXML($url_xml)
{
global $errors;
if (!$this->xml_file = simplexml_load_file($url_xml))
$errors = 'Error when loading XML language file : '.$url_xml;
}
public function getIdSelectedLang()
{
return $this->lang['id'];
}
public function getIsoCodeSelectedLang()
{
return $this->lang->idLangPS;
}
public function countLangs()
{
return sizeof($this->xml_file);
}
public function getAvailableLangs()
{
return $this->xml_file;
}
public function getSelectedLang()
{
return $this->lang;
}
private function getIdByHAL(){
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE']))
{
$FirstHAL = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
$iso = $FirstHAL[0];
if ($iso != "en-us")
foreach ($this->xml_file as $lang)
foreach ($lang->isos->iso as $anIso)
if ($anIso == $iso)
return $lang['id'];
}
else
return 0;
}
private function setLanguage()
{
if( isset($_GET['language']) AND Validate::isInt($_GET['language']))
$id_lang = (int)($_GET['language']);
if (!isset($id_lang))
$id_lang = ($this->getIdByHAL());
$this->lang = $this->xml_file->lang[(int)($id_lang)];
}
public function getIncludeTradFilename()
{
return ($this->lang == NULL) ? false : dirname(__FILE__).$this->lang['trad_file'];
}
}
-189
View File
@@ -1,189 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
class ToolsInstall
{
public static function checkDB ($srv, $login, $password, $name, $posted = true, $engine = false)
{
include_once(INSTALL_PATH.'/../classes/Validate.php');
include_once(INSTALL_PATH.'/../classes/Db.php');
include_once(INSTALL_PATH.'/../classes/MySQL.php');
if($posted)
{
// Check POST data...
$data_check = array(
!isset($_GET['server']) OR empty($_GET['server']),
!Validate::isMailName($_GET['server']),
!isset($_GET['type']) OR empty($_GET['type']),
!Validate::isMailName($_GET['type']),
!isset($_GET['name']) OR empty($_GET['name']),
!Validate::isMailName($_GET['name']),
!isset($_GET['login']) OR empty($_GET['login']),
!Validate::isMailName($_GET['login']),
!isset($_GET['password'])
);
foreach ($data_check AS $data)
if ($data)
return 8;
}
switch(MySQL::tryToConnect(trim($srv), trim($login), trim($password), trim($name), trim($engine)))
{
case 0:
if (MySQL::tryUTF8(trim($srv), trim($login), trim($password)))
return true;
return 49;
break;
case 1:
return 25;
break;
case 2:
return 24;
break;
case 3:
return 50;
break;
}
}
public static function getHttpHost($http = false, $entities = false)
{
$host = (isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : $_SERVER['HTTP_HOST']);
if ($entities)
$host = htmlspecialchars($host, ENT_COMPAT, 'UTF-8');
if ($http)
$host = 'http://'.$host;
return $host;
}
public static function sendMail($smtpChecked, $smtpServer, $content, $subject, $type, $to, $from, $smtpLogin, $smtpPassword, $smtpPort = 25, $smtpEncryption)
{
include(INSTALL_PATH.'/../tools/swift/Swift.php');
include(INSTALL_PATH.'/../tools/swift/Swift/Connection/SMTP.php');
include(INSTALL_PATH.'/../tools/swift/Swift/Connection/NativeMail.php');
$swift = NULL;
$result = NULL;
try
{
if($smtpChecked)
{
$smtp = new Swift_Connection_SMTP($smtpServer, $smtpPort, ($smtpEncryption == "off") ? Swift_Connection_SMTP::ENC_OFF : (($smtpEncryption == "tls") ? Swift_Connection_SMTP::ENC_TLS : Swift_Connection_SMTP::ENC_SSL));
$smtp->setUsername($smtpLogin);
$smtp->setpassword($smtpPassword);
$smtp->setTimeout(5);
$swift = new Swift($smtp);
}
else
{
$swift = new Swift(new Swift_Connection_NativeMail());
}
$message = new Swift_Message($subject, $content, $type);
if ($swift->send($message, $to, $from))
{
$result = true;
}
else
{
$result = 999;
}
$swift->disconnect();
}
catch (Swift_Connection_Exception $e)
{
$result = $e->getCode();
}
catch (Swift_Message_MimeException $e)
{
$result = $e->getCode();
}
return $result;
}
public static function getNotificationMail($shopName, $shopUrl, $shopLogo, $firstname, $lastname, $password, $email)
{
$iso_code = $_GET['isoCodeLocalLanguage'];
$pathTpl = INSTALL_PATH.'/../mails/en/employee_password.html';
$pathTplLocal = INSTALL_PATH.'/../mails/'.$iso_code.'/employee_password.html';
$content = (file_exists($pathTplLocal)) ? file_get_contents($pathTplLocal) : file_get_contents($pathTpl);
$content = str_replace('{shop_name}', $shopName, $content);
$content = str_replace('{shop_url}', $shopUrl, $content);
$content = str_replace('{shop_logo}', $shopLogo, $content);
$content = str_replace('{firstname}', $firstname, $content);
$content = str_replace('{lastname}', $lastname, $content);
$content = str_replace('{passwd}', $password, $content);
$content = str_replace('{email}', $email, $content);
return $content;
}
public static function getLangString($idLang)
{
switch ($idLang)
{
case 'en' : return 'English (English)';
case 'fr' : return 'Français (French)';
}
}
static function strtolower($str)
{
if (function_exists('mb_strtolower'))
return mb_strtolower($str, 'utf-8');
return strtolower($str);
}
static function strtoupper($str)
{
if (function_exists('mb_strtoupper'))
return mb_strtoupper($str, 'utf-8');
return strtoupper($str);
}
static function ucfirst($str)
{
return self::strtoupper(self::substr($str, 0, 1)).self::substr($str, 1);
}
static function substr($str, $start, $length = false, $encoding = 'utf-8')
{
if (function_exists('mb_substr'))
return mb_substr($str, $start, ($length === false ? self::strlen($str) : $length), $encoding);
return substr($str, $start, $length);
}
static function strlen($str)
{
if (function_exists('mb_strlen'))
return mb_strlen($str, 'utf-8');
return strlen($str);
}
}
File diff suppressed because it is too large Load Diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 908 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 719 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 714 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 752 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 697 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 B

File diff suppressed because it is too large Load Diff
-285
View File
@@ -1,285 +0,0 @@
<?php
$_LANG['Installer'] = 'Installation';
$_LANG['Updater'] = 'Aktualisierung';
$_LANG['.'] = '.';
$_LANG['A Prestashop database already exists, please drop it or change the prefix.'] = 'Eine PrestaShop Datenbank existiert bereits mit diesem Präfix, Sie müssen sie manuell löschen oder das Präfix ändern.';
$_LANG['An email has been sent!'] = 'Eine E-Mail wurde verschickt!';
$_LANG['Access and configure PHP 5.0+ on your hosting server'] = 'Prüfen Sie, ob Ihr Provider PHP5 anbietet und/ oder aktivieren Sie es ggfs.';
$_LANG['An error occurred while resizing the picture.'] = 'Bei der Änderung des Bildmaßstabs ist ein Fehler aufgetreten.';
$_LANG['An error occurred while sending email, please verify your parameters.'] = 'Beim Senden der E-Mail ist ein Fehler aufgetreten, bitte prüfen Sie Ihre Einstellungen.';
$_LANG['Available shop languages'] = 'Verfügbare Sprachen';
$_LANG['Back'] = 'Zurück';
$_LANG['Back up your database and all application files (update only)'] = 'Speichern Sie Ihre Datenbank und Dateien (nur im Falle eines Update von PrestaShop)';
$_LANG['Please backup the database and application files.'] = 'Bevor Sie fortfahren, sollten Sie eine Sicherungskopie Ihrer Daten vornehmen. Bitte kopieren Sie alle Dateien von der Website in einen Backup-Ordner und nehmen Sie zusätzlich eine Sicherungskopie Ihrer Datenbank vor. Wenn Sie die versteckte Datei ".htaccess" manuell am Root Ihres Shops bearbeitet haben, achten Sie darauf, diese ebenfalls zu speichern.';
$_LANG['By default, the PHP \'mail()\' function is used'] = 'Die Funktion PHP \'mail()\' wird standardmäßig verwendet.';
$_LANG['Can\'t create settings file, if /config/settings.inc.php exists, please give the public write permissions to this file, else please create a file named settings.inc.php in config directory.'] = 'Fehler beim Erstellen der Konfigurationsdatei, wenn die Datei /config/ settings.inc.php existiert, geben Sie ihr bitte die offiziellen Schreibrechte, ansonsten erstellen Sie bitte eine Datei settings.inc.php im Konfigurationsverzeichnis (/config/)';
$_LANG['Can\'t find the sql upgrade files. Please verify that the /install/sql/upgrade folder is not empty)'] = 'Kann eine der SQL-Update-Dateien nicht finden. Bitte stellen Sie sicher, dass der Ordner /install/sql/upgrade nicht leer ist.';
$_LANG['Choose the installer language:'] = 'In welcher Sprache möchten Sie das installieren?';
$_LANG['Community Forum'] = 'unser Community-Forum';
$_LANG['Configure SMTP manually (advanced users only)'] = 'Konfigurieren des SMTP-Sendens (nur für Experten)';
$_LANG['Configure your database by filling out the following fields:'] = 'Konfigurieren Sie Ihre Datenbank, indem Sie folgende Felder ausfüllen:';
$_LANG['Congratulation, your online shop is now ready!'] = 'Herzlichen Glückwunsch, Ihr Shop installiert!';
$_LANG['Contact us'] = 'Kontaktieren Sie uns!';
$_LANG['Create new files and folders allowed'] = 'Erstellen neuer Ordner und Dateien zugelassen';
$_LANG['Data integrity is not valided. Hack attempt?'] = 'Die Integrität der Daten ist nicht bestätigt.';
$_LANG['Database Server is available but database is not found'] = 'Der Datenbank-Server steht zur Verfügung, aber die Datenbank wurde nicht gefunden';
$_LANG['Database Server is not found. Please verify the login, password and server fields.'] = 'Der Datenbank-Server wurde nicht gefunden, bitte prüfen Sie Ihren Benutzernamen oder den Server-Namen.';
$_LANG['Database configuration'] = 'Konfiguration der Datenbank';
$_LANG['Database connection is available!'] = 'Die Datenbank wurde gefunden!';
$_LANG['Database is created!'] = 'Datenbank installiert!';
$_LANG['Database name:'] = 'Name der Datenbank:';
$_LANG['Disclaimer'] = 'Warnung';
$_LANG['Documentation Wiki'] = 'Wiki-Dokumentation';
$_LANG['E-mail:'] = 'E-Mail:';
$_LANG['E-mail address:'] = 'E-Mail-Adresse:';
$_LANG['E-mail delivery set-up'] = 'Sendeeinstellungen für E-Mails';
$_LANG['Encryption:'] = 'Verschlüsselung:';
$_LANG['Error!'] = 'Fehler!';
$_LANG['Error while creating the /config/settings.inc.php file.'] = 'Fehler beim Erstellen der Datei /config/settings.inc.php.';
$_LANG['Error while inserting content into the database'] = 'Fehler beim Einfügen in die Datenbank';
$_LANG['Error while inserting data in the database:'] = 'Fehler beim Einfügen in die Datenbank:';
$_LANG['Error while loading sql upgrade file.'] = 'Fehler beim Öffnen der SQL-Datei';
$_LANG['Error:'] = 'Fehler:';
$_LANG['Errors while updating...'] = 'Fehler bei der Aktualisierung ...';
$_LANG['Failed to write file to disk'] = 'Kann die Datei nicht auf die Festplatte schreiben';
$_LANG['Fields are different!'] = 'Die Felder sind unterschiedlich!';
$_LANG['File upload allowed'] = 'Datei Senden erlaubt';
$_LANG['File upload stopped by extension'] = 'Datei Senden unterbrochen aufgrund falscher Erweiterung';
$_LANG['First name:'] = 'Vorname:';
$_LANG['For more information, please consult our'] = 'Weitere Informationen finden Sie auf unserer';
$_LANG['GD Library installed'] = 'GD-Bibliothek installiert';
$_LANG['GZIP compression is on (recommended)'] = 'GZIP-Kompression ist aktiviert (empfohlen)';
$_LANG['Here are your shop information. You can modify them once logged in.'] = 'Hier sind Ihre Login-Daten, Sie können sie später im Back-Office ändern.';
$_LANG['However, you must know how to do the following manually:'] = 'Nichtsdestotrotz können Sie die folgenden Aufgaben manuell durchführen:';
$_LANG['I agree to the above terms and conditions.'] = 'Ich stimme den oben genannten Vertragsbedingungen zu.';
$_LANG['If you have any questions, please visit our '] = 'Wenn Sie je Fragen haben sollten, werfen Sie einfach einen Blick auf unsere ';
$_LANG['Impossible the access the a MySQL content file.'] = 'Kann nicht auf den Inhalt einer *.sql-Datei zugreifen.';
$_LANG['Impossible to read the content of a MySQL content file.'] = 'Kann den Inhalt einer *.sql-Datei nicht lesen.';
$_LANG['Impossible to send the email!'] = 'Kann E-Mail nicht senden!';
$_LANG['Impossible to upload the file!'] = 'Kann Datei nicht senden!';
$_LANG['Impossible to write the image /img/logo.jpg. If this image already exists, please delete it.'] = 'Kann Bild /img/logo.jpg nicht schreiben. Falls es bereits existiert, löschen Sie es bitte manuell.';
$_LANG['Installation : complete install of the PrestaShop Solution'] = 'Komplette Installation von PrestaShop';
$_LANG['Installation is complete!'] = 'Installation abgeschlossen!';
$_LANG['Installation method'] = 'Installationsmethode';
$_LANG['Last name:'] = 'Name:';
$_LANG['License Agreement'] = 'Lizenzvertrag';
$_LANG['Login:'] = 'Benutzername:';
$_LANG['Merchant info'] = 'Informationen über den Verkäufer';
$_LANG['Missing a temporary folder'] = 'Der temporäre Ordner Ihrer empfangenen Dateisendungen fehlt. Bitte wenden Sie sich an Ihren Systemadministrator.';
$_LANG['MySQL support is on'] = 'Die MySQL-Unterstützung ist aktiviert';
$_LANG['Next'] = 'Weiter';
$_LANG['No error code available.'] = 'Unbekannter Fehler.';
$_LANG['No file was uploaded.'] = 'Es ist keine Datei gesandt worden';
$_LANG['No upgrade is possible.'] = 'Kein Update verfügbar';
$_LANG['None'] = 'Keine';
$_LANG['Official forum'] = 'Offizielles Forum';
$_LANG['One or more errors have occurred...'] = 'Ein oder mehrere Fehler sind aufgetreten';
$_LANG['Open external URLs allowed'] = 'Öffnung externer URLs erlaubt';
$_LANG['Optional languages'] = 'Nicht angebotene Sprachen';
$_LANG['Optional set-up'] = 'Optionale Einstellungen';
$_LANG['PHP \'mail()\' function is available'] = 'Die Funktion PHP \'mail()\' ist verfügbar';
$_LANG['PHP \'mail()\' function is unavailable'] = 'Die Funktion PHP \'mail()\' ist nicht verfügbar';
$_LANG['PHP 5.0 or later installed'] = 'PHP 5.0 oder höher installiert';
$_LANG['PHP parameters:'] = 'PHP-Einstellungen:';
$_LANG['PHP register global option is off (recommended)'] = 'Die PHP-Option "register global" ist deaktiviert (empfohlen)';
$_LANG['Password:'] = 'Kennwort:';
$_LANG['Please allow 5-15 minutes to complete the installation process.'] = 'Der Installationsprozess dauert nur ein paar Minuten!';
$_LANG['Please set a SMTP login'] = 'Geben Sie einen SMTP-Benutzernamen ein';
$_LANG['Please set a SMTP password'] = 'Geben Sie das SMTP-Kennwort ein';
$_LANG['Please set a SMTP server name'] = 'Geben Sie einen SMTP-Server-Namen ein';
$_LANG['Please set a database login'] = 'Geben Sie die SQL-Anmeldung ein';
$_LANG['Please set a database name'] = 'Geben Sie den Namen der Datenbank ein';
$_LANG['Please set a database server name'] = 'Geben Sie den Namen des Datenbank-Servers ein';
$_LANG['Port:'] = 'Port:';
$_LANG['PrestaShop ".INSTALL_VERSION." Installer'] = 'Installation der PrestaShop-Version "INSTALL_VERSION."';
$_LANG['PrestaShop is ready!'] = 'PrestaShop ist fertig!';
$_LANG['Re-type to confirm:'] = 'Bestätigen Sie das Kennwort:';
$_LANG['Ready, set, go!'] = 'PrestaShop ist installiert!';
$_LANG['Receive notifications by e-mail'] = 'Meine Informationen per E-Mail erhalten';
$_LANG['Refresh these settings'] = 'Erneut überprüfen';
$_LANG['Required field'] = 'Pflichtfelder';
$_LANG['Required set-up. Please verify the following checklist items are true.'] = 'Bitte vergewissern Sie sich, dass jede der folgenden Einstellungen bestätigt ist.';
$_LANG['SMTP connection is available!'] = 'SMTP-Verbindung verfügbar!';
$_LANG['SMTP connection is unavailable'] = 'SMTP-Verbindung nicht verfügbar';
$_LANG['SMTP server:'] = 'SMTP-Server:';
$_LANG['SQL errors have occurred.'] = 'Es sind SQL-Fehler aufgetreten.';
$_LANG['Select the different languages available for your shop'] = 'Wählen Sie die verschiedenen Sprachen, die Ihr Shop den Kunden anbieten soll';
$_LANG['Send me a test email!'] = 'Eine Test-E-Mail an mich senden!';
$_LANG['Server:'] = 'Server:';
$_LANG['Set permissions on folders & subfolders using Terminal or an FTP client'] = 'Festlegen von Berechtigungen für Ordner und Unterordner über einen FTP-Client';
$_LANG['Shop Configuration'] = 'Shop-Konfiguration';
$_LANG['Shop logo'] = 'Shop-Logo';
$_LANG['Shop name:'] = 'Name des Shops:';
$_LANG['Shop password:'] = 'Kennwort des Shops:';
$_LANG['Shop\'s default language'] = 'Standard-Sprache';
$_LANG['Shop\'s languages'] = 'Sprache des Shops';
$_LANG['System and permissions'] = 'System und Berechtigungen';
$_LANG['System Compatibility'] = 'Systemkompatibilität';
$_LANG['System Configuration'] = 'Systemkonfiguration';
$_LANG['Tables prefix:'] = 'Tabellen-Präfixe:';
$_LANG['Test message - Prestashop'] = 'Installation von PrestaShop - Test des E-Mail-Servers';
$_LANG['The PrestaShop Installer will do most of the work in just a few clicks.'] = 'Der PrestaShop Installer führt die ganze Arbeit mit ein paar Klicks durch.';
$_LANG['The config/settings.inc.php file was not found. Did you delete or rename this file?'] = 'Die Datei config/settings.inc.php wurde nicht gefunden. Haben Sie sie gelöscht oder umbenannt?';
$_LANG['The config/defines.inc.php file was not found. Where did you move it?'] = 'Die Datei config/defines.inc.php wurde nicht gefunden. Wo ist sie?';
$_LANG['The password is incorrect (alphanumeric string at least 8 characters).'] = 'Falsches Kennwort (alpha-numerischer String aus mindestens 8 Zeichen)';
$_LANG['The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form'] = 'Die gesendete Datei überschreitet die maximal zulässige Größe.';
$_LANG['The uploaded file exceeds the upload_max_filesize directive in php.ini'] = 'Die gesendete Datei überschreitet die maximal zulässige Größe.';
$_LANG['The uploaded file was only partially uploaded'] = 'Die Datei wurde teilweise gesendet.';
$_LANG['There is no older version. Did you delete or rename the config/settings.inc.php file?'] = 'Keine frühere Version erkannt. Haben Sie die Datei settings.inc.php aus dem Ordner config gelöscht oder umbenannt?';
$_LANG['This PrestaShop database already exists. Please revalidate your authentication informations to the database.'] = 'Diese PrestaShop-Datenbank existiert schon, bitte bestätigen Sie der Datenbank erneut Ihre Kennungen.';
$_LANG['This application need you to activate Javascript to correctly work.'] = 'JavaScript ist erforderlich, um diese Anwendung auszuführen.';
$_LANG['This email adress is wrong!'] = 'Falsche Adresse!';
$_LANG['This installer is too old.'] = 'Der Installer ist zu alt.';
$_LANG['This is a test message, your server is now available to send email'] = 'Dies ist eine Testnachricht, Ihr E-Mail-Server funktioniert korrekt.';
$_LANG['This is not a valid file name.'] = 'Dies ist kein gültiger Name.';
$_LANG['This is not a valid image file.'] = 'Dies ist kein gültiges Bild.';
$_LANG['Too long!'] = 'Zu lang!';
$_LANG['Unfortunately,'] = 'Leider';
$_LANG['Update is complete!'] = 'Aktualisierung beendet!';
$_LANG['Upgrade: get the latest stable version!'] = 'Aktualisierung: Installieren Sie die neueste Version von PrestaShop';
$_LANG['Verify now!'] = 'Testen der SQL-Verbindung';
$_LANG['Verify system compatibility'] = 'Systemkompatibilität';
$_LANG['WARNING: For more security, you must delete the \'install\' folder and readme files (readme_fr.txt, readme_en.txt, readme_es.txt, readme_de.txt, readme_it.txt, CHANGELOG).'] = 'VORSICHT: Aus Sicherheitsgründen löschen Sie bitte den Ordner \'/install\' und die readme-Dateien (readme_fr.txt, readme_en.txt, readme_es.txt, readme_de.txt, readme_it.txt, CHANGELOG).';
$_LANG['Warning: a manual backup is HIGHLY recommended before continuing!'] = 'Vorsicht: eine manuelle Sicherung ist UNERLÄSSLICH, bevor mit der Aktualisierung der PrestaShop-Anwendung begonnen wird, um jeglichen versehentlichen Datenverlust zu verhindern';
$_LANG['Welcome'] = 'Willkommen';
$_LANG['Welcome to the PrestaShop '.INSTALL_VERSION.' Installer.'] = 'Bienvenue dans l\'installation de PrestaShop '.INSTALL_VERSION;
$_LANG['When your files and database are saving in an other support, please certify that your shop is really backed up.'] = 'Sobald die Anwendungsdateien und Ihre Datenbank gesichert sind, werden wir Sie um Bestätigung bitten. Damit übernehmen Sie die gesamte Haftung eines möglichen Datenverlusts durch die Aktualisierung der PrestaShop-Anwendung.';
$_LANG['Write permissions on folders (and subfolders):'] = 'Schreibberechtigung für die Ordner (und deren Unterordner):';
$_LANG['Write permissions on files and folders:'] = 'Schreibberechtigung für die Dateien und Ordner:';
$_LANG['Write permissions on folders:'] = 'Schreibberechtigung für die Ordner';
$_LANG['You already have the ".INSTALL_VERSION." version.'] = 'Sie besitzen bereits die Version. ".INSTALL_VERSION."';
$_LANG['You have just installed and configured PrestaShop as your online shop solution. We wish you all the best with the success of your online shop.'] = 'Sie haben gerade Ihren Online-Shop installiert und konfiguriert, wir danken Ihnen.';
$_LANG['You have just updated and configured PrestaShop as your online shop solution. We wish you all the best with the success of your online shop.'] = 'Sie haben gerade Ihren Online-Shop aktualisiert wir danken Ihnen.';
$_LANG['Your installation is finished!'] = 'Die Installation ist abgeschlossen!';
$_LANG['Your update is finished!'] = 'Das Update ist abgeschlossen!';
$_LANG['and/or'] = 'und / oder';
$_LANG['enter@your.email'] = 'GebenSie@Ihreemail.ein';
$_LANG['online documentation'] = 'Online-Dokumentation';
$_LANG['installed version detected'] = 'aktuelle Version erkannt';
$_LANG['recommended dimensions: 230px X 75px'] = 'Empfohlene Abmessungen: 230px x 75px';
$_LANG['view the log'] = 'Bericht ansehen';
$_LANG['(no old version detected)'] = '(keine alte Version erkannt)';
$_LANG['Can\'t write settings file, please create a file named settings.inc.php in config directory.'] = 'Die Settings-Datei konnte nicht geschrieben werden, erstellen Sie bitte eine Datei namens settings.inc.php in Ihrem Konfigurationsverzeichnis.';
$_LANG['Cannot convert your database\'s data to utf-8.'] = 'Kann die Daten aus Ihrer Datenbank nicht in UTF-8 zu konvertieren.';
$_LANG['Your database server does not support the utf-8 charset.'] = 'Ihr Datenbank-Server unterstützt keinen UTF-8-Zeichensatz.';
$_LANG['Need help?'] = 'Brauchen Sie Hilfe?';
$_LANG['All tips and advice about PrestaShop'] = 'Alle Tipps und Tricks rund um PrestaShop';
$_LANG['Forum'] = 'Forum';
$_LANG['Blog'] = 'Blog';
$_LANG['Back Office'] = 'Back Office';
$_LANG['Manage your store with your back office. Manage your orders and customers, add modules, change your theme, etc...'] = 'Verwalten Sie Ihren Shop mit Ihrem Back-Office. Verwalten Sie Ihre Bestellungen und Kunden, fügen Sie Module hinzu, ändern Sie Ihr Thema, usw. ...';
$_LANG['Manage your store'] = 'Verwalten Sie Ihren Shop';
$_LANG['Front Office'] = 'Front Office';
$_LANG['Find your store as your future customers will see!'] = 'Sehen Sie, wie Ihr Shop später für Ihre Kunden aussieht!';
$_LANG['Discover your store'] = 'Meinen Shop entdecken';
$_LANG['Did you know?'] = 'Wussten Sie schon?';
$_LANG['Prestashop and community offers over 40 different languages for free download on'] = 'Prestashop und seine Community bietet über 40 verschiedene Sprachen zum kostenlosen Download auf';
$_LANG['Default country:'] = 'Standard-Land:';
$_LANG['Shop\'s timezone:'] = 'Zeitzone des Shops:';
$_LANG['Your configuration is valid, click next to continue!'] = 'Ihre Konfiguration ist gültig, <br /> klicken Sie auf Weiter zum Fortfahren!';
$_LANG['Your configuration is invalid. Please fix the issues below:'] = 'Ihre Konfiguration ist nicht gültig, <br /> bitte beheben Sie diese Probleme:';
$_LANG['You have to create a database, help available in readme_en.txt'] = 'Sie müssen zunächst eine Datenbank erstellen (Hilfe in der Datei readme.txt verfügbar)';
$_LANG['If you check this box and your mail configuration is wrong, your installation might be blocked. If so, please uncheck the box to go to the next step.'] = 'Diese Option kann hinderlich sein, wenn Ihre E-Mail-Konfiguration falsch ist, bitte deaktivieren Sie sie, wenn Sie nicht zum nächsten Schritt gehen können.';
$_LANG['Mcrypt is available (recommended)'] = 'Mcrypt ist verfügbar (empfohlen)';
$_LANG['Your MySQL server doesn\'t support this engine, please use another one like MyISAM'] = 'Diese Datenbank-Engine wird nicht unterstützt, bitte wählen Sie eine andere als MyISAM';
$_LANG['Adult'] = 'Erotik und Dessous';
$_LANG['Animals and Pets'] = 'Tiere';
$_LANG['Art and Culture'] = 'Kultur und Freizeit';
$_LANG['Babies'] = 'Baby-Artikel';
$_LANG['Beauty and Personal Care'] = 'Gesundheit und Schönheit';
$_LANG['Cars'] = 'Auto und Motorrad';
$_LANG['Computer Hardware and Software'] = 'Computer & Software';
$_LANG['Download'] = 'Download';
$_LANG['Fashion and accessories'] = 'Kleidung und Accessoires';
$_LANG['Flowers, Gifts and Crafts'] = 'Blumen und Geschenke';
$_LANG['Food and beverage'] = 'Lebensmittel und Gastronomie';
$_LANG['HiFi, Photo and Video'] = 'Hifi, Foto und Video';
$_LANG['Home and Garden'] = 'Haus & Garten';
$_LANG['Home Appliances'] = 'Haushaltsgeräte';
$_LANG['Jewelry'] = 'Schmuck';
$_LANG['Mobile and Telecom'] = 'Telefonie und Kommunikation';
$_LANG['Services'] = 'Dienstleistungen';
$_LANG['Shoes and accessories'] = 'Schuhe und Accessoires';
$_LANG['Sport and Entertainment'] = 'Sport und Freizeit';
$_LANG['Travel'] = 'Reise und Tourismus';
$_LANG['Main activity:'] = 'Haupttätigkeit';
$_LANG['-- Please choose your main activity --'] = '- Wählen Sie eine Tätigkeit --';
$_LANG['A question about PrestaShop or issues during installation or upgrade? Call us!'] = 'Eine Frage zu PrestaShop oder ein Problem bei der Installation oder beim Upgrade? Rufen Sie uns an!';
$_LANG['Invalid catalog mode'] = 'Feld Katalog-Modus ungültig';
$_LANG['Catalog mode:'] = 'Katalog-Modus:';
$_LANG['Yes'] = 'Ja';
$_LANG['No'] = 'Nein';
$_LANG['If you activate this feature, all purchase features will be disabled. You can activate this feature later in your back office'] = 'Wenn Sie diese Option aktivieren, werden alle Kauf-Funktionen deaktiviert. Sie können diese Option später in Ihrem Back-Office aktivieren';
$_LANG['the already installed version detected is too recent, no update available'] = 'Die bereits installierte Version, die erkannt wurde, ist neu, keine Updates verfügbar';
$_LANG['This information isn\'t required, it will be used for statistical purposes. This information doesn\'t change anything in your store.'] = 'Diese Information ist nicht erforderlich, sie wird zu statistischen Zwecken verwendet. Diese Information ändert nichts in Ihrem Shop.';
$_LANG['Invalid shop name'] = 'Ungültiger Shopname';
$_LANG['Your firstname contains some invalid characters'] = 'Ihr Vorname enthält ungültige Zeichen';
$_LANG['Your lastname contains some invalid characters'] = 'Ihr Nachname enthält ungültige Zeichen';
$_LANG['(FREE)'] = '(KOSTENLOS)';
$_LANG['(FREE too!)'] = '(ebenfalls KOSTENLOS!)';
$_LANG['Shop configuration'] = 'Shop-Konfiguration';
$_LANG['Database Engine:'] = 'Datenbank-Engine';
$_LANG['I certify that I backed up my database and application files. I assume all responsibility for any data loss or damage related to this upgrade.'] = 'Ich bestätige, dass ich meine Datenbank und meine Anwendungsdateien durch ein Backup gesichert habe. Ich übernehme die volle Verantwortung für jeglichen Datenverlust oder jegliche Datenbeschädigung, die im Zusammenhang mit diesem Upgrade stehen.';
$_LANG['The file /img/logo.jpg is not writable, please CHMOD 755 this file or CHMOD 777'] = 'Die Datei /img/logo.jpg kann nicht geschrieben werden, bitte ändern Sie die Dateirechte mit CHMOD 755 oder CHMOD 777';
$_LANG['If you do not know how to enable it, use our turnkey solution PrestaBox at'] = 'Wenn Sie nicht wissen, wie Sie es aktivieren müssen, nutzen Sie unsere Fertiglösung PrestaBox';
$_LANG['If you do not know how to fix these issues, use turnkey solution PrestaBox at'] = 'Wenn Sie nicht wissen, wie Sie diese Themen festlegen können, nutzen Sie die Fertiglösung PrestaBox';
$_LANG['the already installed version detected is too old, no more update available'] = 'Die bereits installierte erkannte Version ist zu alt, es ist kein Update mehr verfügbar';
$_LANG['Simple mode: Basic installation'] = 'Einfacher Modus: Grundinstallation';
$_LANG['Full mode: includes'] = 'Komplettmodus: beinhaltet';
$_LANG['100+ additional modules'] = 'über 100 zusätzliche Module';
$_LANG['and demo products'] = 'und Demo-Produkte';
$_LANG['Installation type'] = 'Installationstyp';
$_LANG['Upgrade in progress'] = 'Upgrade läuft';
$_LANG['Current query:'] = 'Aktueller Satz:';
$_LANG['Details about this upgrade'] = 'Mehr über das Upgrade';
$_LANG['Thank you, you will be able to continue the upgrade process by clicking on the "Next" button.'] = '';
$_LANG['PrestaShop is upgrading your shop one version after the other, the following upgrade files will be processed:'] = '';
$_LANG['Upgrade file'] = 'Upgrade-Datei';
$_LANG['Modifications to process'] = 'Änderungen zum Durchführen';
$_LANG['(major)'] = '(wichtig)';
$_LANG['TOTAL'] = '(GESAMT)';
$_LANG['Estimated time to complete the'] = 'Verbliebene Zeit zum Abschluß von';
$_LANG['modifications:'] = 'Modifikationen';
$_LANG['minutes'] = 'Minuten';
$_LANG['minute'] = 'Minute';
$_LANG['seconds'] = 'Sekunden';
$_LANG['second'] = 'Sekunde';
$_LANG['Depending on your server and the size of your shop'] = 'Anhängig vom Server und der Größer Ihres Shops';
$_LANG['You did not update your shop for a while,'] = 'Sie haben Ihren Shop seit Längerem nicht upgedatet,';
$_LANG['major releases have been made available since.'] = 'wichtige Neuerungen wurden implementiert seit';
$_LANG['This is not a problem however the update may take several minutes, try to update your shop more frequently.'] = 'Das ist unwesentlich, das Upgrade kann einige Minuten dauern, versuchen Sie, Ihren Shop öfert zu updaten.';
$_LANG['No files to process, this might be an error.'] = 'Keine Dateien zum Verarbeiten, womöglich ein Fehler';
$_LANG['Hosting parameters'] = 'Hosting Eigenschaften';
$_LANG['PrestaShop tries to automatically set the best settings for your server in order the update to be successful.'] = 'Prestashop versucht automatisch, die besten Einstellungen auf dem Server zu machen, damit das Update erfolgreich verläuft.';
$_LANG['PHP parameter'] = 'PHP Parameter';
$_LANG['Description'] = 'Beschreibung';
$_LANG['Current value'] = 'Aktueller Wert';
$_LANG['Maximum allowed time for the upgrade'] = 'Maximale zugelassene Zeit für das Update';
$_LANG['Maximum memory allowed for the upgrade'] = 'Maximal zugelassener Speichern für das Update';
$_LANG['All your settings seem to be OK, go for it!'] = 'Alle Einstellungen scheinen zu stimmen, es kann losgehen!';
$_LANG['Let\'s go!'] = 'Los!';
$_LANG['Click on the "Next" button to start the upgrade, this can take several minutes,'] = 'Klicken Sie das "Weiter"-Button um das Upgrade zu starten, es könne einige Minuten dauern.';
$_LANG['do not close the window and be patient.'] = 'bitte schließen Sie das Fenster nicht.';
$_LANG['Your update is completed!'] = 'Ihr Upgrade ist abgeschlossen!';
$_LANG['Your shop version is now'] = 'Ihre Shopversion ist nun';
$_LANG['New features in PrestaShop v'] = 'Neue Features in Prestashop v';
$_LANG['Beware, your settings look correct but are not optimal, if you encounter problems (upgrade too long, memory error...), please ask your hosting provider to increase the values of these parameters (max_execution_time & memory_limit).'] = 'Achtung, Ihre Einstellungen sind zwar korrekt, aber nicht optimal. Sollten während des Updates Probleme auftreten (Ausführungszeit, Speicherlimit usw.) kontaktieren Sie bitte Ihr Hostingunternehmen, damit diese Einstellungen angepasst werden (max_execution_time & memory_limit) ';
$_LANG['We strongly recommend that you inform your hosting provider to modify the settings before process to the update.'] = 'Wir empfehlen ausdrücklich, Ihren Hostingprovider zu kontaktieren, um die Einstellungen für das Update anzupassen';
$_LANG['Module compatibility'] = 'Modulkompatibilität';
$_LANG['It\'s dangerous to keep non-native modules activated during the update. If you really want to take this risk, uncheck the following box.'] = 'Es wird nicht empfohlen, fremde Module während des Updates aktiviert zu lassen. Wenn Sie trotzdem fortfahren wollen, entfernen Sie die Markierung in der Checkbox';
$_LANG['You will be able to manually reactivate them in your back-office, once the update process has succeeded.'] = 'Sie können sie später im Adminbereich aktivieren, nachdem das Update abgeschlossen ist.';
$_LANG['Ok, please desactivate the following modules, I will reactivate them later.'] = 'ok, bitte folgende Module deaktivieren (sie werden später wieder aktiviert)';
$_LANG['Theme compatibility'] = 'Themenkompatibilität';
$_LANG['Before updating, you need to check that your theme is compatible with version'] = 'Um fortzufahren müssen Sie bestätigen, dass Ihr Thema mit der aktuellen Version kompatibel ist';
$_LANG['of PrestaShop.'] = 'von Prestashop';
$_LANG['Link to the validator'] = 'Link zum Validator';
$_LANG['Online Theme Validator'] = 'Online Themenvalidator';
$_LANG['If your theme is not valid, you may experience some problems in your front-office aspect, but don\'t panic ! To solve this, you can make it compatible by correcting the validators errors or by using a theme compatible with '] = 'Sollte Ihr Thema nicht kompatibel sein, könnten einige Probleme im Front-End auftreten. Sie können die Kompatibilität wieder einstellen, indem Sie im Backend Unter Einstellungen die entsprechende Einstellung treffen';
$_LANG['version'] = 'Version';
$_LANG['In this aim, use our'] = 'Verwenden Sie dazu unseren';
-282
View File
@@ -1,282 +0,0 @@
<?php
$_LANG['Installer'] = 'Instalación';
$_LANG['Updater'] = 'Actualizatión';
$_LANG['.'] = '.';
$_LANG['A Prestashop database already exists, please drop it or change the prefix.'] = 'Ya existe una base de datos PrestaShop con este prefijo, debe eliminarla manualmente o cambiar el prefijo.';
$_LANG['An email has been sent!'] = '¡Se ha enviado un correo electrónico!';
$_LANG['Access and configure PHP 5.0+ on your hosting server'] = 'Comprobar que su alojamiento web propone PHP5 y/o activarlo';
$_LANG['An error occurred while resizing the picture.'] = 'Se ha producido un error al cambiar el tamaño de la imagen.';
$_LANG['An error occurred while sending email, please verify your parameters.'] = 'Se ha producido un error al enviar el correo electrónico, gracias por verificar la configuración.';
$_LANG['Available shop languages'] = 'Elija idioma';
$_LANG['Back'] = 'Anterior';
$_LANG['Back up your database and all application files (update only)'] = 'Salvaguardar su base de datos y sus archivos (únicamente en caso de actualización de PrestaShop)';
$_LANG['Please backup the database and application files.'] = 'Antes de continuar, debe hacer una copia de sus datos. Por favor copie todos los archivos desde el sitio en una carpeta de copia de seguridad, y guarde su base de datos.';
$_LANG['By default, the PHP \'mail()\' function is used'] = 'Por defecto, se utilizará la función PHP \'mail()\'';
$_LANG['Can\'t create settings file, if /config/settings.inc.php exists, please give the public write permissions to this file, else please create a file named settings.inc.php in config directory.'] = 'Error en la creación del archivo de configuración, si el archivo /config/settings.inc.php existe, por favor dele derechos púplicos de\escritura; si no, cree un archivo settings.inc.php en el repertorio de configuración (/config/)';
$_LANG['Can\'t find the sql upgrade files. Please verify that the /install/sql/upgrade folder is not empty)'] = 'Imposible encontrar uno de los archivos de puesta al día SQL. Por favor, compruebe que el archivo /install/sql/upgrade no está vacío.';
$_LANG['Choose the installer language:'] = '¿En qué idioma quiere efectuar la instalación?';
$_LANG['Community Forum'] = 'en nuestro foro comunitario';
$_LANG['Configure SMTP manually (advanced users only)'] = 'Configurar el envío SMTP (expertos únicamente)';
$_LANG['Configure your database by filling out the following fields:'] = 'Configure su base de datos rellenando los siguientes campos:';
$_LANG['Congratulation, your online shop is now ready!'] = '¡Enhorabuena, su tienda se ha instalado!';
$_LANG['Contact us'] = '¡Contacte con nosotros!';
$_LANG['Create new files and folders allowed'] = 'Creación de nuevas carpetas y archivos autorizados';
$_LANG['Data integrity is not valided. Hack attempt?'] = 'La integridad de los datos no está validada.';
$_LANG['Database Server is available but database is not found'] = 'La base de datos del servidor está disponible, pero la base de datos no se ha encontrado ';
$_LANG['Database Server is not found. Please verify the login, password and server fields.'] = 'La base de datos de servidor no se ha encontrado, por favor, compruebe sus datos de acceso o el nombre de servidor.';
$_LANG['Database configuration'] = 'Configuración de la base de datos';
$_LANG['Database connection is available!'] = '¡La base de datos se ha encontrado!';
$_LANG['Database is created!'] = '¡Base de datos instalada!';
$_LANG['Database name:'] = 'Nombre de la base de datos:';
$_LANG['Disclaimer'] = 'Aviso';
$_LANG['Documentation Wiki'] = 'Documentación en Wiki';
$_LANG['E-mail address:'] = 'Dirección email:';
$_LANG['E-mail delivery set-up'] = 'Parámetros de envío de emails';
$_LANG['Encryption:'] = 'Encriptación:';
$_LANG['Error!'] = '¡Falta!';
$_LANG['Error while creating the /config/settings.inc.php file.'] = 'Error al crear el archivo /config/settings.inc.php.';
$_LANG['Error while inserting content into the database'] = 'Error al insertar en la base de datos';
$_LANG['Error while inserting data in the database:'] = 'Error al insertar en la base de datos:';
$_LANG['Error while loading sql upgrade file.'] = 'Error al abrir el archivo SQL';
$_LANG['Error:'] = 'Error :';
$_LANG['Errors while updating...'] = 'Error al actualizar ...';
$_LANG['Failed to write file to disk'] = 'No se pueden escribir archivos en el disco';
$_LANG['Fields are different!'] = '¡Los campos son diferentes!';
$_LANG['File upload allowed'] = 'Envío de archivo autorizado';
$_LANG['File upload stopped by extension'] = 'Carga de archivos interrumpido a causa de la extensión incorrecta';
$_LANG['First name:'] = 'Nombre:';
$_LANG['For more information, please consult our'] = 'Para más información, consulte nuestra';
$_LANG['GD Library installed'] = 'Librería GD instalada';
$_LANG['GZIP compression is on (recommended)'] = 'La compresión GZIP está activada (aconsejable)';
$_LANG['Here are your shop information. You can modify them once logged in.'] = 'Aquí tiene sus datos de conexión, puede modificarlos posteriormente si lo desea.';
$_LANG['However, you must know how to do the following manually:'] = 'No obstante, puede efectuar las siguientes tareas manualmente:';
$_LANG['I agree to the above terms and conditions.'] = 'Estoy de acuerdo con los términos y condiciones anteriores.';
$_LANG['If you have any questions, please visit our '] = 'Si tiene alguna duda o pregunta, eche un vistazo a nuestra ';
$_LANG['Impossible the access the a MySQL content file.'] = 'No se puede acceder al contenido de un archivo *.sql.';
$_LANG['Impossible to read the content of a MySQL content file.'] = 'No se puede leer el contenido de un archivo *.sql.';
$_LANG['Impossible to send the email!'] = '¡No se puede enviar un correo electrónico!';
$_LANG['Impossible to upload the file!'] = '¡No se puede enviar el archivo!';
$_LANG['Impossible to write the image /img/logo.jpg. If this image already exists, please delete it.'] = 'No se puede escribir la imagen /img/logo.jpg. Si ya existe, por favor, suprímala manualmente.';
$_LANG['Installation : complete install of the PrestaShop Solution'] = 'Instalación completa de PrestaShop';
$_LANG['Installation is complete!'] = '¡Instalación terminada! ';
$_LANG['Installation method'] = 'Modo de instalación';
$_LANG['Last name:'] = 'Apellido:';
$_LANG['License Agreement'] = 'Contrato de Licencia';
$_LANG['Login:'] = 'Nombre de usuario:';
$_LANG['Merchant info'] = 'Información sobre el vendedor';
$_LANG['Missing a temporary folder'] = 'Carece de la carpeta temporal para recibir su archivo de correo. ¡Por favor consulte su administrador de sistema!';
$_LANG['MySQL support is on'] = 'El soporte de MySQL está activado';
$_LANG['Next'] = 'Siguiente';
$_LANG['No error code available.'] = 'Error desconocido.';
$_LANG['No file was uploaded.'] = 'No se ha enviado ningún archivo';
$_LANG['No upgrade is possible.'] = 'No existe actualización';
$_LANG['None'] = 'Ninguno';
$_LANG['Official forum'] = 'Foro Oficial';
$_LANG['One or more errors have occurred...'] = ' Se han producido uno o más errores';
$_LANG['Open external URLs allowed'] = 'Apertura autorizada de URL externas';
$_LANG['Optional languages'] = 'Idiomas opcionales';
$_LANG['Optional set-up'] = 'Parámetros opcionales';
$_LANG['PHP \'mail()\' function is available'] = 'La función PHP \'mail()\' está disponible';
$_LANG['PHP \'mail()\' function is unavailable'] = 'La función PHP \'mail()\' no está disponible';
$_LANG['PHP 5.0 or later installed'] = 'PHP 5.0 o superior instalado';
$_LANG['PHP parameters:'] = 'Parámetros PHP:';
$_LANG['PHP register global option is off (recommended)'] = 'La opción PHP "register global" está desactivada (aconsejable)';
$_LANG['Password:'] = 'Contraseña:';
$_LANG['Please allow 5-15 minutes to complete the installation process.'] = 'El proceso de instalación tardará tan solo unos minutos.';
$_LANG['Please set a SMTP login'] = 'Introduzca un nombre de usuario de SMTP';
$_LANG['Please set a SMTP password'] = 'Escriba la contraseña SMTP';
$_LANG['Please set a SMTP server name'] = 'Introduzca un nombre de servidor SMTP';
$_LANG['Please set a database login'] = 'Introduzca el inicio de sesión de SQL';
$_LANG['Please set a database name'] = 'Introduzca el nombre de la base de datos';
$_LANG['Please set a database server name'] = 'Introduzca el nombre del servidor de la base de datos';
$_LANG['Port:'] = 'Puerto:';
$_LANG['PrestaShop ".INSTALL_VERSION." Installer'] = 'Instalación de PrestaShop ".INSTALL_VERSION."';
$_LANG['PrestaShop is ready!'] = '¡PrestaShop está listo!';
$_LANG['Re-type to confirm:'] = 'Confirmar la contraseña:';
$_LANG['Ready, set, go!'] = '¡PrestaShop está instalado!';
$_LANG['Receive notifications by e-mail'] = 'Recibir sus datos por email';
$_LANG['Refresh these settings'] = 'Comprobar de nuevo';
$_LANG['Required field'] = 'Los campos obligatorios';
$_LANG['Required set-up. Please verify the following checklist items are true.'] = 'Asegúrese por favor de que cada uno de los siguientes parámetros ha sido validado.';
$_LANG['SMTP connection is available!'] = '¡Conexión SMTP disponible!';
$_LANG['SMTP connection is unavailable'] = 'Conexión SMTP no está disponible.';
$_LANG['SMTP server:'] = 'Servidor SMTP:';
$_LANG['SQL errors have occurred.'] = 'Han aparecido errores de SQL.';
$_LANG['Select the different languages available for your shop'] = 'Seleccione los idiomas que su tienda ofrecerá a los clientes';
$_LANG['Send me a test email!'] = '¡Envíeme un email de prueba!';
$_LANG['Server:'] = 'Servidor:';
$_LANG['Set permissions on folders & subfolders using Terminal or an FTP client'] = 'Poner los permisos en las carpetas y subcarpetas vía un cliente FTP';
$_LANG['Shop Configuration'] = 'Configuración tienda';
$_LANG['Shop logo'] = 'Logo de la tienda';
$_LANG['Shop name:'] = 'Nombre de la tienda:';
$_LANG['Shop password:'] = 'Contraseña de la tienda:';
$_LANG['Shop\'s default language'] = 'Idioma por defecto';
$_LANG['Shop\'s languages'] = 'Idiomas de la tienda';
$_LANG['System and permissions'] = 'Sistema y permisos';
$_LANG['System Compatibility'] = 'Compatibilidad del sistema';
$_LANG['System Configuration'] = 'Configuración sistema';
$_LANG['Tables prefix:'] = 'Prefijo de las tablas:';
$_LANG['Test message - Prestashop'] = 'Instalación Prestashop - Prueba del servidor de correo';
$_LANG['The PrestaShop Installer will do most of the work in just a few clicks.'] = 'El instalador de PrestaShop hará todo el trabajo en tan solo algunos clics.';
$_LANG['The config/settings.inc.php file was not found. Did you delete or rename this file?'] = 'Config/settings.inc.php no se ha encontrado. ¿Ha eliminado o cambiado de nombre?';
$_LANG['The password is incorrect (alphanumeric string at least 8 characters).'] = 'Contraseña incorrecta (alfa-cadena numérica de al menos 8 caracteres)';
$_LANG['The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form'] = 'El archivo enviado supera el tamaño máximo permitido.';
$_LANG['The uploaded file exceeds the upload_max_filesize directive in php.ini'] = 'El archivo enviado supera el tamaño máximo permitido.';
$_LANG['The uploaded file was only partially uploaded'] = 'El archivo fue parcialmente enviado.';
$_LANG['There is no older version. Did you delete or rename the config/settings.inc.php file?'] = 'Ninguna versión anterior detectada. ¿Puede borrar o renombrar el archivo de configuración settings.inc.php archivo?';
$_LANG['This PrestaShop database already exists. Please revalidate your authentication informations to the database.'] = 'Esta base de datos ya existe PrestaShop, por favor, valide de nuevo sus credenciales en la base de datos.';
$_LANG['This application need you to activate Javascript to correctly work.'] = 'Se requiere JavaScript para ejecutar esta aplicación.';
$_LANG['This email adress is wrong!'] = '¡Dirección no válida!';
$_LANG['This installer is too old.'] = 'Este instalador es demasiado viejo.';
$_LANG['This is a test message, your server is now available to send email'] = 'Este es un mensaje de prueba, el servidor de correo funciona correctamente.';
$_LANG['This is not a valid file name.'] = 'Esto no es un nombre válido.';
$_LANG['This is not a valid image file.'] = 'Esto no es una imagen válida.';
$_LANG['Too long!'] = '¡Demasiado largo!';
$_LANG['Unfortunately,'] = 'Desgraciadamente,';
$_LANG['Update is complete!'] = '¡Actualización completa!';
$_LANG['Upgrade: get the latest stable version!'] = 'Actualización: instale la última versión de PrestShop';
$_LANG['Verify now!'] = '¡Pruebe ahora!';
$_LANG['Verify system compatibility'] = 'Compatibilidad sistema';
$_LANG['WARNING: For more security, you must delete the \'install\' folder and readme files (readme_fr.txt, readme_en.txt, readme_es.txt, readme_de.txt, readme_it.txt, CHANGELOG).'] = 'ATENCION : para más seguridad, por favor suprima la carpeta \'/install\' y los archivos readme (readme_fr.txt, readme_en.txt, readme_es.txt, readme_de.txt, readme_it.txt, CHANGELOG)..';
$_LANG['Warning: a manual backup is HIGHLY recommended before continuing!'] = '¡Atención: se recomienda hacer una copia de seguridad manual antes de continuar!';
$_LANG['Welcome'] = 'Bienvenido';
$_LANG['Welcome to the PrestaShop '.INSTALL_VERSION.' Installer.'] = 'Bienvenido a la instalación de PrestaShop '.INSTALL_VERSION;
$_LANG['When your files and database are saving in an other support, please certify that your shop is really backed up.'] = 'Una vez que los archivos de aplicación y su base de datos se hayan guardado, le pediremos que los certifique. Por lo tanto, usted asume plenamente su responsabilidad por cualquier pérdida de datos debido a la actualización de la aplicación PrestaShop.';
$_LANG['Write permissions on folders (and subfolders):'] = 'en escritura en las carpetas (y sus subcarpetas) :';
$_LANG['Write permissions on files and folders:'] = 'Derechos en escritura en los archivos y carpetas :';
$_LANG['Write permissions on folders:'] = 'Permiso de escritura en los archivos de';
$_LANG['You already have the ".INSTALL_VERSION." version.'] = 'Ya está en posesión de la versión ".INSTALL_VERSION."';
$_LANG['You have just installed and configured PrestaShop as your online shop solution. We wish you all the best with the success of your online shop.'] = 'Acaba de instalar y de configurar su tienda en línea y se lo agradecemos.';
$_LANG['You have just updated and configured PrestaShop as your online shop solution. We wish you all the best with the success of your online shop.'] = 'Deba actualizar su tienda en línea. Se lo agradecemos.';
$_LANG['Your installation is finished!'] = '¡La instalación está terminada!';
$_LANG['Your update is finished!'] = 'La actualización se ha completado';
$_LANG['and/or'] = 'y/o';
$_LANG['enter@your.email'] = 'introduzca@su.email';
$_LANG['online documentation'] = 'documentación en línea';
$_LANG['installed version detected'] = 'versión detectada actualmente';
$_LANG['recommended dimensions: 230px X 75px'] = 'Dimensiones aconsajables: 230px x 75px';
$_LANG['view the log'] = 'ver el informe';
$_LANG['(no old version detected)'] = '(no hay ninguna versión antigua detectada)';
$_LANG['Can\'t write settings file, please create a file named settings.inc.php in config directory.'] = 'El archivo de parámetros no pudo escribirse, cree un archivo llamado settings.inc.php en su repertorio de configuración.';
$_LANG['Cannot convert your database\'s data to utf-8.'] = 'No se pueden convertir los datos de su base de datos en UTF-8.';
$_LANG['Your database server does not support the utf-8 charset.'] = 'La base de datos del servidor no es compatible con UTF-8.';
$_LANG['Need help?'] = '¿Necesita ayuda?';
$_LANG['Forum'] = 'El foro';
$_LANG['Blog'] = 'El blog';
$_LANG['Back Office'] = 'Back Office';
$_LANG['Manage your store with your back office. Manage your orders and customers, add modules, change your theme, etc...'] = 'Administre su tienda con su back office. Gestione pedidos y clientes, agregue módulos, cambie el tema, etc ...';
$_LANG['Manage your store'] = 'Administre su tienda';
$_LANG['Front Office'] = 'Front Office';
$_LANG['Find your store as your future customers will see!'] = '¡Descubra su tienda tal como la verán sus clientes!';
$_LANG['Discover your store'] = 'Descubra su tienda';
$_LANG['Did you know?'] = '¿Sabía que?';
$_LANG['Prestashop and community offers over 40 different languages for free download on'] = 'La comunidad Prestashop ofrece más de 40 idiomas diferentes para su descarga gratuita en';
$_LANG['Default country:'] = 'País por defecto:';
$_LANG['Shop\'s timezone:'] = 'Zona horaria de la tienda:';
$_LANG['Your configuration is valid, click next to continue!'] = 'Su configuración es válida, haga clic en Siguiente para continuar';
$_LANG['Your configuration is invalid. Please fix the issues below:'] = 'Su configuración no es válida,<br />gracias por corregir la configuración:';
$_LANG['You have to create a database, help available in readme_en.txt'] = 'Debe crear una base de datos, puede encontrar ayuda en el archivo readme_es.txt';
$_LANG['Discover your store'] = 'Descubra su tienda';
$_LANG['If you check this box and your mail configuration is wrong, your installation might be blocked. If so, please uncheck the box to go to the next step.'] = 'Esta opción se puede bloquear si su configuración de correo electrónico está mal, gracias a desactivarla si usted no puede moverse a la siguiente etapa.';
$_LANG['A question about PrestaShop or issues during installation or upgrade? Call us!'] = '¿Alguna pregunta sobre PrestaShop o problemas durante su instalación o actualización? ¡Llámenos!';
$_LANG['Invalid catalog mode'] = 'Campo modo catálogo no válido';
$_LANG['Catalog mode:'] = 'Modo Catálogo:';
$_LANG['Yes'] = 'Sí';
$_LANG['No'] = 'No';
$_LANG['If you activate this feature, all purchase features will be disabled. You can activate this feature later in your back office'] = 'Si activa esta opción, se desactivarán todas las aplicaciones de compra. Puede activar dicha opción posteriormente en el panel de administración.';
$_LANG['the already installed version detected is too recent, no update available'] = 'la versión instalada que se ha detectado es demasiado reciente, no hay ninguna actualización disponible';
$_LANG['If you do not know how to enable it, use our turnkey solution PrestaBox at'] = 'Si no sabe activarla, utilice nuestra solución PrestaBox en';
$_LANG['Invalid shop name'] = 'Nombre de la tienda no válido';
$_LANG['Your firstname contains some invalid characters'] = 'Su nombre contiene caracteres no válidos';
$_LANG['Your lastname contains some invalid characters'] = 'Su apellido contiene caracteres no válidos';
$_LANG['Your MySQL server doesn\'t support this engine, please use another one like MyISAM'] = 'El soporte de este motor de base de datos no se puede soportar, elija otro como por ejemplo MyISAM';
$_LANG['The file /img/logo.jpg is not writable, please CHMOD 755 this file or CHMOD 777'] = 'El archivo /img/logo.jpg no tiene derechos de escritura, por favor efectúe un CHMOD 755 o 777 en el archivo';
$_LANG['The config/defines.inc.php file was not found. Where did you move it?'] = 'El archivo config/defines.inc.php no se ha encontrado. ¿Dónde se encuentra?';
$_LANG['All tips and advice about PrestaShop'] = 'Todos los trucos y consejos sobre PrestaShop';
$_LANG['+33 (0)1.40.18.30.04'] = '+33 (0)1.40.18.30.04';
$_LANG['the already installed version detected is too old, no more update available'] = 'la versión instalada es demasiado antigua, no existen actualizaciones.';
$_LANG['Mcrypt is available (recommended)'] = 'Mcrypt está disponible (aconsejable)';
$_LANG['If you do not know how to fix these issues, use turnkey solution PrestaBox at'] = 'Si no puede solucionar estos problemas, utilice nuestra solución PrestaBox en';
$_LANG['Database Engine:'] = 'Tipo de base de datos:';
$_LANG['Installation type'] = 'Tipo de instalación';
$_LANG['Simple mode: Basic installation'] = 'Modo básico: instalación simplificada';
$_LANG['(FREE)'] = '(GRATIS)';
$_LANG['Full mode: includes'] = 'Modo completo: incluido';
$_LANG['100+ additional modules'] = '100 módulos';
$_LANG['and demo products'] = 'y productos de demostración';
$_LANG['(FREE too!)'] = '(¡TAMBIEN GRATIS!)';
$_LANG['Shop configuration'] = 'Configuración de la tienda';
$_LANG['Main activity:'] = 'Actividad principal';
$_LANG['-- Please choose your main activity --'] = '-- Elija una actividad --';
$_LANG['Adult'] = 'Adulto y lencería';
$_LANG['Animals and Pets'] = 'Animales';
$_LANG['Art and Culture'] = 'Cultura y ocio';
$_LANG['Babies'] = 'Artículos para bebés';
$_LANG['Beauty and Personal Care'] = 'Salud y belleza';
$_LANG['Cars'] = 'Automóvil y motos';
$_LANG['Computer Hardware and Software'] = 'Informática y programas';
$_LANG['Download'] = 'Descargas';
$_LANG['Fashion and accessories'] = 'Ropa y complementos';
$_LANG['Flowers, Gifts and Crafts'] = 'Flores y regalos';
$_LANG['Food and beverage'] = 'Alimentación y gastronomía';
$_LANG['HiFi, Photo and Video'] = 'Hifi, foto y vídeo';
$_LANG['Home and Garden'] = 'Casa y jardín';
$_LANG['Home Appliances'] = 'Electrodomésticos';
$_LANG['Jewelry'] = 'Joyería';
$_LANG['Mobile and Telecom'] = 'Telefonía y comunicación';
$_LANG['Services'] = 'Servicios';
$_LANG['Shoes and accessories'] = 'Calzado y complementos';
$_LANG['Sport and Entertainment'] = 'Deporte y ocio';
$_LANG['Travel'] = 'Viajes y turismo';
$_LANG['This information isn\'t required, it will be used for statistical purposes. This information doesn\'t change anything in your store.'] = 'Esta información no es obligatoria, solo se utilizará para estadísticas. Proporcionarla o no, no cambiará nada en su tienda.';
$_LANG['E-mail:'] = 'Email :';
$_LANG['I certify that I backed up my database and application files. I assume all responsibility for any data loss or damage related to this upgrade.'] = 'Certifico que he efectuado una copia de seguridad de mi base de datos y de mis archivos. Asumo plenamente la responsabilidad en caso en que se pierdan los datos o se produzca un error relacionado con esta actualización.';
$_LANG['Upgrade in progress'] = 'Actualización en curso';
$_LANG['Current query:'] = 'Búsqueda actual:';
$_LANG['Details about this upgrade'] = 'Detalles sobre esta actualización';
$_LANG['Thank you, you will be able to continue the upgrade process by clicking on the "Next" button.'] = 'Gracias, puede continuar la actualización, pulsando en "Siguiente".';
$_LANG['PrestaShop is upgrading your shop one version after the other, the following upgrade files will be processed:'] = 'PrestaShop actualiza las versiones de su tienda de una en una, los siguientes archivos de actualización van a ser tratados:';
$_LANG['Upgrade file'] = 'Archivo de actualizaciones';
$_LANG['Modifications to process'] = 'Modificaciones que deben tenerse en cuenta';
$_LANG['(major)'] = '(majeure)';
$_LANG['TOTAL'] = 'TOTAL';
$_LANG['Estimated time to complete the'] = 'Tiempo estimado para realizar la';
$_LANG['modifications:'] = 'modificaciones :';
$_LANG['minutes'] = 'minutos';
$_LANG['minute'] = 'minuto';
$_LANG['seconds'] = 'segundos';
$_LANG['second'] = 'segundo';
$_LANG['Depending on your server and the size of your shop'] = 'En función de la potencia de su servidor y el tamaño de su tienda...';
$_LANG['You did not update your shop for a while,'] = 'No ha actualizado su tienda desde hace algún tiempo,';
$_LANG['major releases have been made ??available since.'] = 'hay versiones mayores a disposición desde entonces.';
$_LANG['This is not a problem however the update may take several minutes, try to update your shop more frequently.'] = 'No es un problema pero la actualización puede durar algunos minutos. Intente actualizar su tienda más a menudo.';
$_LANG['No files to process, this might be an error.'] = 'No hay ningún archivo para tratar, se trata sin duda de un error';
$_LANG['Hosting parameters'] = 'Parámetros hosting';
$_LANG['PrestaShop tries to automatically set the best settings for your server in order the update to be successful.'] = 'PrestaShop intenta configurar por usted los parámetros de su servidor para que la actualización se efectúe de manera correcta.';
$_LANG['PHP parameter'] = 'Parámetro PHP';
$_LANG['Description'] = 'Descripción';
$_LANG['Current value'] = 'Valor actual';
$_LANG['Maximum allowed time for the upgrade'] = 'Tiempo máximo autorizado para la actualización';
$_LANG['Maximum memory allowed for the upgrade'] = 'Memoria máxima autorizada para la actualización';
$_LANG['All your settings seem to be OK, go for it!'] = 'Todos los parámetros son correctos, ¡adelante!';
$_LANG['Beware, your settings look correct but are not optimal, if you encounter problems (upgrade too long, memory error...), please ask your hosting provider to increase the values of these parameters (max_execution_time & memory_limit).'] = 'Atención, los parámetros parecen correctos pero no son óptimos, si encuentra una dificultad (actualización bloqueada antes de su finalización, error de memoria...), pida a su hosting que aumente los valores de dichos parámetros (max_execution_time & memory_limit).';
$_LANG['We strongly recommend that you inform your hosting provider to modify the settings before process to the update.'] = 'Le aconsejamos que avise a su hosting antes de comenzar la actualización para que modifique los parámetros PHP.';
$_LANG['Let\'s go!'] = 'El proceso ha comenzado';
$_LANG['Click on the "Next" button to start the upgrade, this can take several minutes,'] = 'Pulse en "Siguiente" para comenzar la actualización, esto puede llevar unos minutos,';
$_LANG['do not close the window and be patient.'] = 'no cierre la ventana y espere.';
$_LANG['Your update is completed!'] = 'La actualización ha concluido con éxito';
$_LANG['Your shop version is now'] = 'La versión de su tienda ya está';
$_LANG['New features in PrestaShop v'] = 'Nuevas aplicaciones en dans PrestaShop v';
$_LANG['Module compatibility'] = 'Compatibilidad Módulos';
$_LANG['It\'s dangerous to keep non-native modules activated during the update. If you really want to take this risk, uncheck the following box.'] = 'Se desaconseja dejar los módulos no nativos activos durante la actualización. Si realmente desea correr ese riesgo, desactive la siguiente casilla.';
$_LANG['You will be able to manually reactivate them in your back-office, once the update process has succeeded.'] = 'Después podrá reactivarlos manualmente en el back-office, una vez la actualización haya terminado.';
$_LANG['Ok, please desactivate the following modules, I will reactivate them later.'] = 'De acuerdo, desactive automáticamente los siguientes módulos, los activaré yo mismo más tarde.';
$_LANG['Theme compatibility'] = 'Compatibilidad del tema';
$_LANG['Before updating, you need to check that your theme is compatible with version'] = 'Antes de la actualización, debe comprobar que su tema es compatible con la versión';
$_LANG['of PrestaShop.'] = 'de PrestaShop';
$_LANG['Link to the validator'] = 'Link hacia el validador';
$_LANG['Online Theme Validator'] = 'Validador del tema en línea';
$_LANG['If your theme is not valid, you may experience some problems in your front-office aspect, but don\'t panic ! To solve this, you can make it compatible by correcting the validators errors or by using a theme compatible with '] = 'Si su tema no es válido, podría tener problemas en la página de su sitio Web, pero no se preocupe, ¡puede hacerlo compatible corrigiendo los errores señalados por el validador o utilizando un tema compatible con la versión!' ;
$_LANG['version'] = 'versión';
$_LANG['In this aim, use our'] = 'En este objetivo, utilice nuestro';
-286
View File
@@ -1,286 +0,0 @@
<?php
$_LANG['Installer'] = 'Installation';
$_LANG['Updater'] = 'Mise à jour';
$_LANG['.'] = '.';
$_LANG['A Prestashop database already exists, please drop it or change the prefix.'] = 'Une base de données PrestaShop existe déjà avec ce préfixe, vous devez la supprimer manuellement ou changer son préfixe.';
$_LANG['An email has been sent!'] = 'Un email a été envoyé !';
$_LANG['Access and configure PHP 5.0+ on your hosting server'] = 'Vérifier que votre hébergeur propose PHP5 et/ou l\'activer';
$_LANG['An error occurred while resizing the picture.'] = 'Une erreur est survenue lors du redimensionnement de l\'image.';
$_LANG['An error occurred while sending email, please verify your parameters.'] = 'Une erreur est survenue lors de l\'envoi de l\'email, merci de vérifier vos paramètres.';
$_LANG['Available shop languages'] = 'Langues proposées';
$_LANG['Back'] = 'Précédent';
$_LANG['Back up your database and all application files (update only)'] = 'Sauvegarder votre base de données et vos fichiers (en cas de mise à jour de PrestaShop uniquement)';
$_LANG['Please backup the database and application files.'] = 'Avant de continuer, vous devez sauvegarder vos données. Merci donc de copier tous les fichiers du site dans un dossier de sauvegarde, mais également de sauvegarder votre base de données. Si vous avez modifié manuellement le fichier caché ".htaccess" à la racine de votre boutique, prenez soin de le sauvegarder également.';
$_LANG['By default, the PHP \'mail()\' function is used'] = 'Par défaut, la fonction PHP \'mail()\' est utilisée';
$_LANG['Can\'t create settings file, if /config/settings.inc.php exists, please give the public write permissions to this file, else please create a file named settings.inc.php in config directory.'] = 'Erreur à la création du fichier de configuration, si le fichier /config/settings.inc.php existe, veuillez lui donner les droits publics d\'écriture; sinon veuillez créer un fichier settings.inc.php dans le répertoire de configuration (/config/)';
$_LANG['Can\'t find the sql upgrade files. Please verify that the /install/sql/upgrade folder is not empty)'] = 'Impossible de trouver un des fichiers de mise à jour SQL. Merci de vérifier que le dossier /install/sql/upgrade n\'est pas vide.';
$_LANG['Choose the installer language:'] = 'Dans quelle langue souhaitez-vous effectuer l\'installation ?';
$_LANG['Community Forum'] = 'notre forum communautaire';
$_LANG['Configure SMTP manually (advanced users only)'] = 'Configurer l\'envoi SMTP (experts uniquement)';
$_LANG['Configure your database by filling out the following fields:'] = 'Configurez votre base de données en remplissant les champs ci-dessous :';
$_LANG['Congratulation, your online shop is now ready!'] = 'Félicitations, votre boutique est installée !';
$_LANG['Contact us'] = 'Contactez-nous !';
$_LANG['Create new files and folders allowed'] = 'Création de nouveaux dossiers et fichiers autorisée';
$_LANG['Data integrity is not valided. Hack attempt?'] = 'L\'intégrité des données n\'est pas validée.';
$_LANG['Database Server is available but database is not found'] = 'Le serveur de bases de données est disponible mais la base de données n\'a pas été trouvée';
$_LANG['Database Server is not found. Please verify the login, password and server fields.'] = 'Le serveur de bases de données n\'a pas été trouvé, merci de vérifier vos identifiants ou le nom du serveur.';
$_LANG['Database configuration'] = 'Configuration de la base de données';
$_LANG['Database connection is available!'] = 'La base de données a été trouvée !';
$_LANG['Database is created!'] = 'Base de données installée !';
$_LANG['Database name:'] = 'Nom de la base de données :';
$_LANG['Disclaimer'] = 'Avertissement';
$_LANG['Documentation Wiki'] = 'documentation Wiki';
$_LANG['E-mail:'] = 'Email :';
$_LANG['E-mail address:'] = 'Adresse e-mail :';
$_LANG['E-mail delivery set-up'] = 'Paramètres d\'envoi des emails';
$_LANG['Encryption:'] = 'Cryptage :';
$_LANG['Error!'] = 'Erreur !';
$_LANG['Error while creating the /config/settings.inc.php file.'] = 'Erreur lors de la création du fichier /config/settings.inc.php.';
$_LANG['Error while inserting content into the database'] = 'Erreur lors de l\'insertion dans la base de données';
$_LANG['Error while inserting data in the database:'] = 'Erreur lors de l\'insertion dans la base :';
$_LANG['Error while loading sql upgrade file.'] = 'Erreur lors de l\'ouverture du fichier SQL';
$_LANG['Error:'] = 'Erreur :';
$_LANG['Errors while updating...'] = 'Erreur lors de la mise à jour...';
$_LANG['Failed to write file to disk'] = 'Impossible d\'écrire le fichier sur le disque';
$_LANG['Fields are different!'] = 'Les champs sont différents !';
$_LANG['File upload allowed'] = 'Envoi de fichier autorisé';
$_LANG['File upload stopped by extension'] = 'Envoi de fichier interrompu à cause de l\'extension incorrecte';
$_LANG['First name:'] = 'Prénom :';
$_LANG['For more information, please consult our'] = 'Pour plus d\'infos, veuillez consulter notre';
$_LANG['GD Library installed'] = 'Librairie GD installée';
$_LANG['GZIP compression is on (recommended)'] = 'La compression GZIP est activée (recommandé)';
$_LANG['Here are your shop information. You can modify them once logged in.'] = 'Voici vos informations de connexion, vous pouvez les modifier ultérieurement dans votre arrière boutique.';
$_LANG['However, you must know how to do the following manually:'] = 'Toutefois, vous pouvez effectuer les tâches suivantes manuellement :';
$_LANG['I agree to the above terms and conditions.'] = 'J\'approuve les termes et conditions du contrat ci-dessus.';
$_LANG['If you have any questions, please visit our '] = 'Si vous avez la moindre question, merci de jeter un oeil sur notre ';
$_LANG['Impossible the access the a MySQL content file.'] = 'Impossible d\'accéder au contenu d\'un des fichiers *.sql.';
$_LANG['Impossible to read the content of a MySQL content file.'] = 'Impossible de lire le contenu d\'un des fichiers *.sql.';
$_LANG['Impossible to send the email!'] = 'Impossible d\'envoyer l\'email !';
$_LANG['Impossible to upload the file!'] = 'Impossible d\'envoyer le fichier !';
$_LANG['Impossible to write the image /img/logo.jpg. If this image already exists, please delete it.'] = 'Impossible d\'écrire l\'image /img/logo.jpg. Si celle-ci existe déjà, merci de la supprimer manuellement.';
$_LANG['Installation : complete install of the PrestaShop Solution'] = 'Installation complète de PrestaShop';
$_LANG['Installation is complete!'] = 'Installation terminée !';
$_LANG['Installation method'] = 'Méthode d\'installation';
$_LANG['Last name:'] = 'Nom :';
$_LANG['License Agreement'] = 'Contrat de Licence';
$_LANG['Login:'] = 'Identifiant :';
$_LANG['Merchant info'] = 'Informations à propos du vendeur';
$_LANG['Missing a temporary folder'] = 'Il manque le dossier temporaire de réception de vos envois de fichiers. Merci de consulter votre administrateur système.';
$_LANG['MySQL support is on'] = 'Le support de MySQL est activé';
$_LANG['Next'] = 'Suivant';
$_LANG['No error code available.'] = 'Erreur inconnue.';
$_LANG['No file was uploaded.'] = 'Aucun fichier n\'a été envoyé';
$_LANG['No upgrade is possible.'] = 'Pas de mise à jour disponible';
$_LANG['None'] = 'Aucun';
$_LANG['Official forum'] = 'Forum officiel';
$_LANG['One or more errors have occurred...'] = 'Une ou plusieurs erreurs sont apparues';
$_LANG['Open external URLs allowed'] = 'Ouverture des URL externes autorisée';
$_LANG['Optional languages'] = 'Langues non-proposées';
$_LANG['Optional set-up'] = 'Paramètres optionnels';
$_LANG['PHP \'mail()\' function is available'] = 'La fonction PHP \'mail()\' est disponible';
$_LANG['PHP \'mail()\' function is unavailable'] = 'La fonction PHP \'mail()\' n\'est pas disponible';
$_LANG['PHP 5.0 or later installed'] = 'PHP 5.0 ou supérieur installé';
$_LANG['PHP parameters:'] = 'Paramètres PHP :';
$_LANG['PHP register global option is off (recommended)'] = 'L\'option PHP "register global" est désactivée (recommandé)';
$_LANG['Password:'] = 'Mot de passe :';
$_LANG['Please allow 5-15 minutes to complete the installation process.'] = 'Le processus d\'installation devrait vous prendre quelques minutes seulement !';
$_LANG['Please set a SMTP login'] = 'Entrez un identifiant SMTP';
$_LANG['Please set a SMTP password'] = 'Entrez le password SMTP';
$_LANG['Please set a SMTP server name'] = 'Entrez un nom de serveur SMTP';
$_LANG['Please set a database login'] = 'Entrez le login SQL';
$_LANG['Please set a database name'] = 'Entrez le nom de la base de données';
$_LANG['Please set a database server name'] = 'Entrez le nom du serveur de la base de données';
$_LANG['Port:'] = 'Port :';
$_LANG['PrestaShop ".INSTALL_VERSION." Installer'] = 'Installation de PrestaShop ".INSTALL_VERSION."';
$_LANG['PrestaShop is ready!'] = 'PrestaShop est prêt!';
$_LANG['Re-type to confirm:'] = 'Confirmez le mot de passe :';
$_LANG['Ready, set, go!'] = 'PrestaShop est installé !';
$_LANG['Receive notifications by e-mail'] = 'Recevoir mes informations par e-mail';
$_LANG['Refresh these settings'] = 'Revérifier';
$_LANG['Required field'] = 'Champs requis';
$_LANG['Required set-up. Please verify the following checklist items are true.'] = 'Merci de vous assurer que chacun des paramètres ci-dessous est valide (coche verte affichée).';
$_LANG['SMTP connection is available!'] = 'Connexion SMTP disponible !';
$_LANG['SMTP connection is unavailable'] = 'Connexion SMTP non disponible.';
$_LANG['SMTP server:'] = 'Serveur SMTP :';
$_LANG['SQL errors have occurred.'] = 'erreurs SQL sont apparues.';
$_LANG['Select the different languages available for your shop'] = 'Choisissez les différentes langues que votre boutique proposera aux clients';
$_LANG['Send me a test email!'] = 'M\'envoyer un email de test !';
$_LANG['Server:'] = 'Serveur :';
$_LANG['Set permissions on folders & subfolders using Terminal or an FTP client'] = 'Mettre les permissions sur les dossiers & sous-dossiers via un client FTP';
$_LANG['Shop Configuration'] = 'Configuration boutique';
$_LANG['Shop logo'] = 'Logo de la boutique';
$_LANG['Shop name:'] = 'Nom de la boutique :';
$_LANG['Shop password:'] = 'Mot de passe de la boutique :';
$_LANG['Shop\'s default language'] = 'Langue par défaut';
$_LANG['Shop\'s languages'] = 'Langues de la boutique';
$_LANG['System and permissions'] = 'Système et permissions';
$_LANG['System Compatibility'] = 'Compatibilité du système';
$_LANG['System Configuration'] = 'Configuration système';
$_LANG['Tables prefix:'] = 'Préfixe des tables :';
$_LANG['Test message - Prestashop'] = 'Installation de Prestashop - test du serveur d\'email';
$_LANG['The PrestaShop Installer will do most of the work in just a few clicks.'] = 'L\'installeur de PrestaShop va faire tout le travail en quelques clics.';
$_LANG['The config/settings.inc.php file was not found. Did you delete or rename this file?'] = 'Le fichier config/settings.inc.php n\'a pas été trouvé. L\'avez-vous supprimé ou renommé ?';
$_LANG['The config/defines.inc.php file was not found. Where did you move it?'] = 'Le fichier config/defines.inc.php n\'a pas été trouvé. Ou est-il passé ?';
$_LANG['The password is incorrect (alphanumeric string at least 8 characters).'] = 'Mot de passe incorrect (chaîne alpha-numérique d\'au moins 8 caractères)';
$_LANG['The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form'] = 'Le fichier envoyé dépasse la taille maximum autorisée.';
$_LANG['The uploaded file exceeds the upload_max_filesize directive in php.ini'] = 'Le fichier envoyé dépasse la taille maximum autorisée.';
$_LANG['The uploaded file was only partially uploaded'] = 'Le fichier a été envoyé partiellement.';
$_LANG['There is no older version. Did you delete or rename the config/settings.inc.php file?'] = 'Pas de version antérieur détectée. Avez-vous supprimé ou renommé le fichier settings.inc.php du dossier config ?';
$_LANG['This PrestaShop database already exists. Please revalidate your authentication informations to the database.'] = 'Cette base de données PrestaShop existe déjà, merci de revalider vos informations d\'authentification à la base de données.';
$_LANG['This application need you to activate Javascript to correctly work.'] = 'JavaScript est requis pour lancer cette application.';
$_LANG['This email adress is wrong!'] = 'Adresse incorrecte !';
$_LANG['This installer is too old.'] = 'Cet installeur est trop vieux.';
$_LANG['This is a test message, your server is now available to send email'] = 'Ceci est un message de test, votre serveur d\'email fonctionne correctement.';
$_LANG['This is not a valid file name.'] = 'Ce n\'est pas un nom valide.';
$_LANG['This is not a valid image file.'] = 'Ce n\'est pas une image valide.';
$_LANG['Too long!'] = 'Trop long !';
$_LANG['Unfortunately,'] = 'Malheureusement,';
$_LANG['Update is complete!'] = 'Mise à jour terminée !';
$_LANG['Upgrade: get the latest stable version!'] = 'Mise à jour : installez la dernière version de PrestaShop';
$_LANG['Verify now!'] = 'Tester la connexion';
$_LANG['Verify system compatibility'] = 'Compatibilité système';
$_LANG['WARNING: For more security, you must delete the \'install\' folder and readme files (readme_fr.txt, readme_en.txt, readme_es.txt, readme_de.txt, readme_it.txt, CHANGELOG).'] = 'ATTENTION : pour plus de sécurité, merci de supprimer le dossier \'/install\' et les fichiers readme (readme_fr.txt, readme_en.txt, readme_es.txt, readme_de.txt, readme_it.txt, CHANGELOG).';
$_LANG['Warning: a manual backup is HIGHLY recommended before continuing!'] = 'Attention : une sauvegarde manuelle est INDISPENSABLE avant de procéder à la mise à jour de l\'application PrestaShop, cela afin de prévenir toute perte de données accidentelle';
$_LANG['Welcome'] = 'Bienvenue';
$_LANG['Welcome to the PrestaShop '.INSTALL_VERSION.' Installer.'] = 'Bienvenue dans l\'installation de PrestaShop '.INSTALL_VERSION;
$_LANG['When your files and database are saving in an other support, please certify that your shop is really backed up.'] = 'Une fois que les fichiers de l\'application et votre base de données seront sauvegardés, nous vous demanderons de le certifier. De ce fait, vous assumerez l\'entière responsabilité d\'une éventuelle perte de données liée à la mise à jour de l\'application PrestaShop.';
$_LANG['Write permissions on folders (and subfolders):'] = 'Droits en écriture sur les dossiers (et leurs sous-dossiers) :';
$_LANG['Write permissions on files and folders:'] = 'Droits en écriture sur les fichiers et dossiers:';
$_LANG['Write permissions on folders:'] = 'Droits en écriture sur les dossiers';
$_LANG['You already have the ".INSTALL_VERSION." version.'] = 'Vous êtes déjà en possession de la version ".INSTALL_VERSION."';
$_LANG['You have just installed and configured PrestaShop as your online shop solution. We wish you all the best with the success of your online shop.'] = 'Vous venez d\'installer et de configurer votre boutique en ligne, nous vous en remercions.';
$_LANG['You have just updated and configured PrestaShop as your online shop solution. We wish you all the best with the success of your online shop.'] = 'Vous venez de mettre à jour votre boutique en ligne. Nous vous en remercions.';
$_LANG['Your installation is finished!'] = 'L\'installation est terminée !';
$_LANG['Your update is finished!'] = 'La mise à jour est terminée';
$_LANG['and/or'] = 'et/ou';
$_LANG['enter@your.email'] = 'entrez@votre.email';
$_LANG['online documentation'] = 'documentation en ligne';
$_LANG['installed version detected'] = 'version actuelle détectée';
$_LANG['recommended dimensions: 230px X 75px'] = 'Dimensions recommandées : 230px x 75px';
$_LANG['view the log'] = 'voir le rapport';
$_LANG['(no old version detected)'] = '(aucune ancienne version détectée)';
$_LANG['Can\'t write settings file, please create a file named settings.inc.php in config directory.'] = 'Le fichier de paramètres n\'a pu être écrit, veuillez créer un fichier nommé settings.inc.php dans votre répertoire de configuration.';
$_LANG['Cannot convert your database\'s data to utf-8.'] = 'Impossible de convertir les données de votre base de données en utf-8.';
$_LANG['Your database server does not support the utf-8 charset.'] = 'Votre serveur de base de données ne supporte pas le jeu de caractère utf-8.';
$_LANG['Need help?'] = 'Besoin d\'aide ?';
$_LANG['All tips and advice about PrestaShop'] = 'Toutes les astuces et conseils autour de PrestaShop';
$_LANG['Forum'] = 'Le forum';
$_LANG['Blog'] = 'Le blog';
$_LANG['Back Office'] = 'Back Office';
$_LANG['Manage your store with your back office. Manage your orders and customers, add modules, change your theme, etc...'] = 'Administrez votre boutique avec votre back office. Gérer vos commandes et vos clients, ajouter des modules, modifier votre thème, etc...';
$_LANG['Manage your store'] = 'Gérez votre boutique';
$_LANG['Front Office'] = 'Front Office';
$_LANG['Find your store as your future customers will see!'] = 'Découvrez votre boutique telle que vos futurs clients la verront !';
$_LANG['Discover your store'] = 'Découvrir ma boutique';
$_LANG['Did you know?'] = 'Le saviez-vous ?';
$_LANG['Prestashop and community offers over 40 different languages for free download on'] = 'Prestashop et sa communauté propose plus de 40 langues différentes en téléchargement gratuit sur';
$_LANG['Default country:'] = 'Pays par défaut :';
$_LANG['Shop\'s timezone:'] = 'Fuseau horaire de la boutique :';
$_LANG['Your configuration is valid, click next to continue!'] = 'Votre configuration est valide,<br />cliquez sur suivant pour continuer !';
$_LANG['Your configuration is invalid. Please fix the issues below:'] = 'Votre configuration n\'est pas valide,<br />merci de corriger ces problèmes :';
$_LANG['You have to create a database, help available in readme_en.txt'] = 'Vous devez au préalable créer une base de données (aide disponible dans le fichier readme.txt)';
$_LANG['If you check this box and your mail configuration is wrong, your installation might be blocked. If so, please uncheck the box to go to the next step.'] = 'Cette option peut être bloquante si votre configuration e-mail est erronée, merci de la désactiver si vous ne pouvez pas passer à l\'étape suivante.';
$_LANG['Mcrypt is available (recommended)'] = 'Mcrypt est disponible (recommandé)';
$_LANG['Your MySQL server doesn\'t support this engine, please use another one like MyISAM'] = 'Le support de ce moteur de base de donnée n\'est pas supporté, veuillez en choisir un autre tel que MyISAM';
$_LANG['Adult'] = 'Adulte et lingerie';
$_LANG['Animals and Pets'] = 'Animaux';
$_LANG['Art and Culture'] = 'Culture et divertissements';
$_LANG['Babies'] = 'Articles pour bébé';
$_LANG['Beauty and Personal Care'] = 'Santé et beauté';
$_LANG['Cars'] = 'Auto et moto';
$_LANG['Computer Hardware and Software'] = 'Informatique et logiciels';
$_LANG['Download'] = 'Téléchargement';
$_LANG['Fashion and accessories'] = 'Vêtements et accessoires';
$_LANG['Flowers, Gifts and Crafts'] = 'Fleurs et cadeaux';
$_LANG['Food and beverage'] = 'Alimentation et gastronomie';
$_LANG['HiFi, Photo and Video'] = 'Hifi, photo et vidéos';
$_LANG['Home and Garden'] = 'Maison et jardin';
$_LANG['Home Appliances'] = 'Électroménager';
$_LANG['Jewelry'] = 'Bijouterie';
$_LANG['Mobile and Telecom'] = 'Téléphonie et communication';
$_LANG['Services'] = 'Services';
$_LANG['Shoes and accessories'] = 'Chaussures et accessoires';
$_LANG['Sport and Entertainment'] = 'Sport et loisirs';
$_LANG['Travel'] = 'Voyage et tourisme';
$_LANG['Main activity:'] = 'Activité principale';
$_LANG['-- Please choose your main activity --'] = '-- Choisissez une activité --';
$_LANG['A question about PrestaShop or issues during installation or upgrade? Call us!'] = 'Une question à propos de PrestaShop ou un problème lors de l\'installation ou la mise à jour ? Appelez-nous !';
$_LANG['Invalid catalog mode'] = 'Champ mode catalog invalide';
$_LANG['Catalog mode:'] = 'Mode Catalogue :';
$_LANG['Yes'] = 'Oui';
$_LANG['No'] = 'Non';
$_LANG['If you activate this feature, all purchase features will be disabled. You can activate this feature later in your back office'] = 'Si vous activez cette option, toutes les fonctionnalités d\'achats vont être désactivées. Vous pouvez activer cette option plus tard dans votre back-office';
$_LANG['the already installed version detected is too recent, no update available'] = 'la version déjà installée qui a été détectée est trop récente, aucune mise à jour disponible';
$_LANG['This information isn\'t required, it will be used for statistical purposes. This information doesn\'t change anything in your store.'] = 'Cette information n\'est pas obligatoire, elle sera utilisée à des fins statistiques. Cette information ne changera rien dans votre boutique.';
$_LANG['Invalid shop name'] = 'Nom de boutique invalide';
$_LANG['Your firstname contains some invalid characters'] = 'Votre prénom contient des caractères invalides';
$_LANG['Your lastname contains some invalid characters'] = 'Votre nom contient des caractères invalides';
$_LANG['PrestaShop '.INSTALL_VERSION.' Installer'] = '';
$_LANG['+33 (0)1.40.18.30.04'] = '+33 (0)1.40.18.30.04';
$_LANG['(FREE)'] = '(GRATUIT)';
$_LANG['(FREE too!)'] = '(GRATUIT AUSSI !)';
$_LANG['Shop configuration'] = 'Configuration de la boutique';
$_LANG['Database Engine:'] = 'Type de base de données :';
$_LANG['I certify that I backed up my database and application files. I assume all responsibility for any data loss or damage related to this upgrade.'] = 'Je certifie avoir effectué une sauvegarde de ma base de données et de mes fichiers. J\'assume pleinement l\'ensemble des responsabilités liées à toute perte de données ou dommage lié à cette mise à jour.';
$_LANG['The file /img/logo.jpg is not writable, please CHMOD 755 this file or CHMOD 777'] = 'Le fichier /img/logo.jpg n\'a pas les droits d\'écriture, merci d\'effectuer un CHMOD 755 ou 777 sur ce fichier';
$_LANG['If you do not know how to enable it, use our turnkey solution PrestaBox at'] = 'Si vous ne savez pas comment l\'activer, utilisez notre solution PrestaBox sur';
$_LANG['If you do not know how to fix these issues, use turnkey solution PrestaBox at'] = 'Si vous ne parvenez pas à régler ces problèmes, utilisez notre solution PrestaBox sur';
$_LANG['the already installed version detected is too old, no more update available'] = 'la version déjà installée est trop ancienne, aucune mise à jour possible.';
$_LANG['Simple mode: Basic installation'] = 'Mode basique : installation simplifiée';
$_LANG['Full mode: includes'] = 'Mode complet : inclut';
$_LANG['100+ additional modules'] = '100 modules';
$_LANG['and demo products'] = 'et des produits de démonstration';
$_LANG['Installation type'] = 'Type d\'installation';
$_LANG['Upgrade in progress'] = 'Mise à jour en cours';
$_LANG['Current query:'] = 'Requête actuelle :';
$_LANG['Details about this upgrade'] = 'Détails à propos de cette mise à jour';
$_LANG['Thank you, you will be able to continue the upgrade process by clicking on the "Next" button.'] = 'Merci, vous pouvez continuer la mise à jour en cliquant sur le bouton "Suivant".';
$_LANG['PrestaShop is upgrading your shop one version after the other, the following upgrade files will be processed:'] = 'PrestaShop met à jour votre boutique une version après l\'autre, les fichiers de mise à jour suivants vont être traités :';
$_LANG['Upgrade file'] = 'Fichier de mise à jour';
$_LANG['Modifications to process'] = 'Modifications à prendre en compte';
$_LANG['(major)'] = '(majeure)';
$_LANG['TOTAL'] = 'TOTAL';
$_LANG['Estimated time to complete the'] = 'Temps estimé pour réaliser les';
$_LANG['modifications:'] = 'modifications :';
$_LANG['minutes'] = 'minutes';
$_LANG['minute'] = 'minute';
$_LANG['seconds'] = 'secondes';
$_LANG['second'] = 'seconde';
$_LANG['Depending on your server and the size of your shop'] = 'Selon la puissance de votre serveur et la taille de votre boutique...';
$_LANG['You did not update your shop for a while,'] = 'Vous n\'avez pas mis à jour votre boutique depuis un moment,';
$_LANG['major releases have been made available since.'] = 'versions majeures ont été mis à disposition depuis.';
$_LANG['This is not a problem however the update may take several minutes, try to update your shop more frequently.'] = 'Ce n\'est pas un problème cependant la mise à jour risque de durer quelques minutes. A l\'avenir, essayez de mettre à jour votre boutique plus souvent.';
$_LANG['No files to process, this might be an error.'] = 'Aucun fichier à traiter, il s\'agit probablement d\'une erreur';
$_LANG['Hosting parameters'] = 'Paramètres hébergement';
$_LANG['PrestaShop tries to automatically set the best settings for your server in order the update to be successful.'] = 'PrestaShop essaye automatiquement de configurer pour vous les paramètres de votre serveur afin que la mise à jour se déroule correctement.';
$_LANG['PHP parameter'] = 'Paramètre PHP';
$_LANG['Description'] = 'Description';
$_LANG['Current value'] = 'Valeur actuelle';
$_LANG['Maximum allowed time for the upgrade'] = 'Temps maximum autorisé pour la mise à jour';
$_LANG['Maximum memory allowed for the upgrade'] = 'Mémoire maximum autorisée pour la mise à jour';
$_LANG['All your settings seem to be OK, go for it!'] = 'Tous vos paramètres semblent OK, foncez !';
$_LANG['Let\'s go!'] = 'C\'est parti !';
$_LANG['Click on the "Next" button to start the upgrade, this can take several minutes,'] = 'Cliquez sur le bouton "Suivant" pour démarrer la mise à jour, cela peut prendre plusieurs minutes,';
$_LANG['do not close the window and be patient.'] = 'ne fermez pas la fenêtre et soyez patient.';
$_LANG['Your update is completed!'] = 'Votre mise à jour est terminée !';
$_LANG['Your shop version is now'] = 'La version de votre boutique est maintenant';
$_LANG['New features in PrestaShop v'] = 'Nouvelles fonctionnalités dans PrestaShop v';
$_LANG['Beware, your settings look correct but are not optimal, if you encounter problems (upgrade too long, memory error...), please ask your hosting provider to increase the values of these parameters (max_execution_time & memory_limit).'] = 'Attention, votre paramètres semblent corrects mais ne sont pas optimaux, si jamais vous rencontrez des soucis (mise à jour qui se bloque avant la fin, erreur de mémoire...), merci de demander à votre hébergeur d\'augmenter les valeurs de ces paramètres (max_execution_time & memory_limit).';
$_LANG['We strongly recommend that you inform your hosting provider to modify the settings before process to the update.'] = 'Nous vous recommandons fortement de prévenir votre hébergeur avant de procéder à la mise à jour afin qu\'il modifie ces paramètres PHP.';
$_LANG['Module compatibility'] = 'Compatibilité Modules';
$_LANG['It\'s dangerous to keep non-native modules activated during the update. If you really want to take this risk, uncheck the following box.'] = 'Il est déconseillé de laisser les modules non natif activé durant la mise à jour? Si vous voulez réellement prendre ce risque, désactivez la case suivante.';
$_LANG['You will be able to manually reactivate them in your back-office, once the update process has succeeded.'] = 'Vous pourrez ensuite les réactiver manuellement dans le back-office, une fois le processus de mise à jour terminé.';
$_LANG['Ok, please desactivate the following modules, I will reactivate them later.'] = 'D\'accord, désactivez automatiquement les modules suivant, je les réactiverait moi-même plus tard.';
$_LANG['Theme compatibility'] = 'Compatibilité du thème';
$_LANG['Before updating, you need to check that your theme is compatible with version'] = 'Avant la mise à jour, vous avez besoin de vérifier que votre thème reste compatible avec la version';
$_LANG['of PrestaShop.'] = 'de PrestaShop';
$_LANG['Link to the validator'] = 'Lien vers le validateur';
$_LANG['Online Theme Validator'] = 'Validateur de Theme en ligne';
$_LANG['If your theme is not valid, you may experience some problems in your front-office aspect, but don\'t panic ! To solve this, you can make it compatible by correcting the validators errors or by using a theme compatible with '] = 'Si votre thème n\'est pas valide, vous pourrez rencontrer quelques problèmes d\'affichage de votre site, mais inutile de paniquer ! Vous pouvez le rendre compatible en corrigeant les erreurs signalées par le validateur ou en utilisant un thème compatible avec la version' ;
$_LANG['version'] = 'version';
$_LANG['In this aim, use our'] = 'Dans ce but, utilisez notre';
-269
View File
@@ -1,269 +0,0 @@
<?php
$_LANG['Installer'] = 'Installazione';
$_LANG['Updater'] = 'Aggiornamento';
$_LANG['.'] = '.';
$_LANG['A Prestashop database already exists, please drop it or change the prefix.'] = 'Esiste già un database Prestashop con questo prefisso; eliminalo oppure cambia prefisso.';
$_LANG['An email has been sent!'] = 'E\' stata inviata una e-mail!';
$_LANG['Access and configure PHP 5.0+ on your hosting server'] = 'Verifica che il tuo host proponga PHP 5.0 e/o attivalo';
$_LANG['An error occurred while resizing the picture.'] = 'Si è verificato un errore durante il ridimensionamento dell\'immagine';
$_LANG['An error occurred while sending email, please verify your parameters.'] = 'Si è verificato un errore durante l\'invio della e-mail, verifica i tuoi parametri.';
$_LANG['Available shop languages'] = 'Lingue proposte';
$_LANG['Back'] = 'Precedente';
$_LANG['Back up your database and all application files (update only)'] = 'Fai il back up del tuo database e di tutti i tuoi file applicazione (solo in caso di aggiornamento di PrestaShop)';
$_LANG['Please backup the database and application files.'] = 'Prima di proseguire, fai il back up dei tuoi dati. Copia tutti i file del sito in una cartella di back up, ma salva anche il tuo database. Se hai modificato manualmente il file nascosto ".htaccess" nel tuo negozio, assicurati di averlo salvato.';
$_LANG['By default, the PHP \'mail()\' function is used'] = 'La funzione PHP \'mail()\' viene usata di default.';
$_LANG['Can\'t create settings file, if /config/settings.inc.php exists, please give the public write permissions to this file, else please create a file named settings.inc.php in config directory.'] = 'Impossibile creare file di impostazione, se /config/settings.inc.php esiste, dai un\'autorizzazione scritta a questo file, altrimenti crea un file chiamato settings.inc.php nella directory config (/config/)';
$_LANG['Can\'t find the sql upgrade files. Please verify that the /install/sql/upgrade folder is not empty)'] = 'Impossibile trovare i file di upgrade SQL. Verifica che la cartella /install/sql/upgrade non sia vuota.';
$_LANG['Choose the installer language:'] = 'In quale lingua vuoi effettuare l\'installazione?';
$_LANG['Community Forum'] = 'il nostro forum comune';
$_LANG['Configure SMTP manually (advanced users only)'] = 'Configura l\'invio SMTP (solo per utenti esperti)';
$_LANG['Configure your database by filling out the following fields:'] = 'Configura il tuo database riempiendo i campi qui sotto:';
$_LANG['Congratulation, your online shop is now ready!'] = 'Congratulazioni, il tuo negozio è installato!';
$_LANG['Contact us'] = 'Contattaci!';
$_LANG['Create new files and folders allowed'] = 'Autorizzato a creare nuovi file e cartelle';
$_LANG['Data integrity is not valided. Hack attempt?'] = 'L\'integrità dei dati non è convalidata.';
$_LANG['Database Server is available but database is not found'] = 'Il server del database è disponibile ma il database non è stato trovato.';
$_LANG['Database Server is not found. Please verify the login, password and server fields.'] = 'Il server del database non è stato trovato, verifica i tuoi dati o il nome del server.';
$_LANG['Database configuration'] = 'Configurazione del database.';
$_LANG['Database connection is available!'] = 'Il database è stato trovato!';
$_LANG['Database is created!'] = 'Database installato!';
$_LANG['Database name:'] = 'Nome database:';
$_LANG['Disclaimer'] = 'Attenzione';
$_LANG['Documentation Wiki'] = 'documentazione Wiki';
$_LANG['E-mail:'] = 'E-mail :';
$_LANG['E-mail address:'] = 'Indirizzo e-mail:';
$_LANG['E-mail delivery set-up'] = 'Parametri invio mail';
$_LANG['Encryption:'] = 'Criptaggio:';
$_LANG['Error!'] = 'Errore!';
$_LANG['Error while creating the /config/settings.inc.php file.'] = 'Errore al momento della creazione del file /config/settings.inc.php.';
$_LANG['Error while inserting content into the database'] = 'Errore al momento dell\'inserimento nel database';
$_LANG['Error while inserting data in the database:'] = 'Errore al momento dell\'inserimento nel database:';
$_LANG['Error while loading sql upgrade file.'] = 'Errore al momento dell\'apertura del file SQL';
$_LANG['Error:'] = 'Errore:';
$_LANG['Errors while updating...'] = 'Errore durante l\'aggiornamento...';
$_LANG['Failed to write file to disk'] = 'Impossibile scrivere il file sul disco';
$_LANG['Fields are different!'] = 'I campi non corrispondono!';
$_LANG['File upload allowed'] = 'Invio file autorizzato';
$_LANG['File upload stopped by extension'] = 'Invio file interrotto a causa di estensione errata';
$_LANG['First name:'] = 'Nome:';
$_LANG['For more information, please consult our'] = 'Per maggiori informazioni consultare il nostro';
$_LANG['GD Library installed'] = 'Libreria GD installata';
$_LANG['GZIP compression is on (recommended)'] = 'La compressione GZIP è attiva (consigliato)';
$_LANG['Here are your shop information. You can modify them once logged in.'] = 'Qui sotto i dati del tuo negozio. Puoi modificarli dopo aver effettuato il login a Back Office.';
$_LANG['However, you must know how to do the following manually:'] = 'Comunque, puoi effettuare manualmente i seguenti compiti:';
$_LANG['I agree to the above terms and conditions.'] = 'Accetto i termini e le condizioni del contratto seguente.';
$_LANG['If you have any questions, please visit our '] = 'Per qualsiasi domanda, dai un\'occhiata a';
$_LANG['Impossible the access the a MySQL content file.'] = 'Impossibile accedere al contenuto di uno dei file *.sql.';
$_LANG['Impossible to read the content of a MySQL content file.'] = 'Impossibile leggere il contenuto di uno dei file *.sql.';
$_LANG['Impossible to send the email!'] = 'Impossibile inviare l\'e-mail!';
$_LANG['Impossible to upload the file!'] = 'Impossibile inviare il file!';
$_LANG['Impossible to write the image /img/logo.jpg. If this image already exists, please delete it.'] = 'Impossibile scrivere l\'immagine /img/logo.jpg. Se esiste già, cancellala manualmente.';
$_LANG['Installation : complete install of the PrestaShop Solution'] = 'Installazione completa di PrestaShop';
$_LANG['Installation is complete!'] = 'Installazione terminata!';
$_LANG['Installation method'] = 'Metodo di installazione';
$_LANG['Last name:'] = 'Cognome:';
$_LANG['License Agreement'] = 'Contratto di Licenza';
$_LANG['Login:'] = 'ID';
$_LANG['Merchant info'] = 'Informazioni sul venditore';
$_LANG['Missing a temporary folder'] = 'Manca la cartella temporanea di ricezione dell\'invio di file. Consulta il tuo amministratore.';
$_LANG['MySQL support is on'] = 'Il supporto di MySQL è attivato';
$_LANG['Next'] = 'Successivo';
$_LANG['No error code available.'] = 'Errore sconosciuto';
$_LANG['No file was uploaded.'] = 'Non è stato inviato alcun file';
$_LANG['No upgrade is possible.'] = 'Nessun aggiornamento disponibile';
$_LANG['None'] = 'Nessuno';
$_LANG['Official forum'] = 'Forum ufficiale';
$_LANG['One or more errors have occurred...'] = 'E\' apparso uno o più errori';
$_LANG['Open external URLs allowed'] = 'Autorizzato ad aprire URL esterni';
$_LANG['Optional languages'] = 'Lingue non proposte';
$_LANG['Optional set-up'] = 'Parametri opzionali';
$_LANG['PHP \'mail()\' function is available'] = 'La funzione PHP \'mail()\' è disponibile';
$_LANG['PHP \'mail()\' function is unavailable'] = 'La funzione PHP \'mail()\' non è disponibile';
$_LANG['PHP 5.0 or later installed'] = 'PHP 5.0 o superiore installato';
$_LANG['PHP parameters:'] = 'Parametri PHP :';
$_LANG['PHP register global option is off (recommended)'] = 'Opzione globale registro PHP è disattivata (consigliato)';
$_LANG['Password:'] = 'Password';
$_LANG['Please allow 5-15 minutes to complete the installation process.'] = 'Il processo di installazione dovrebbe durare solo pochi minuti!';
$_LANG['Please set a SMTP login'] = 'Inserire un identificativo SMTP';
$_LANG['Please set a SMTP password'] = 'Inserire una password SMTP';
$_LANG['Please set a SMTP server name'] = 'Inserire un nome di server SMTP';
$_LANG['Please set a database login'] = 'Inserire il login SQL';
$_LANG['Please set a database name'] = 'Inserire il nome del database.';
$_LANG['Please set a database server name'] = 'Inserire il nome del server del database.';
$_LANG['Port:'] = 'Porta:';
$_LANG['PrestaShop ".INSTALL_VERSION." Installer'] = 'Installazione di PrestaShop ".INSTALL_VERSION."';
$_LANG['PrestaShop is ready!'] = 'PrestaShop è pronto!';
$_LANG['Re-type to confirm:'] = 'Conferma la password:';
$_LANG['Ready, set, go!'] = 'PrestaShop è installato!';
$_LANG['Receive notifications by e-mail'] = 'Riceverò le mie informazioni tramite e-mail';
$_LANG['Refresh these settings'] = 'Verifica di nuovo';
$_LANG['Required field'] = 'Campi richiesti';
$_LANG['Required set-up. Please verify the following checklist items are true.'] = 'Assicurati che ciascuno dei parametri seguenti siano convalidati.';
$_LANG['SMTP connection is available!'] = 'Connessione SMTP disponibile!';
$_LANG['SMTP connection is unavailable'] = 'Connessione SMTP non disponibile!';
$_LANG['SMTP server:'] = 'Server SMTP :';
$_LANG['SQL errors have occurred.'] = 'sono apparsi errori SQL.';
$_LANG['Select the different languages available for your shop'] = 'Scegli le lingue che il tuo negozio proporrà ai clienti';
$_LANG['Send me a test email!'] = 'Inviami una e-mail di prova!';
$_LANG['Server:'] = 'Server :';
$_LANG['Set permissions on folders & subfolders using Terminal or an FTP client'] = 'Mettere i permessi nelle cartelle e sottocartelle tramite un cliente FTP';
$_LANG['Shop Configuration'] = 'Configurazione negozio';
$_LANG['Shop logo'] = 'Logo del negozio';
$_LANG['Shop name:'] = 'Nome del negozio:';
$_LANG['Shop password:'] = 'Password del negozio';
$_LANG['Shop\'s default language'] = 'Lingua di default';
$_LANG['Shop\'s languages'] = 'Lingue del negozio';
$_LANG['System and permissions'] = 'Sistema e permessi';
$_LANG['System Compatibility'] = 'Compatibilità del sistema';
$_LANG['System Configuration'] = 'Configurazione sistema';
$_LANG['Tables prefix:'] = 'Prefisso tabelle';
$_LANG['Test message - Prestashop'] = 'Installazione di Prestashop - prova del server di e-mail';
$_LANG['The PrestaShop Installer will do most of the work in just a few clicks.'] = 'L\'installatore di PrestaShop eseguirà tutto in pochi click.';
$_LANG['The config/settings.inc.php file was not found. Did you delete or rename this file?'] = 'Il file config/settings.inc.php non è stato trovato. Il file potrebbe essere stato cancellato o rinominato';
$_LANG['The config/defines.inc.php file was not found. Where did you move it?'] = 'Il file config/defines.inc.php non è stato trovato. Cosa è successo?';
$_LANG['The password is incorrect (alphanumeric string at least 8 characters).'] = 'La password non è corretta (stringa alfanumerica di almeno 8 caratteri)';
$_LANG['The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form'] = 'Il file inviato supera la dimensione massima autorizzata.';
$_LANG['The uploaded file exceeds the upload_max_filesize directive in php.ini'] = 'Il file inviato supera la dimensione massima autorizzata.';
$_LANG['The uploaded file was only partially uploaded'] = 'Il file è stato parzialmente inviato.';
$_LANG['There is no older version. Did you delete or rename the config/settings.inc.php file?'] = 'Nessuna versione precedente. Hai cancellato o rinominato il file settings.inc.php della cartella config ?';
$_LANG['This PrestaShop database already exists. Please revalidate your authentication informations to the database.'] = 'Questo database PrestaShop esiste già. Inserisci di nuovo i tuoi dati di login nel database.';
$_LANG['This application need you to activate Javascript to correctly work.'] = 'E\' richiesto JavaScript per lanciare questa applicazione.';
$_LANG['This email adress is wrong!'] = 'Indirizzo errato!';
$_LANG['This installer is too old.'] = 'Questo installatore è troppo vecchio.';
$_LANG['This is a test message, your server is now available to send email'] = 'Questo è un messaggio di testo. Il tuo server è adesso impostato per inviare e-mail.';
$_LANG['This is not a valid file name.'] = 'Non è un nome valido';
$_LANG['This is not a valid image file.'] = 'Non è un\'immagine valida';
$_LANG['Too long!'] = 'Troppo lungo!';
$_LANG['Unfortunately,'] = 'Purtroppo,';
$_LANG['Update is complete!'] = 'Aggiornamento terminato!';
$_LANG['Upgrade: get the latest stable version!'] = 'Aggiornamento installa l\'ultima versione di PrestaShop';
$_LANG['Verify now!'] = 'Prova la connessione SQL';
$_LANG['Verify system compatibility'] = 'Compatibilità sistema';
$_LANG['WARNING: For more security, you must delete the \'install\' folder and readme files (readme_fr.txt, readme_en.txt, readme_es.txt, readme_de.txt, readme_it.txt, CHANGELOG).'] = 'ATTENZIONE: per motivi di sicurezza, adesso devi cancellare la cartella \'install\' e i file readme (readme_fr.txt, readme_en.txt, readme_es.txt, readme_de.txt, readme_it.txt, CHANGELOG).';
$_LANG['Warning: a manual backup is HIGHLY recommended before continuing!'] = 'Attenzione: E\' FONDAMENTALE un backup manuale prima di continuare l\'aggiornamento dell\'applicazione Prestashop, al fine di evitare la perdita accidentale di dati.';
$_LANG['Welcome'] = 'Benvenuto';
$_LANG['Welcome to the PrestaShop '.INSTALL_VERSION.' Installer.'] = 'Benvenuto nell\'installazione di PrestaShop '.INSTALL_VERSION;
$_LANG['When your files and database are saving in an other support, please certify that your shop is really backed up.'] = 'Una volta salvati i tuoi file applicazione e il database, ti chiederemo di certificarlo. Così facendo, ti assumerai tutte le responsabilità per qualsiasi perdita di dati dovuti ad un aggiornamento del software PrestaShop.';
$_LANG['Write permissions on folders (and subfolders):'] = 'Scrivi i permessi sulle cartelle (e le loro sottocartelle):';
$_LANG['Write permissions on files and folders:'] = 'Permessi di scrittura su file e cartelle:';
$_LANG['Write permissions on folders:'] = 'Permessi di scrittura sulle cartelle';
$_LANG['You already have the ".INSTALL_VERSION." version.'] = 'Sei già in possesso della versione ".INSTALL_VERSION."';
$_LANG['You have just installed and configured PrestaShop as your online shop solution. We wish you all the best with the success of your online shop.'] = 'Hai appena installato e configurato il tuo negozio online, grazie.';
$_LANG['You have just updated and configured PrestaShop as your online shop solution. We wish you all the best with the success of your online shop.'] = 'Hai appena aggiornato il tuo negozio online. Grazie.';
$_LANG['Your installation is finished!'] = 'Installazione terminata!';
$_LANG['Your update is finished!'] = 'Aggiornamento terminato';
$_LANG['and/or'] = 'e/o';
$_LANG['enter@your.email'] = 'inserisci@tua.email';
$_LANG['online documentation'] = 'documentazione online';
$_LANG['installed version detected'] = 'versione attuale individuata';
$_LANG['recommended dimensions: 230px X 75px'] = 'Dimensioni suggerite: 230px x 75px';
$_LANG['view the log'] = 'visualizza rapporto';
$_LANG['(no old version detected)'] = '(nessuna versione vecchia individuata)';
$_LANG['Can\'t write settings file, please create a file named settings.inc.php in config directory.'] = 'Il file dei parametri non è stato scritto, crea un file denominato settings.inc.php nella tua directory di configurazione.';
$_LANG['Cannot convert your database\'s data to utf-8.'] = 'Impossibile convertire i dati del tuo database in utf-8.';
$_LANG['Your database server does not support the utf-8 charset.'] = 'Il tuo server di database non supporta il charset utf-8.';
$_LANG['Need help?'] = 'Hai bisogno di aiuto?';
$_LANG['All tips and advice about PrestaShop'] = 'Tutte le astuzie e i consigli su PrestaShop';
$_LANG['Forum'] = 'Il forum';
$_LANG['Blog'] = 'Il blog';
$_LANG['Back Office'] = 'Back Office';
$_LANG['Manage your store with your back office. Manage your orders and customers, add modules, change your theme, etc...'] = 'Amministra il tuo negozio con il tuo back office. Gestisci ordini e clienti, aggiungi moduli, modifica il tuo tema, etc....';
$_LANG['Manage your store'] = 'Gestisci il tuo negozio';
$_LANG['Front Office'] = 'Front Office';
$_LANG['Find your store as your future customers will see!'] = 'Scopri il tuo negozio come lo vedranno i tuoi futuri clienti!';
$_LANG['Discover your store'] = 'Scopri il mio negozio';
$_LANG['Did you know?'] = 'Lo sapevi?';
$_LANG['Prestashop and community offers over 40 different languages for free download on'] = 'Prestashop e la sua comunità propongono più di 40 lingue diverse in download gratuito su';
$_LANG['Default country:'] = 'Nazione di default:';
$_LANG['Shop\'s timezone:'] = 'Fuso orario del negozio:';
$_LANG['Your configuration is valid, click next to continue!'] = 'La tua configurazione è valida,<br />clicca su successivo per continuare!';
$_LANG['Your configuration is invalid. Please fix the issues below:'] = 'La tua configurazione non è valida,<br />correggi questi problemi:';
$_LANG['You have to create a database, help available in readme_en.txt'] = 'Devi prima creare un database (aiuto disponibile nel file readme.txt)';
$_LANG['If you check this box and your mail configuration is wrong, your installation might be blocked. If so, please uncheck the box to go to the next step.'] = 'Se la tua configurazione e-mail è errata, questa opzione può essere bloccata; disattivala se non puoi passare alla fase successiva.';
$_LANG['Mcrypt is available (recommended)'] = 'Mcrypt è disponibile (consigliato)';
$_LANG['Your MySQL server doesn\'t support this engine, please use another one like MyISAM'] = 'Il supporto di questo motore di database non è supportato, scegline un altro come MyISAM';
$_LANG['Adult'] = 'Adulti e indumenti intimi';
$_LANG['Animals and Pets'] = 'Animali';
$_LANG['Art and Culture'] = 'Cultura e svaghi';
$_LANG['Babies'] = 'Articoli per bambini';
$_LANG['Beauty and Personal Care'] = 'Salute e bellezza';
$_LANG['Cars'] = 'Auto e moto';
$_LANG['Computer Hardware and Software'] = 'Informatica e software';
$_LANG['Download'] = 'Download';
$_LANG['Fashion and accessories'] = 'Abiti e accessori';
$_LANG['Flowers, Gifts and Crafts'] = 'Fiori e regali';
$_LANG['Food and beverage'] = 'Alimentazione e gastronomia';
$_LANG['HiFi, Photo and Video'] = 'Hifi, foto e video';
$_LANG['Home and Garden'] = 'Casa e giardinaggio';
$_LANG['Home Appliances'] = 'Elettrodomestici';
$_LANG['Jewelry'] = 'Gioielleria';
$_LANG['Mobile and Telecom'] = 'Telefonia e comunicazioni';
$_LANG['Services'] = 'Servizi';
$_LANG['Shoes and accessories'] = 'Scarpe e accessori';
$_LANG['Sport and Entertainment'] = 'Sport e divertimenti';
$_LANG['Travel'] = 'Viaggi e turismo';
$_LANG['Main activity:'] = 'Attività principale';
$_LANG['-- Please choose your main activity --'] = '-- Scegli un\'attività --';
$_LANG['A question about PrestaShop or issues during installation or upgrade? Call us!'] = 'Hai domande su PrestaShop o un problema per l\'installazione o l\'aggiornamento? Chiamaci!';
$_LANG['Invalid catalog mode'] = 'Campo modalità catalogo non valido';
$_LANG['Catalog mode:'] = 'Modalità catalogo:';
$_LANG['Yes'] = 'Sì';
$_LANG['No'] = 'No';
$_LANG['If you activate this feature, all purchase features will be disabled. You can activate this feature later in your back office'] = 'Se attivi questa opzione, tutte le funzioni di acquisto saranno disattivate. Potrai attivare questa opzione più tardi nel tuo back-office';
$_LANG['the already installed version detected is too recent, no update available'] = 'la versione già installata individuata è troppo recente, nessun aggiornamento disponibile';
$_LANG['This information isn\'t required, it will be used for statistical purposes. This information doesn\'t change anything in your store.'] = 'Queste informazioni non sono obbligatorie, saranno utilizzate a fini statistici. Queste informazioni non cambieranno nulla nel tuo negozio.';
$_LANG['If you do not know how to enable it, use our turnkey solution PrestaBox at'] = 'Se non sai come abilitarlo, usa la nostra soluzione innovativa PrestaBox su';
$_LANG['Invalid shop name'] = 'nome negozio non valido';
$_LANG['Your firstname contains some invalid characters'] = 'Il tuo nome contiene dei caratteri non validi';
$_LANG['Your lastname contains some invalid characters'] = 'Il tuo cognome contiene dei caratteri non validi';
$_LANG['The file /img/logo.jpg is not writable, please CHMOD 755 this file or CHMOD 777'] = 'Il file /img/logo.jpg non ?scrivibile, ti preghiamo di effettuare CHMOD 755 oppure CHMOD 777';
$_LANG['the already installed version detected is too old, no more update available'] = 'La versione già installata individuata è troppo vecchia, non ci sono più aggiornamenti disponibili';
$_LANG['If you do not know how to fix these issues, use turnkey solution PrestaBox at'] = 'Se non sai come correggere questi problemi, usa la soluzione innovativa PrestaBox su';
$_LANG['Database Engine:'] = 'Motore database';
$_LANG['Installation type'] = 'Tipo di installazione';
$_LANG['Simple mode: Basic installation'] = 'Modalità semplice: installazione base';
$_LANG['(FREE)'] = '(GRATUITO)';
$_LANG['Full mode: includes'] = 'Modalità completa: include';
$_LANG['100+ additional modules'] = 'Più di 100 moduli aggiuntivi';
$_LANG['and demo products'] = 'e prodotti demo';
$_LANG['(FREE too!)'] = 'GRATUITI!';
$_LANG['Shop configuration'] = 'Configurazione negozio';
$_LANG['I certify that I backed up my database and application files. I assume all responsibility for any data loss or damage related to this upgrade.'] = 'Dichiaro di aver effettuato il backup del mio database e dei file di applicazione. Mi assumo tutte le responsabilità per qualsiasi perdita dei dati o danni relativi a questo aggiornamento';
$_LANG['Upgrade in progress'] = 'Aggiornamento in corso';
$_LANG['Current query:'] = 'Domanda attuale';
$_LANG['Details about this upgrade'] = 'Dettagli su questo aggiornamento';
$_LANG['Thank you, you will be able to continue the upgrade process by clicking on the "Next" button.'] = 'Grazie, potrai continuare il processo di aggiornamento cliccando sul tasto “Successivo”.';
$_LANG['PrestaShop is upgrading your shop one version after the other, the following upgrade files will be processed:'] = 'Prestashop sta aggiornando il tuo negozio una versione dopo l\'altra; saranno elaborati i seguenti file di aggiornamento:';
$_LANG['Upgrade file'] = 'Aggiorna file';
$_LANG['Modifications to process'] = 'Modifiche da elaborare';
$_LANG['(major)'] = '(maggiore)';
$_LANG['TOTAL'] = 'TOTALE';
$_LANG['Estimated time to complete the'] = 'Tempo previsto per completare';
$_LANG['modifications:'] = 'modifiche:';
$_LANG['minutes'] = 'minuti';
$_LANG['minute'] = 'minuto';
$_LANG['seconds'] = 'secondi';
$_LANG['second'] = 'secondo';
$_LANG['Depending on your server and the size of your shop'] = 'In base al tuo server e alle dimensioni del tuo negozio';
$_LANG['You did not update your shop for a while,'] = 'E\' da un po\' di tempo che non aggiorni il tuo negozio';
$_LANG['major releases have been made available since.'] = 'Sono state messe a disposizione importanti novità';
$_LANG['This is not a problem however the update may take several minutes, try to update your shop more frequently.'] = 'Questo non è un problema, comunque laggiornamento può impiegare diversi minuti: cerca di aggiornare il tuo negozio più spesso';
$_LANG['No files to process, this might be an error.'] = 'Nessun file da elaborare, potrebbe esserci un errore';
$_LANG['Hosting parameters'] = 'Parametri host';
$_LANG['PrestaShop tries to automatically set the best settings for your server in order the update to be successful.'] = 'PrestaShop cerca di impostare automaticamente le migliori configurazioni per il tuo server in modo che laggiornamento riesca con successo.';
$_LANG['PHP parameter'] = 'Parametro PHP';
$_LANG['Description'] = 'Descrizione';
$_LANG['Current value'] = 'Valuta attuale';
$_LANG['Maximum allowed time for the upgrade'] = 'Tempo massimo concesso per l\'aggiornamento';
$_LANG['Maximum memory allowed for the upgrade'] = 'Memoria massima concessa per l\'aggiornamento';
$_LANG['All your settings seem to be OK, go for it!'] = 'Tutte le impostazioni sembrano OK, procedi pure!';
$_LANG['Beware, your settings look correct but are not optimal, if you encounter problems (upgrade too long, memory error...), please ask your hosting provider to increase the values of these parameters (max_execution_time & memory_limit).'] = 'Attenzione, le tue impostazioni sembrano corrette ma non ottimali; se incontrassi dei problemi (aggiornamento troppo lungo, errore di memoria...), chiedi al tuo host di aumentare i valori di questi parametri (tempo massimo di esecuzione e limite di memoria).';
$_LANG['We strongly recommend that you inform your hosting provider to modify the settings before process to the update.'] = 'Ti suggeriamo di informare il tuo host in modo da modificare le impostazioni prima di iniziare laggiornamento.';
$_LANG['Let\'s go!'] = 'Via!';
$_LANG['Click on the "Next" button to start the upgrade, this can take several minutes,'] = 'Clicca sul tasto “Successivo” per iniziare laggiornamento; potrebbero volerci alcuni minuti,';
$_LANG['do not close the window and be patient.'] = 'non chiudere la finestra e attendi';
$_LANG['Your update is completed!'] = 'L\'aggiornamento è completo!';
$_LANG['Your shop version is now'] = 'La tua versione adesso è';
$_LANG['New features in PrestaShop v'] = 'Nuove caratteristiche in PrestaShop v';
$_LANG['In this aim, use our'] = 'A questo scopo, utilizzare il nostro';
-53
View File
@@ -1,53 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<languages>
<lang id="0" label="English" trad_file="/../langs/us.php">
<flags>
<url>../img/l/1.jpg</url>
</flags>
<isos>
<iso>en-us</iso>
</isos>
<idLangPS>en</idLangPS>
</lang>
<lang id="1" label="Français (French)" trad_file="/../langs/fr.php" >
<flags>
<url>../img/l/2.jpg</url>
</flags>
<isos>
<iso>fr-fr</iso>
<iso>fr</iso>
</isos>
<idLangPS>fr</idLangPS>
</lang>
<lang id="2" label="Español (Spanish)" trad_file="/../langs/es.php" >
<flags>
<url>../img/l/3.jpg</url>
</flags>
<isos>
<iso>es-es</iso>
<iso>es</iso>
</isos>
<idLangPS>es</idLangPS>
</lang>
<lang id="3" label="Deutsch (German)" trad_file="/../langs/de.php" >
<flags>
<url>../img/l/4.jpg</url>
</flags>
<isos>
<iso>de-de</iso>
<iso>de</iso>
</isos>
<idLangPS>de</idLangPS>
</lang>
<lang id="4" label="Italiano (Italian)" trad_file="/../langs/it.php" >
<flags>
<url>../img/l/5.jpg</url>
</flags>
<isos>
<iso>it-it</iso>
<iso>it</iso>
</isos>
<idLangPS>it</idLangPS>
</lang>
</languages>
-85
View File
@@ -1,85 +0,0 @@
<?php
$_LANG['Installer'] = 'Installer';
$_LANG['Updater'] = 'Updater';
$_LANG['A mail has been sended!'] = 'A mail has been sent';
$_LANG['An error occurred while sending mail, please verify your parameters.'] = 'An error occurred while sending mail. Please verify your parameters.';
$_LANG['And now, discover your new store and Back Office'] = 'Take me to my new Front Office (online store) or Back Office (admin tool)';
$_LANG['By default, the PHP \'mail()\' function is used'] = 'By default, the PHP \'mail()\' function is used. For more functionality, manual SMTP configuration is recommended.';
$_LANG['Can\'t find the sql upgrade files. Please verify that the /install/sql/upgrade folder is not empty)'] = 'Can\'t find the SQL upgrade files. Please verify that the /install/sql/upgrade folder is not empty.';
$_LANG['Can\'t create settings file, if /config/settings.inc.php exists, please give the public write permissions to this file, else please create a file named settings.inc.php in config directory.'] = 'Can\'t create settings file, if /config/settings.inc.php exists, please give the public write permissions to this file, else please create a file named settings.inc.php in config directory.';
$_LANG['Congratulation, your online shop is now ready!'] = 'Congratulations, your online store is now ready to open!';
$_LANG['Create new files and folders allowed'] = 'Allowed to create new files and folders';
$_LANG['Database Server is not found. Please verify the login, password and server fields.'] = 'Database server was not found. Please verify the login, password, and database server name fields.';
$_LANG['Database connection is available!'] = 'Database is connected.';
$_LANG['Database is created!'] = 'Database has been created.';
$_LANG['Enter the url to enter into the Back Office'] = 'Add the directory name of the Back Office to your shop\'s URL';
$_LANG['Error while loading sql upgrade file.'] = 'Error while loading SQL upgrade file';
$_LANG['Fields are different!'] = 'Fields don\'t match';
$_LANG['File upload allowed'] = 'Allowed to upload files';
$_LANG['GD Library installed'] = 'GD Library is installed';
$_LANG['GZIP compression is on (recommended)'] = 'GZIP compression is on (recommended)';
$_LANG['Here are your shop information. You can modify them once logged in.'] = 'Below are your shop details. You can modify these after logging in to the Back Office.';
$_LANG['Impossible the access the a MySQL content file.'] = 'Unable to access the MySQL content file.';
$_LANG['Impossible to read the content of a MySQL content file.'] = 'Unable to read the content an MySQL content file.';
$_LANG['Impossible to send the mail!'] = 'Unable to send the e-mail.';
$_LANG['Impossible to upload the file!'] = 'Unable to upload file.';
$_LANG['Installation : complete install of the PrestaShop Solution'] = 'Installation: Full installation of the PrestaShop™ e-Commerce Solution';
$_LANG['Merchant info'] = 'Merchant admin info';
$_LANG['Your Back Office'] = 'Your Back Office';
$_LANG['Your shop'] = 'Your Front Office';
$_LANG['No upgrade is possible.'] = 'No update available';
$_LANG['One or more errors have occurred...'] = 'One or more errors have occurred';
$_LANG['Open external URLs allowed'] = 'Allowed to open external URLs';
$_LANG['PHP parameters:'] = 'PHP settings (modify via your PHP admin software):';
$_LANG['PHP register global option is off (recommended)'] = 'PHP register global option is off (recommended)';
$_LANG['Password:'] = 'Password:';
$_LANG['Please set a SMTP login'] = 'Please enter the SMTP login';
$_LANG['Please set a SMTP password'] = 'Please enter the SMTP password';
$_LANG['Please set a SMTP server name'] = 'Please enter the SMTP server name';
$_LANG['Please set a database login'] = 'Please enter the database login';
$_LANG['Please set a database name'] = 'Please enter the database name';
$_LANG['Please set a database server name'] = 'Please enter the database server name';
$_LANG['PrestaShop '.INSTALL_VERSION.' Installer'] = 'PrestaShop™ v'.INSTALL_VERSION.' Installer';
$_LANG['PrestaShop is ready!'] = 'Congratulations!';
$_LANG['Required set-up. Please make sure the following checklist items are true.'] = 'The following settings are required. Please make sure the following checklist items are true.';
$_LANG['SMTP connection is available!'] = 'SMTP connection successful';
$_LANG['SMTP connection is unavailable'] = 'SMTP connection not successful';
$_LANG['Select the different languages available for your shop'] = 'Add languages available to shop visitors';
$_LANG['Send me a test email!'] = 'Send me a test e-mail';
$_LANG['Server:'] = 'Database server name:';
$_LANG['Shop\'s default language'] = 'Your shop\'s default language';
$_LANG['Shop\'s languages'] = 'Shop languages';
$_LANG['Surname'] = 'Last Name';
$_LANG['Tables prefix:'] = 'PrestaShop database tables prefix:';
$_LANG['Test message - Prestashop'] = 'Test message from PrestaShop';
$_LANG['The config/settings.inc.php file was not found. Did you delete or rename this file?'] = 'The config/settings.inc.php file was not found. The file may have been deleted or renamed.';
$_LANG['The password is incorrect (alphanumeric string at least 8 characters).'] = 'Password is incorrect (alphanumeric string at least 8 characters).';
$_LANG['This PrestaShop database already exists. Please revalidate your authentication informations to the database.'] = 'This PrestaShop database already exists. Please re-enter your database login information.';
$_LANG['This email adress is wrong!'] = 'Invalid e-mail address';
$_LANG['This installer is too old.'] = 'This installer is for an older version of PrestaShop';
$_LANG['This is a test message, your server is now available to send mail'] = 'This is a test message. Your server is now set up to send e-mail.';
$_LANG['This is not a valid file name.'] = 'Invalid file name';
$_LANG['This is not a valid image file.'] = 'Invalid image file';
$_LANG['Too long!'] = 'Too long';
$_LANG['Upgrade: get the latest stable version!'] = 'Update: Get the latest stable version';
$_LANG['Verify system compatibility'] = 'System Compatibility';
$_LANG['WARNING: For more security, you must delete the \'install\' folder.'] = 'WARNING! For security reasons, you must now delete the \'install\' folder located on your hosting server.';
$_LANG['Warning: a manual backup is HIGHLY recommended before continuing!'] = 'WARNING! A manual backup is HIGHLY recommended before continuing.';
$_LANG['Welcome'] = 'Welcome!';
$_LANG['Welcome to the PrestaShop '.INSTALL_VERSION.' Installer.'] = 'Welcome to the PrestaShop™ v'.INSTALL_VERSION.' Installer wizard.';
$_LANG['When your files and database are saving in an other support, please certify that your shop is really backed up.'] = 'Once your application files and database have been saved, we ask you to certify it. By doing so, you assume all responsability for any data loss due to an update of PrestaShop software.';
$_LANG['Write permissions on folders (and subfolders):'] = 'Write permissions on folders and subfolders/recursively:';
$_LANG['Write permissions on folders:'] = 'Write permissions on folders (do not apply recursively/to subfolders):';
$_LANG['You already have the '.INSTALL_VERSION.' version.'] = 'Version v'.INSTALL_VERSION.' is already installed.';
$_LANG['Your installation is finished!'] = 'Installation is complete!';
$_LANG['Your update is finished!'] = 'Update is finished!';
$_LANG['recommended dimensions: 230px X 75px'] = 'Recommended size: 230x75 px';
$_LANG['view the log'] = 'View the log';
$_LANG['the already installed version detected is too old, no more update available'] = 'The existing installation of PrestaShop is outdated. No updates are available';
$_LANG['Reunion'] = 'Réunion';
$_LANG['Saint Barthelemy'] = 'Saint Barthélemy';
$_LANG['Sao Tome and Principe'] = 'São Tomé and Príncipe';
$_LANG['Aland Islands'] = 'Åland Islands';
-81
View File
@@ -1,81 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
@set_time_limit(0);
@ini_set('max_execution_time', '0');
@ini_set('memory_limit', '64M');
require(dirname(__FILE__).'/../config/autoload.php');
/* Redefine REQUEST_URI if empty (on some webservers...) */
if (!isset($_SERVER['REQUEST_URI']) || $_SERVER['REQUEST_URI'] == '')
$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'];
if ($tmp = strpos($_SERVER['REQUEST_URI'], '?'))
$_SERVER['REQUEST_URI'] = substr($_SERVER['REQUEST_URI'], 0, $tmp);
$_SERVER['REQUEST_URI'] = str_replace('//', '/', $_SERVER['REQUEST_URI']);
define('INSTALL_VERSION', '1.4.1.0');
define('INSTALL_PATH', dirname(__FILE__));
define('PS_INSTALLATION_IN_PROGRESS', true);
include_once(INSTALL_PATH.'/classes/ToolsInstall.php');
define('SETTINGS_FILE', INSTALL_PATH.'/../config/settings.inc.php');
define('DEFINES_FILE', INSTALL_PATH.'/../config/defines.inc.php');
define('INSTALLER__PS_BASE_URI', substr($_SERVER['REQUEST_URI'], 0, -1 * (strlen($_SERVER['REQUEST_URI']) - strrpos($_SERVER['REQUEST_URI'], '/')) - strlen(substr(dirname($_SERVER['REQUEST_URI']), strrpos(dirname($_SERVER['REQUEST_URI']), '/')+1))));
define('INSTALLER__PS_BASE_URI_ABSOLUTE', 'http://'.ToolsInstall::getHttpHost(false, true).INSTALLER__PS_BASE_URI);
// XML Header
header('Content-Type: text/xml');
// Switching method
if(isset($_GET['method']))
{
switch ($_GET['method'])
{
case 'checkConfig' :
include_once('xml/checkConfig.php');
break;
case 'checkDB' :
include_once('xml/checkDB.php');
break;
case 'createDB' :
include_once('xml/createDB.php');
break;
case 'checkMail' :
include_once('xml/checkMail.php');
break;
case 'checkShopInfos' :
include_once('xml/checkShopInfos.php');
break;
case 'doUpgrade' :
include_once('xml/doUpgrade.php');
break;
}
}
-37
View File
@@ -1,37 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function moduleReinstaller($moduleName, $force = false)
{
$module = Module::getInstanceByName($moduleName);
if (!is_object($module))
die(Tools::displayError());
if ($module->id AND ($module->uninstall() OR $force))
return $module->install();
return false;
}
-58
View File
@@ -1,58 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function add_module_to_hook($module_name, $hook_name)
{
$result = false;
$id_module = Db::getInstance()->getValue('
SELECT `id_module` FROM `'._DB_PREFIX_.'module`
WHERE `name` = \''.pSQL($module_name).'\''
);
if ((int)$id_module > 0)
{
$id_hook = Db::getInstance()->getValue('
SELECT `id_hook` FROM `'._DB_PREFIX_.'hook` WHERE `name` = \''.pSQL($hook_name).'\'
');
if ((int)$id_hook > 0)
{
$result = Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'hook_module` (`id_module`, `id_hook`, `position`)
VALUES (
'.(int)$id_module.',
'.(int)$id_hook.',
(SELECT IFNULL(
(SELECT max_position from (SELECT MAX(position)+1 as max_position FROM `'._DB_PREFIX_.'hook_module` WHERE `id_hook` = '.(int)$id_hook.') AS max_position), 1))
)');
}
}
return $result;
}
-59
View File
@@ -1,59 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function add_new_tab($className, $name, $id_parent)
{
$array = array();
foreach (explode('|', $name) AS $item)
{
$temp = explode(':', $item);
$array[$temp[0]] = $temp[1];
}
if (!(int)Db::getInstance()->getValue('SELECT count(id_tab) FROM `'._DB_PREFIX_.'tab` WHERE `class_name` = \''.pSQL($className).'\' '))
Db::getInstance()->Execute('INSERT INTO `'._DB_PREFIX_.'tab` (`id_parent`, `class_name`, `module`, `position`) VALUES ('.(int)$id_parent.', \''.pSQL($className).'\', \'\',
(SELECT MAX(t.position)+ 1 FROM `'._DB_PREFIX_.'tab` t WHERE t.id_parent = '.(int)$id_parent.'))');
foreach (Language::getLanguages() AS $lang)
{
Db::getInstance()->Execute('
INSERT IGNORE INTO `'._DB_PREFIX_.'tab_lang` (`id_lang`, `id_tab`, `name`)
VALUES ('.(int)$lang['id_lang'].', (
SELECT `id_tab`
FROM `'._DB_PREFIX_.'tab`
WHERE `class_name` = \''.pSQL($className).'\' LIMIT 0,1
), \''.pSQL(isset($array[$lang['iso_code']]) ? $array[$lang['iso_code']] : $array['en']).'\')
');
}
Db::getInstance()->Execute('INSERT IGNORE INTO `'._DB_PREFIX_.'access` (`id_profile`, `id_tab`, `view`, `add`, `edit`, `delete`)
(SELECT `id_profile`, (
SELECT `id_tab`
FROM `'._DB_PREFIX_.'tab`
WHERE `class_name` = \''.pSQL($className).'\' LIMIT 0,1
), 1, 1, 1, 1 FROM `'._DB_PREFIX_.'profile` )');
}
-21
View File
@@ -1,21 +0,0 @@
<?php
function admin_stores_tab()
{
if (!Db::getInstance()->ExecuteS('SELECT * FROM `'._DB_PREFIX_.'tab` WHERE `class_name` = \'AdminStores\''))
{
Db::getInstance()->Execute('INSERT INTO `'._DB_PREFIX_.'tab` (`class_name`, `id_parent`, `position`) VALUES (\'AdminStores\', 0, 11)');
Db::getInstance()->Execute('INSERT INTO `'._DB_PREFIX_.'tab_lang` (`id_lang`, `id_tab`, `name`)
VALUES
(1, (SELECT `id_tab` FROM `'._DB_PREFIX_.'tab` WHERE `class_name` = \'AdminStores\'), \'Stores\'),
(2, (SELECT `id_tab` FROM `'._DB_PREFIX_.'tab` WHERE `class_name` = \'AdminStores\'), \'Magasins\'),
(3, (SELECT `id_tab` FROM `'._DB_PREFIX_.'tab` WHERE `class_name` = \'AdminStores\'), \'Tiendas\')');
Db::getInstance()->Execute('INSERT INTO `'._DB_PREFIX_.'access` (`id_profile`, `id_tab`, `view`, `add`, `edit`, `delete`) (
SELECT `id_profile`, (SELECT `id_tab` FROM `'._DB_PREFIX_.'tab` WHERE `class_name` = \'AdminStores\' LIMIT 1), 1, 1, 1, 1 FROM `'._DB_PREFIX_.'profile`
)');
}
}
-36
View File
@@ -1,36 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function alter_blocklink()
{
// No one will know if the table does not exist :] Thanks Damien for your solution ;)
DB::getInstance()->Execute('ALTER TABLE `'._DB_PREFIX_.'blocklink_lang` CHANGE `id_link` `id_blocklink` INT( 10 ) UNSIGNED NOT NULL');
DB::getInstance()->Execute('ALTER TABLE `'._DB_PREFIX_.'blocklink` CHANGE `id_link` `id_blocklink` INT( 10 ) UNSIGNED NOT NULL');
}
-40
View File
@@ -1,40 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function alter_cms_block()
{
// No one will know if the table does not exist :] Thanks Damien for your solution ;)
DB::getInstance()->Execute('ALTER TABLE `'._DB_PREFIX_.'cms_block_lang` CHANGE `id_block_cms` `id_cms_block` INT( 10 ) UNSIGNED NOT NULL');
DB::getInstance()->Execute('ALTER TABLE `'._DB_PREFIX_.'cms_block` CHANGE `id_block_cms` `id_cms_block` INT( 10 ) UNSIGNED NOT NULL');
DB::getInstance()->Execute('ALTER TABLE `'._DB_PREFIX_.'cms_block_page` CHANGE `id_block_cms` `id_cms_block` INT( 10 ) UNSIGNED NOT NULL');
DB::getInstance()->Execute('ALTER TABLE `'._DB_PREFIX_.'cms_block_page` CHANGE `id_block_cms_page` `id_cms_block_page` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT');
}
-33
View File
@@ -1,33 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function blocknewsletter()
{
// No one will know if the table does not exist :]
DB::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'newsletter ADD `http_referer` VARCHAR(255) NULL');
}
-33
View File
@@ -1,33 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function cms_block()
{
if (!Db::getInstance()->execute('SELECT `display_store` FROM `'._DB_PREFIX_.'cms_block` LIMIT 1'))
return Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'cms_block` ADD `display_store` TINYINT NOT NULL DEFAULT \'1\'');
return true;
}
-48
View File
@@ -1,48 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function configuration_double_cleaner()
{
$result = Db::getInstance()->ExecuteS('
SELECT name, MIN(id_configuration) AS minid
FROM '._DB_PREFIX_.'configuration
GROUP BY name
HAVING count(name) > 1');
foreach ($result as $row)
{
DB::getInstance()->Execute('
DELETE FROM '._DB_PREFIX_.'configuration
WHERE name = \''.addslashes($row['name']).'\'
AND id_configuration != '.(int)($row['minid']));
}
DB::getInstance()->Execute('
DELETE FROM '._DB_PREFIX_.'configuration_lang
WHERE id_configuration NOT IN (
SELECT id_configuration
FROM '._DB_PREFIX_.'configuration)');
}
-39
View File
@@ -1,39 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
$country = DateTimeZone::listIdentifiers(DateTimeZone::PER_COUNTRY, $_GET['country']);
$special = array(
'US' => 'US/Eastern',
'RU' => 'Europe/Moscow'
);
if (!empty($_GET['country']) AND !empty($special[$_GET['country']]))
$country[0] = $special[$_GET['country']];
if(isset($country[0]))
echo $country[0];
-44
View File
@@ -1,44 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
define('_CONTAINS_REQUIRED_FIELD_', 2);
function add_required_customization_field_flag()
{
if (($result = Db::getInstance()->ExecuteS('SELECT `id_product` FROM `'._DB_PREFIX_.'customization_field` WHERE `required` = 1')) === false)
return false;
if (Db::getInstance()->numRows())
{
$productIds = array();
foreach ($result AS $row)
$productIds[] = (int)($row['id_product']);
if (!Db::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'product` SET `customizable` = '._CONTAINS_REQUIRED_FIELD_.' WHERE `id_product` IN ('.implode(', ', $productIds).')'))
return false;
}
return true;
}
-47
View File
@@ -1,47 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function group_reduction_column_fix()
{
if (!Db::getInstance()->execute('SELECT `group_reduction` FROM `'._DB_PREFIX_.'order_detail` LIMIT 1'))
return Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'order_detail` ADD `group_reduction` DECIMAL(10, 2) NOT NULL AFTER `reduction_amount`');
return true;
}
function ecotax_tax_application_fix()
{
if (!Db::getInstance()->execute('SELECT `ecotax_tax_rate` FROM `'._DB_PREFIX_.'order_detail` LIMIT 1'))
return Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'order_detail` ADD `ecotax_tax_rate` DECIMAL(5, 3) NOT NULL AFTER `ecotax`');
return true;
}
function id_currency_country_fix()
{
if (!Db::getInstance()->execute('SELECT `id_currency` FROM `'._DB_PREFIX_.'country` LIMIT 1'))
return Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'country` ADD `id_currency` INT NOT NULL DEFAULT \'0\' AFTER `id_zone`');
return true;
}
-55
View File
@@ -1,55 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function delivery_number_set()
{
Configuration::loadConfiguration();
$number = 1;
// Update each order with a number
$result = Db::getInstance()->ExecuteS('
SELECT id_order
FROM '._DB_PREFIX_.'orders
ORDER BY id_order');
foreach ($result as $row)
{
$order = new Order((int)($row['id_order']));
$history = $order->getHistory(false);
foreach ($history as $row2)
{
$oS = new OrderState((int)($row2['id_order_state']), Configuration::get('PS_LANG_DEFAULT'));
if ($oS->delivery)
{
Db::getInstance()->Execute('UPDATE '._DB_PREFIX_.'orders SET delivery_number = '.(int)($number++).', `delivery_date` = `date_add` WHERE id_order = '.(int)($order->id));
break ;
}
}
}
// Add configuration var
Configuration::updateValue('PS_DELIVERY_NUMBER', (int)($number));
}
@@ -1,71 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function desactivate_custom_modules()
{
// Get all modules then select only payment ones
$arrInstalledModules = Module::getModulesInstalled();
// get native module list
$module_list_xml = INSTALL_PATH.'/../config/modules_list.xml';
$nativeModules = simplexml_load_file($module_list_xml);
$nativeModules = $nativeModules->modules;
if ($nativeModules['type'] == 'native')
{
foreach ($nativeModules->module as $module)
$arrNativeModules[] = $module['name'].'';
}
$uninstallMe = array("rien");
foreach($arrInstalledModules as $aModule)
{
if(!in_array($aModule['name'],$arrNativeModules))
{
$uninstallMe[] = $aModule['name'];
}
}
Module::disableByName($uninstallMe);
foreach ($aModule AS $module)
{
$file = _PS_MODULE_DIR_.$module['name'].'/'.$module['name'].'.php';
if (!file_exists($file))
continue;
$fd = fopen($file, 'r');
if (!$fd)
continue ;
$content = fread($fd, filesize($file));
if (preg_match_all('/extends PaymentModule/U', $content, $matches))
{
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'module_country` (id_module, id_country)
SELECT '.(int)($module['id_module']).', id_country FROM `'._DB_PREFIX_.'country` WHERE active = 1');
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'module_currency` (id_module, id_currency)
SELECT '.(int)($module['id_module']).', id_currency FROM `'._DB_PREFIX_.'currency` WHERE deleted = 0');
}
fclose($fd);
}
}
-73
View File
@@ -1,73 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function editorial_update()
{
/*Table creation*/
if (Db::getInstance()->getValue('SELECT `id_module` FROM `'._DB_PREFIX_.'module` WHERE `name`="editorial"'))
{
Db::getInstance()->Execute('
CREATE TABLE `'._DB_PREFIX_.'editorial` (
`id_editorial` int(10) unsigned NOT NULL auto_increment,
`body_home_logo_link` varchar(255) NOT NULL,
PRIMARY KEY (`id_editorial`))
ENGINE=MyISAM DEFAULT CHARSET=utf8');
Db::getInstance()->Execute('
CREATE TABLE `'._DB_PREFIX_.'editorial_lang` (
`id_editorial` int(10) unsigned NOT NULL,
`id_lang` int(10) unsigned NOT NULL,
`body_title` varchar(255) NOT NULL,
`body_subheading` varchar(255) NOT NULL,
`body_paragraph` text NOT NULL,
`body_logo_subheading` varchar(255) NOT NULL,
PRIMARY KEY (`id_editorial`, `id_lang`))
ENGINE=MyISAM DEFAULT CHARSET=utf8');
if (file_exists(dirname(__FILE__).'/../../modules/editorial/editorial.xml'))
{
$xml = simplexml_load_file(dirname(__FILE__).'/../../modules/editorial/editorial.xml');
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'editorial`(`id_editorial`, `body_home_logo_link`) VALUES(1, "'.(isset($xml->body->home_logo_link) ? pSQL($xml->body->home_logo_link) : '').'")');
$languages = Db::getInstance()->ExecuteS('SELECT * FROM `'._DB_PREFIX_.'lang`');
foreach ($languages as $language)
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'editorial_lang` (`id_editorial`, `id_lang`, `body_title`, `body_subheading`, `body_paragraph`, `body_logo_subheading`)
VALUES (1, '.(int)($language['id_lang']).',
"'.(isset($xml->body->{'title_'.$language['id_lang']}) ? pSQL($xml->body->{'title_'.$language['id_lang']}) : '').'",
"'.(isset($xml->body->{'subheading_'.$language['id_lang']}) ? pSQL($xml->body->{'subheading_'.$language['id_lang']}) : '').'",
"'.(isset($xml->body->{'paragraph_'.$language['id_lang']}) ? pSQL($xml->body->{'paragraph_'.$language['id_lang']}, true) : '').'",
"'.(isset($xml->body->{'logo_subheading_'.$language['id_lang']}) ? pSQL($xml->body->{'logo_subheading_'.$language['id_lang']}) : '').'")');
unlink(dirname(__FILE__).'/../../modules/editorial/editorial.xml');
}
}
}
-31
View File
@@ -1,31 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function generate_ntree()
{
Category::regenerateEntireNtree();
}
-87
View File
@@ -1,87 +0,0 @@
<?php
function generate_tax_rules()
{
$taxes = Tax::getTaxes(Configuration::get('PS_LANG_DEFAULT'), true);
$countries = Country::getCountries(Configuration::get('PS_LANG_DEFAULT'));
foreach ($taxes AS $tax)
{
$insert = '';
$id_tax = $tax['id_tax'];
$group = new TaxRulesGroup();
$group->active = 1;
$group->name = 'Rule '.$tax['rate'].'%';
$group->save();
$id_tax_rules_group = $group->id;
$countries = Db::getInstance()->ExecuteS('
SELECT * FROM `'._DB_PREFIX_.'country` c
LEFT JOIN `'._DB_PREFIX_.'zone` z ON (c.`id_zone` = z.`id_zone`)
LEFT JOIN `'._DB_PREFIX_.'tax_zone` tz ON (tz.`id_zone` = z.`id_zone`)
WHERE `id_tax` = '.(int)$id_tax
);
if ($countries)
{
foreach ($countries AS $country)
{
$res = Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'tax_rule` (`id_tax_rules_group`, `id_country`, `id_state`, `state_behavior`, `id_tax`)
VALUES (
'.(int)$group->id.',
'.(int)$country['id_country'].',
0,
0,
'.(int)$id_tax.
')');
}
}
$states = Db::getInstance()->ExecuteS('
SELECT * FROM `'._DB_PREFIX_.'states s
LEFT JOIN `'._DB_PREFIX_.'tax_state ts ON (ts.`id_state` = s.`id_state`)
WHERE `id_tax` = '.(int)$id_tax
);
if ($states)
{
foreach ($states AS $state)
{
if (!in_array($state['tax_behavior'], array(PS_PRODUCT_TAX, PS_STATE_TAX, PS_BOTH_TAX)))
$tax_behavior = PS_PRODUCT_TAX;
else
$tax_behavior = $state['tax_behavior'];
$res = Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'tax_rule` (`id_tax_rules_group`, `id_country`, `id_state`, `state_behavior`, `id_tax`)
VALUES (
'.(int)$group->id.',
'.(int)$state['id_country'].',
'.(int)$state['id_state'].',
'.(int)$tax_behavior.',
'.(int)$id_tax.
')');
}
}
Db::getInstance()->Execute('
UPDATE `'._DB_PREFIX_.'product`
SET `id_tax_rules_group` = '.(int)$group->id.'
WHERE `id_tax` = '.(int)$id_tax
);
Db::getInstance()->Execute('
UPDATE `'._DB_PREFIX_.'carrier`
SET `id_tax_rules_group` = '.(int)$group->id.'
WHERE `id_tax` = '.(int)$id_tax
);
if (Configuration::get('SOCOLISSIMO_OVERCOST_TAX') == $id_tax)
Configuration::updateValue('SOCOLISSIMO_OVERCOST_TAX', $group->id);
}
}
-35
View File
@@ -1,35 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function gridextjs_deprecated()
{
if (file_exists(dirname(__FILE__).'/../../modules/gridextjs'))
return rename(dirname(__FILE__).'/../../modules/gridextjs', dirname(__FILE__).'/../../modules/gridextjs.deprecated');
return true;
}
-55
View File
@@ -1,55 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function invoice_number_set()
{
Configuration::loadConfiguration();
$number = 1;
// Update each order with a number
$result = Db::getInstance()->ExecuteS('
SELECT id_order
FROM '._DB_PREFIX_.'orders
ORDER BY id_order');
foreach ($result as $row)
{
$order = new Order((int)($row['id_order']));
$history = $order->getHistory(false);
foreach ($history as $row2)
{
$oS = new OrderState((int)($row2['id_order_state']), Configuration::get('PS_LANG_DEFAULT'));
if ($oS->invoice)
{
Db::getInstance()->Execute('UPDATE '._DB_PREFIX_.'orders SET invoice_number = '.(int)($number++).', `invoice_date` = `date_add` WHERE id_order = '.(int)($order->id));
break ;
}
}
}
// Add configuration var
Configuration::updateValue('PS_INVOICE_NUMBER', (int)($number));
}
-37
View File
@@ -1,37 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function moduleReinstaller($moduleName, $force = false)
{
$module = Module::getInstanceByName($moduleName);
if (!is_object($module))
die(Tools::displayError());
if ($module->uninstall() OR $force)
return $module->install();
return false;
}
-14
View File
@@ -1,14 +0,0 @@
<?php
function move_crossselling()
{
if (Db::getInstance()->ExecuteS('SELECT FROM `'._DB_PREFIX_.'module` WHERE `name` = \'crossselling\''))
{
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'hook_module` (`id_module`, `id_hook`, `position`)
VALUES ((SELECT `id_module` FROM `'._DB_PREFIX_.'module` WHERE `name` = \'crossselling\'), 9, (SELECT max_position FROM (SELECT MAX(position)+1 as max_position FROM `'._DB_PREFIX_.'hook_module` WHERE `id_hook` = 9) tmp))');
}
}
-48
View File
@@ -1,48 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
/* Convert product prices from the PS < 1.3 wrong rounding system to the new 1.3 one */
function convert_product_price()
{
$taxes = Tax::getTaxes();
$taxRates = array();
foreach ($taxes as $data)
$taxRates[$data['id_tax']] = (float)($data['rate']) / 100;
$resource = DB::getInstance()->ExecuteS('SELECT `id_product`, `price`, `id_tax` FROM `'._DB_PREFIX_.'product`', false);
while ($row = DB::getInstance()->nextRow($resource))
if ($row['id_tax'])
{
$price = $row['price'] * (1 + $taxRates[$row['id_tax']]);
$decimalPart = $price - (int)$price;
if ($decimalPart < 0.000001)
{
$newPrice = (float)(number_format($price, 6, '.', ''));
$newPrice = Tools::floorf($newPrice / (1 + $taxRates[$row['id_tax']]), 6);
DB::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'product` SET `price` = '.$newPrice.' WHERE `id_product` = '.(int)($row['id_product']));
}
}
}
@@ -1,46 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function regenerate_level_depth()
{
$category = new Category();
$cats = $category->getSimpleCategories((int)Configuration::get('PS_LANG_DEFAULT'));
foreach($cats as $cat)
{
$category = new Category((int)$cat['id_category']);
// if the category has no parent, it's the home
if ((int)$category->id_parent != 0)
{
$catParent = new Category((int)$category->id_parent);
$category->level_depth = $catParent->level_depth +1;
Db::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'category` SET `level_depth` = '.(int)$category->level_depth.' WHERE `id_category` = '.(int)$category->id);
}
}
Category::regenerateEntireNtree();
}
-71
View File
@@ -1,71 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function reorderpositions()
{
/* Clean products positions */
if ($cat = Category::getCategories(1, false, false))
foreach($cat AS $i => $categ)
Product::cleanPositions((int)$categ['id_category']);
//clean Category position and delete old position system
Language::loadLanguages();
$language = Language::getLanguages();
$cat_parent = Db::getInstance()->ExecuteS('SELECT DISTINCT c.id_parent FROM `'._DB_PREFIX_.'category` c WHERE id_category != 1');
foreach($cat_parent AS $parent)
{
$result = Db::getInstance()->ExecuteS('
SELECT DISTINCT c.*, cl.*
FROM `'._DB_PREFIX_.'category` c
LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = '.(int)(Configuration::get('PS_LANG_DEFAULT')).')
WHERE c.id_parent = '.(int)($parent['id_parent']).'
ORDER BY name ASC');
foreach($result AS $i => $categ)
{
$sizeof = sizeof($result);
for ($i = 0; $i < $sizeof; ++$i)
{
Db::getInstance()->Execute('
UPDATE `'._DB_PREFIX_.'category`
SET `position` = '.(int)($i).'
WHERE `id_parent` = '.(int)($categ['id_parent']).'
AND `id_category` = '.(int)($result[$i]['id_category']));
}
foreach($language AS $lang)
Db::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'category` c
LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category`)
SET `name` = \''.preg_replace('/^[0-9]+\./', '',$categ['name']).'\'
WHERE c.id_category = '.(int)($categ['id_category']).' AND id_lang = \''.(int)($lang['id_lang']).'\'');
}
}
/* Clean CMS positions */
if ($cms_cat = CMSCategory::getCategories(1, false, false))
foreach($cms_cat AS $i => $categ)
CMS::cleanPositions((int)($categ['id_cms_category']));
}
@@ -1,40 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function setAllGroupsOnHomeCategory()
{
$results = Group::getGroups(Configuration::get('PS_LANG_DEFAULT'));
$groups = array();
foreach ($results AS $result)
$groups[] = $result['id_group'];
if (is_array($groups) && sizeof($groups))
{
$category = new Category(1);
$category->cleanGroups();
$category->addGroups($groups);
}
}
-37
View File
@@ -1,37 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function set_discount_category()
{
$discounts = Db::getInstance()->ExecuteS('SELECT `id_discount` FROM `'._DB_PREFIX_.'discount`');
$categories = Db::getInstance()->ExecuteS('SELECT `id_category` FROM `'._DB_PREFIX_.'category`');
foreach ($discounts AS $discount)
foreach ($categories AS $category)
Db::getInstance()->Execute('INSERT INTO `'._DB_PREFIX_.'discount_category` (`id_discount`,`id_category`) VALUES ('.(int)($discount['id_discount']).','.(int)($category['id_category']).')');
}
-54
View File
@@ -1,54 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function set_payment_module()
{
// Get all modules then select only payment ones
$modules = Module::getModulesInstalled();
foreach ($modules AS $module)
{
$file = _PS_MODULE_DIR_.$module['name'].'/'.$module['name'].'.php';
if (!file_exists($file))
continue;
$fd = fopen($file, 'r');
if (!$fd)
continue ;
$content = fread($fd, filesize($file));
if (preg_match_all('/extends PaymentModule/U', $content, $matches))
{
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'module_country` (id_module, id_country)
SELECT '.(int)($module['id_module']).', id_country FROM `'._DB_PREFIX_.'country` WHERE active = 1');
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'module_currency` (id_module, id_currency)
SELECT '.(int)($module['id_module']).', id_currency FROM `'._DB_PREFIX_.'currency` WHERE deleted = 0');
}
fclose($fd);
}
}
-50
View File
@@ -1,50 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function set_payment_module_group()
{
// Get all modules then select only payment ones
$modules = Module::getModulesInstalled();
foreach ($modules AS $module)
{
$file = _PS_MODULE_DIR_.$module['name'].'/'.$module['name'].'.php';
if (!file_exists($file))
continue;
$fd = @fopen($file, 'r');
if (!$fd)
continue ;
$content = fread($fd, filesize($file));
if (preg_match_all('/extends PaymentModule/U', $content, $matches))
{
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'module_group` (id_module, id_group)
SELECT '.(int)($module['id_module']).', id_group FROM `'._DB_PREFIX_.'group`');
}
fclose($fd);
}
}
-35
View File
@@ -1,35 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function shop_url()
{
if (!($host = Configuration::get('CANONICAL_URL')))
$host = Tools::getHttpHost();
Configuration::updateValue('PS_SHOP_DOMAIN', $host);
Configuration::updateValue('PS_SHOP_DOMAIN_SSL', $host);
return true;
}
-16
View File
@@ -1,16 +0,0 @@
<?php
function update_for_13version()
{
global $oldversion;
if (version_compare($oldversion, '1.4.0.1') >= 0)
return; // if the old version is a 1.4 version
// Disable the Smarty 3
Configuration::updateValue('PS_FORCE_SMARTY_2', 1);
// Disable the URL rewritting
Configuration::updateValue('PS_REWRITING_SETTINGS', 0);
// Disable Canonical redirection
Configuration::updateValue('PS_CANONICAL_REDIRECT', 0);
}
@@ -1,42 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function update_image_size_in_db()
{
if (file_exists(realpath(INSTALL_PATH.'/../img').'/logo.jpg'))
{
list($width, $height, $type, $attr) = getimagesize(realpath(INSTALL_PATH.'/../img').'/logo.jpg');
Configuration::updateValue('SHOP_LOGO_WIDTH', (int)round($width));
Configuration::updateValue('SHOP_LOGO_HEIGHT', (int)round($height));
}
if (file_exists(realpath(INSTALL_PATH.'/../modules/editorial').'/homepage_logo.jpg'))
{
list($width, $height, $type, $attr) = getimagesize(realpath(INSTALL_PATH.'/../modules/editorial').'/homepage_logo.jpg');
Configuration::updateValue('EDITORIAL_IMAGE_WIDTH', (int)round($width));
Configuration::updateValue('EDITORIAL_IMAGE_HEIGHT', (int)round($height));
}
}
-39
View File
@@ -1,39 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function update_order_details()
{
$res = Db::getInstance()->ExecuteS('SHOW COLUMNS FROM `'._DB_PREFIX_.'order_detail` LIKE \'reduction_percent\'');
if (sizeof($res) == 0)
{
Db::getInstance()->Execute('ALTER TABLE `'._DB_PREFIX_.'order_detail` ADD `reduction_percent` DECIMAL(10, 2) NOT NULL default \'0.00\' AFTER `product_price`');
Db::getInstance()->Execute('ALTER TABLE `'._DB_PREFIX_.'order_detail` ADD `reduction_amount` DECIMAL(20, 6) NOT NULL default \'0.000000\' AFTER `reduction_percent`');
}
}
@@ -1,36 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function update_products_ecotax_v133()
{
global $oldversion;
if($oldversion < '1.3.3.0')
{
Db::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'product` SET `ecotax` = \'0\' WHERE 1');
Db::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'order_detail` SET `ecotax` = \'0\' WHERE 1;');
}
}
-43
View File
@@ -1,43 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function update_carrier_url()
{
// Get all carriers
$sql = '
SELECT c.`id_carrier`, c.`url`
FROM `'._DB_PREFIX_.'carrier` c';
$carriers = Db::getInstance()->ExecuteS($sql);
// Check each one and erase carrier URL if not correct URL
foreach ($carriers as $carrier)
if (!Validate::isAbsoluteUrl($carrier['url']))
Db::getInstance()->Execute('
UPDATE `'._DB_PREFIX_.'carrier`
SET `url` = \'\'
WHERE `id_carrier`= '.(int)($carrier['id_carrier']));
}
-41
View File
@@ -1,41 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function update_modules_sql()
{
Configuration::loadConfiguration();
$blocklink = Module::getInstanceByName('blocklink');
if ($blocklink->id)
Db::getInstance()->Execute('ALTER IGNORE TABLE `'._DB_PREFIX_.'blocklink_lang` ADD PRIMARY KEY (`id_link`, `id_lang`);');
$productComments = Module::getInstanceByName('productcomments');
if ($productComments->id)
{
Db::getInstance()->Execute('ALTER IGNORE TABLE `'._DB_PREFIX_.'product_comment_grade` ADD PRIMARY KEY (`id_product_comment`, `id_product_comment_criterion`);');
Db::getInstance()->Execute('ALTER IGNORE TABLE `'._DB_PREFIX_.'product_comment_criterion` DROP PRIMARY KEY, ADD PRIMARY KEY (`id_product_comment_criterion`, `id_lang`);');
Db::getInstance()->Execute('ALTER IGNORE TABLE `'._DB_PREFIX_.'product_comment_criterion_product` ADD PRIMARY KEY(`id_product`, `id_product_comment_criterion`);');
}
}
-58
View File
@@ -1,58 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
function updateproductcomments()
{
if (Db::getInstance()->ExecuteS('SELECT * FROM '._DB_PREFIX_.'product_comment') !== false)
{
Db::getInstance()->Execute('CREATE TABLE IF NOT EXISTS '._DB_PREFIX_.'product_comment_criterion_lang (
`id_product_comment_criterion` INT( 11 ) UNSIGNED NOT NULL ,
`id_lang` INT(11) UNSIGNED NOT NULL ,
`name` VARCHAR(64) NOT NULL ,
PRIMARY KEY ( `id_product_comment_criterion` , `id_lang` )
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8');
Db::getInstance()->Execute('CREATE TABLE IF NOT EXISTS '._DB_PREFIX_.'product_comment_criterion_category (
`id_product_comment_criterion` int(10) unsigned NOT NULL,
`id_category` int(10) unsigned NOT NULL,
PRIMARY KEY(`id_product_comment_criterion`, `id_category`),
KEY `id_category` (`id_category`)
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8');
Db::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'product_comment ADD `id_guest` INT(11) NULL AFTER `id_customer`');
Db::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'product_comment ADD `customer_name` varchar(64) NULL AFTER `content`');
Db::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'product_comment ADD `deleted` tinyint(1) NOT NULL AFTER `validate`');
Db::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'product_comment ADD INDEX (id_customer)');
Db::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'product_comment ADD INDEX (id_guest)');
Db::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'product_comment ADD INDEX (id_product)');
Db::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'product_comment_criterion DROP `id_lang`');
Db::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'product_comment_criterion DROP `name`');
Db::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'product_comment_criterion ADD `id_product_comment_criterion_type` tinyint(1) NOT NULL AFTER `id_product_comment_criterion`');
Db::getInstance()->Execute('ALTER TABLE '._DB_PREFIX_.'product_comment_criterion ADD `active` tinyint(1) NOT NULL AFTER `id_product_comment_criterion_type`');
Db::getInstance()->Execute('ALTER IGNORE TABLE `'._DB_PREFIX_.'product_comment` ADD `title` VARCHAR(64) NULL AFTER `id_guest`;');
}
}
-135
View File
@@ -1,135 +0,0 @@
<?php
/*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
define('_PS_MAGIC_QUOTES_GPC_', get_magic_quotes_gpc());
define('_PS_MYSQL_REAL_ESCAPE_STRING_', function_exists('mysql_real_escape_string'));
function latin1_database_to_utf8()
{
global $requests, $warningExist;
$tables = array(
array('name' => 'address', 'id' => 'id_address', 'fields' => array('alias', 'company', 'name', 'surname', 'address1', 'address2', 'postcode', 'city', 'other', 'phone', 'phone_mobile')),
array('name' => 'alias', 'id' => 'id_alias', 'fields' => array('alias', 'search')),
array('name' => 'attribute_group_lang', 'id' => 'id_attribute_group', 'lang' => true, 'fields' => array('name', 'public_name')),
array('name' => 'attribute_lang', 'id' => 'id_attribute', 'lang' => true, 'fields' => array('name')),
array('name' => 'carrier', 'id' => 'id_carrier', 'fields' => array('name', 'url')),
array('name' => 'carrier_lang', 'id' => 'id_carrier', 'lang' => true, 'fields' => array('delay')),
array('name' => 'cart', 'id' => 'id_cart', 'fields' => array('gift_message')),
array('name' => 'category_lang', 'id' => 'id_category', 'lang' => true, 'fields' => array('name', 'description', 'link_rewrite', 'meta_title', 'meta_keywords', 'meta_description')),
array('name' => 'configuration', 'id' => 'id_configuration', 'fields' => array('name', 'value')),
array('name' => 'configuration_lang', 'id' => 'id_configuration', 'lang' => true, 'fields' => array('value')),
array('name' => 'contact', 'id' => 'id_contact', 'fields' => array('email')),
array('name' => 'contact_lang', 'id' => 'id_contact', 'lang' => true, 'fields' => array('name', 'description')),
array('name' => 'country', 'id' => 'id_country', 'fields' => array('iso_code')),
array('name' => 'country_lang', 'id' => 'id_country', 'lang' => true, 'fields' => array('name')),
array('name' => 'currency', 'id' => 'id_currency', 'fields' => array('name', 'iso_code', 'sign')),
array('name' => 'customer', 'id' => 'id_customer', 'fields' => array('email', 'passwd', 'name', 'surname')),
array('name' => 'discount', 'id' => 'id_discount', 'fields' => array('name')),
array('name' => 'discount_lang', 'id' => 'id_discount', 'lang' => true, 'fields' => array('description')),
array('name' => 'discount_type_lang', 'id' => 'id_discount_type', 'lang' => true, 'fields' => array('name')),
array('name' => 'employee', 'id' => 'id_employee', 'fields' => array('name', 'surname', 'email', 'passwd')),
array('name' => 'feature_lang', 'id' => 'id_feature', 'lang' => true, 'fields' => array('name')),
array('name' => 'feature_value_lang', 'id' => 'id_feature_value', 'lang' => true, 'fields' => array('value')),
array('name' => 'hook', 'id' => 'id_hook', 'fields' => array('name', 'title', 'description')),
array('name' => 'hook_module_exceptions', 'id' => 'id_hook_module_exceptions', 'fields' => array('file_name')),
array('name' => 'image_lang', 'id' => 'id_image', 'lang' => true, 'fields' => array('legend')),
array('name' => 'image_type', 'id' => 'id_image_type', 'fields' => array('name')),
array('name' => 'lang', 'id' => 'id_lang', 'fields' => array('name', 'iso_code')),
array('name' => 'manufacturer', 'id' => 'id_manufacturer', 'fields' => array('name')),
array('name' => 'message', 'id' => 'id_message', 'fields' => array('message')),
array('name' => 'module', 'id' => 'id_module', 'fields' => array('name')),
array('name' => 'orders', 'id' => 'id_order', 'fields' => array('payment', 'module', 'gift_message', 'shipping_number')),
array('name' => 'order_detail', 'id' => 'id_order_detail', 'fields' => array('product_name', 'product_reference', 'tax_name', 'download_hash')),
array('name' => 'order_discount', 'id' => 'id_order_discount', 'fields' => array('name')),
array('name' => 'order_state', 'id' => 'id_order_state', 'fields' => array('color')),
array('name' => 'order_state_lang', 'id' => 'id_order_state', 'lang' => true, 'fields' => array('name', 'template')),
array('name' => 'product', 'id' => 'id_product', 'fields' => array('ean13', 'reference')),
array('name' => 'product_attribute', 'id' => 'id_product_attribute', 'fields' => array('reference', 'ean13')),
array('name' => 'product_download', 'id' => 'id_product_download', 'fields' => array('display_filename', 'physically_filename')),
array('name' => 'product_lang', 'id' => 'id_product', 'lang' => true, 'fields' => array('description', 'description_short', 'link_rewrite', 'meta_description', 'meta_keywords', 'meta_title', 'name', 'availability')),
array('name' => 'profile_lang', 'id' => 'id_profile', 'lang' => true, 'fields' => array('name')),
array('name' => 'quick_access', 'id' => 'id_quick_access', 'fields' => array('link')),
array('name' => 'quick_access_lang', 'id' => 'id_quick_access', 'lang' => true, 'fields' => array('name')),
array('name' => 'supplier', 'id' => 'id_supplier', 'fields' => array('name')),
array('name' => 'tab', 'id' => 'id_tab', 'fields' => array('class_name')),
array('name' => 'tab_lang', 'id' => 'id_tab', 'lang' => true, 'fields' => array('name')),
array('name' => 'tag', 'id' => 'id_tag', 'fields' => array('name')),
array('name' => 'tax_lang', 'id' => 'id_tax', 'lang' => true, 'fields' => array('name')),
array('name' => 'zone', 'id' => 'id_zone', 'fields' => array('name'))
);
foreach ($tables AS $table)
{
/* Latin1 datas' selection */
if (!Db::getInstance()->Execute('SET NAMES latin1'))
echo 'Cannot change the sql encoding to latin1!';
$query = 'SELECT `'.$table['id'].'`';
foreach ($table['fields'] AS $field)
$query .= ', `'.$field.'`';
if (isset($table['lang']) AND $table['lang'])
$query .= ', `id_lang`';
$query .= ' FROM `'._DB_PREFIX_.$table['name'].'`';
$latin1Datas = Db::getInstance()->ExecuteS($query);
if ($latin1Datas === false)
{
$warningExist = true;
$requests .= '
<request result="fail">
<sqlQuery><![CDATA['.htmlentities($query).']]></sqlQuery>
<sqlMsgError><![CDATA['.htmlentities(Db::getInstance()->getMsgError()).']]></sqlMsgError>
<sqlNumberError><![CDATA['.htmlentities(Db::getInstance()->getNumberError()).']]></sqlNumberError>
</request>'."\n";
}
if (Db::getInstance()->NumRows())
{
/* Utf-8 datas' restitution */
if (!Db::getInstance()->Execute('SET NAMES utf8'))
echo 'Cannot change the sql encoding to utf8!';
foreach ($latin1Datas AS $latin1Data)
{
$query = 'UPDATE `'._DB_PREFIX_.$table['name'].'` SET';
foreach ($table['fields'] AS $field)
$query .= ' `'.$field.'` = \''.pSQL($latin1Data[$field]).'\',';
$query = rtrim($query, ',');
$query .= ' WHERE `'.$table['id'].'` = '.(int)($latin1Data[$table['id']]);
if (isset($table['lang']) AND $table['lang'])
$query .= ' AND `id_lang` = '.(int)($latin1Data['id_lang']);
if (!Db::getInstance()->Execute($query))
{
$warningExist = true;
$requests .= '
<request result="fail">
<sqlQuery><![CDATA['.htmlentities($query).']]></sqlQuery>
<sqlMsgError><![CDATA['.htmlentities(Db::getInstance()->getMsgError()).']]></sqlMsgError>
<sqlNumberError><![CDATA['.htmlentities(Db::getInstance()->getNumberError()).']]></sqlNumberError>
</request>'."\n";
}
}
}
}
}
-122
View File
@@ -1,122 +0,0 @@
<?php
if (!isset($_GET['language']))
$_GET['language'] = 0;
function getPreinstallXmlLang($object, $field)
{
if (property_exists($object, $field.'_'.((int)($_GET['language'])+1)))
return str_replace(array('!|', '|!'), array('<', '>'), trim($object->{$field.'_'.((int)($_GET['language'])+1)}));
if (property_exists($object, $field.'_1'))
return str_replace(array('!|', '|!'), array('<', '>'), trim($object->{$field.'_1'}));
return '';
}
if ($_GET['request'] == 'form')
{
$p = addslashes(strtolower($_GET['partner']));
$c = addslashes(strtolower($_GET['country_iso_code']));
$context = stream_context_create(array('http' => array('method'=>"GET", 'timeout' => 5)));
$content = @file_get_contents('https://www.prestashop.com/partner/preactivation/fields.php?version=1.0&partner='.$p.'&country_iso_code='.$c, false, $context);
if ($content && $content[0] == '<')
{
$result = simplexml_load_string($content);
if ($result)
{
$varList = "";
echo '<br />';
foreach ($result->field as $field)
{
echo '<div class="field"><label class="aligned">'.getPreinstallXmlLang($field, 'label').' :</label>';
if ($field->type == 'text' || $field->type == 'password')
echo '<input type="'.$field->type.'" class="text required" id="'.$p.'_'.$c.'_form_'.$field->key.'" name="'.$p.'_'.$c.'_form_'.$field->key.'" '.(isset($field->size) ? 'size="'.$field->size.'"' : '').' value="'.(isset($_GET[trim($field->key)]) ? $_GET[trim($field->key)] : $field->default).'" />';
elseif ($field->type == 'radio')
{
foreach ($field->values as $key => $value)
echo getPreinstallXmlLang($value, 'label').' <input type="radio" id="'.$p.'_'.$c.'_form_'.$field->key.'_'.$key.'" name="'.$p.'_'.$c.'_form_'.$field->key.'" value="'.$value->value.'" '.($value->value == $field->default ? 'checked="checked"' : '').' />';
}
elseif ($field->type == 'select')
{
echo '<select id="'.$p.'_'.$c.'_form_'.$field->key.'" name="'.$p.'_'.$c.'_form_'.$field->key.'" style="width:175px;border:1px solid #D41958">';
foreach ($field->values as $key => $value)
echo '<option id="'.$p.'_'.$c.'_form_'.$field->key.'_'.$key.'" value="'.$value->value.'" '.(trim($value->value) == trim($field->default) ? 'selected="selected"' : '').'>'.getPreinstallXmlLang($value, 'label').'</option>';
echo '</select>';
}
elseif ($field->type == 'date')
{
echo '<select id="'.$p.'_'.$c.'_form_'.$field->key.'_year" name="'.$p.'_'.$c.'_form_'.$field->key.'_year" style="border:1px solid #D41958">';
for ($i = 81; (date('Y') - $i) <= date('Y'); $i--)
echo '<option value="'.(date('Y') - $i).'">'.(date('Y') - $i).'</option>';
echo '</select>';
echo '<select id="'.$p.'_'.$c.'_form_'.$field->key.'_month" name="'.$p.'_'.$c.'_form_'.$field->key.'_month" style="border:1px solid #D41958">';
for ($i = 1; $i <= 12; $i++)
echo '<option value="'.($i < 10 ? '0'.$i : $i).'">'.($i < 10 ? '0'.$i : $i).'</option>';
echo '</select>';
echo '<select id="'.$p.'_'.$c.'_form_'.$field->key.'_day" name="'.$p.'_'.$c.'_form_'.$field->key.'_day" style="border:1px solid #D41958">';
for ($i = 1; $i <= 31; $i++)
echo '<option value="'.($i < 10 ? '0'.$i : $i).'">'.($i < 10 ? '0'.$i : $i).'</option>';
echo '</select>';
}
if (getPreinstallXmlLang($field, 'help'))
echo ' '.getPreinstallXmlLang($field, 'help');
echo '<br /></div><br clear="left" />';
if ($field->type == 'date')
$varList .= "'&".$field->key."='+$('#".$p."_".$c."_form_".$field->key."_year').val()+'-'+$('#".$p."_".$c."_form_".$field->key."_month').val()+'-'+$('#".$p."_".$c."_form_".$field->key."_day').val()+\n";
else
$varList .= "'&".$field->key."='+ encodeURIComponent($('#".$p."_".$c."_form_".$field->key."').val())+\n";
}
echo '
<script>'."
$('#btNext').click(function() {
if (moduleChecked['".strtoupper($c).'_'.$p."'] == 1 && $('select#infosCountry option:selected').attr('rel') == '".strtoupper($c)."')
{
$.ajax({
url: 'preactivation.php?request=send'+
'&partner=".$p."'+
".$varList."
'&language_iso_code='+isoCodeLocalLanguage+
'&country_iso_code='+encodeURIComponent($('select#infosCountry option:selected').attr('rel'))+
'&activity='+ encodeURIComponent($('select#infosActivity').val())+
'&timezone='+ encodeURIComponent($('select#infosTimezone').val())+
'&shop='+ encodeURIComponent($('input#infosShop').val())+
'&firstName='+ encodeURIComponent($('input#infosFirstname').val())+
'&lastName='+ encodeURIComponent($('input#infosName').val())+
'&email='+ encodeURIComponent($('input#infosEmail').val()),
context: document.body,
success: function(data) {
}
});
}
});".'
</script>';
}
}
}
if ($_GET['request'] == 'send')
{
$context = stream_context_create(array('http' => array('method'=>"GET", 'timeout' => 5)));
$url = 'https://www.prestashop.com/partner/preactivation/actions.php?version=1.0&partner='.addslashes($_GET['partner']);
// Protect fields
foreach ($_GET as $key => $value)
$_GET[$key] = strip_tags(str_replace(array('\'', '"'), '', trim($value)));
// Encore Get, Send It and Get Answers
@require_once('../config/settings.inc.php');
foreach ($_GET as $key => $val)
$url .= '&'.$key.'='.urlencode($val);
$url .= '&security='.md5($_GET['email']._COOKIE_IV_);
$content = @file_get_contents($url, false, $context);
if ($content)
echo $content;
else
echo 'KO|Could not connect with Prestashop.com';
}
?>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
-30
View File
@@ -1,30 +0,0 @@
/* STRUCTURE */
CREATE TABLE `PREFIX_product_sale` (
`id_product` INT( 10 ) UNSIGNED NOT NULL ,
`quantity` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',
`nb_vente` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',
`date_upd` DATE NOT NULL ,
PRIMARY KEY ( `id_product` )
) ENGINE = MYISAM DEFAULT CHARSET=utf8;
ALTER TABLE `PREFIX_image_type`
ADD `manufacturers` BOOL NOT NULL DEFAULT '1' AFTER `categories`;
ALTER TABLE `PREFIX_address`
ADD `id_manufacturer` INT( 10 ) UNSIGNED NOT NULL AFTER `id_customer` ;
ALTER TABLE `PREFIX_address`
ADD `id_supplier` INT( 10 ) UNSIGNED NOT NULL AFTER `id_manufacturer` ;
ALTER TABLE `PREFIX_order_discount`
ADD `id_discount` INT( 10 ) UNSIGNED NOT NULL AFTER `id_order` ;
ALTER TABLE `PREFIX_discount`
ADD `quantity_per_user` INT( 10 ) UNSIGNED NOT NULL DEFAULT '1' AFTER `quantity` ;
ALTER TABLE `PREFIX_contact` CHANGE `position` `position` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0';
/* CONTENTS */
/* CONFIGURATION VARIABLE */
-9
View File
@@ -1,9 +0,0 @@
/* STRUCTURE */
ALTER TABLE `PREFIX_product` CHANGE `price` `price` DECIMAL(13,6) NOT NULL DEFAULT '0.000000';
/* CONTENTS */
DELETE FROM `PREFIX_carrier_lang` WHERE `id_carrier` = (SELECT c.`id_carrier` FROM `PREFIX_carrier` c WHERE c.`name` = 'My download manager' LIMIT 1);
DELETE FROM `PREFIX_carrier` WHERE `name` = 'My download manager';
/* Conf vars */
INSERT INTO `PREFIX_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_TAX_NO', '0', NOW(), NOW());
-75
View File
@@ -1,75 +0,0 @@
/* STRUCTURE */
ALTER TABLE `PREFIX_order_state`
ADD `logable` TINYINT(1) NOT NULL DEFAULT 0;
ALTER TABLE `PREFIX_product_sale`
CHANGE `nb_vente` `sale_nbr` INT(10) UNSIGNED NOT NULL DEFAULT 0;
ALTER TABLE `PREFIX_carrier`
CHANGE `tax` `id_tax` INT(10) UNSIGNED NULL DEFAULT 0 AFTER `id_carrier`;
ALTER TABLE `PREFIX_carrier`
ADD `shipping_handling` TINYINT(1) UNSIGNED NOT NULL DEFAULT 1 AFTER `deleted`;
ALTER TABLE `PREFIX_address`
CHANGE `id_country` `id_country` INT(10) UNSIGNED NOT NULL DEFAULT 0,
CHANGE `id_customer` `id_customer` INT(10) UNSIGNED NOT NULL DEFAULT 0,
CHANGE `id_manufacturer` `id_manufacturer` INT(10) UNSIGNED NOT NULL DEFAULT 0;
RENAME TABLE `PREFIX_product_attribute_combinaison` TO `PREFIX_product_attribute_combination`;
ALTER TABLE `PREFIX_product_attribute_combination`
DROP INDEX `product_attribute_combinaison_index`,
ADD PRIMARY KEY (`id_attribute`, `id_product_attribute`);
CREATE TABLE `PREFIX_carrier_zone` (
id_carrier int(10) unsigned NOT NULL,
id_zone int(10) unsigned NOT NULL,
INDEX carrier_zone_index(id_carrier, id_zone)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `PREFIX_tax_zone` (
id_tax int(10) unsigned NOT NULL,
id_zone int(10) unsigned NOT NULL,
INDEX tax_zone_index(id_tax, id_zone)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/* CONTENTS */
/* Adding tab Contact */
INSERT INTO `PREFIX_tab` (`id_parent`, `class_name`, `position`) VALUES ((SELECT tmp.`id_tab` FROM (SELECT `id_tab` FROM`PREFIX_tab` t WHERE t.class_name = 'AdminPreferences' LIMIT 1) AS tmp), 'AdminContact', 6);
INSERT INTO `PREFIX_tab_lang` (id_lang, id_tab, name) (
SELECT id_lang,
(SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminContact' LIMIT 1),
'Contact' FROM `PREFIX_lang`);
UPDATE `PREFIX_tab_lang` SET `name` = 'Coordonnées'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminContact' LIMIT 1)
AND `id_lang` = (SELECT `id_lang` FROM `PREFIX_lang` l WHERE l.iso_code = 'fr' LIMIT 1);
INSERT INTO `PREFIX_access` (`id_profile`, `id_tab`, `view`, `add`, `edit`, `delete`)
VALUES ('1', (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminContact' LIMIT 1), '1', '1', '1', '1');
/* Rename old tab */
UPDATE `PREFIX_tab_lang` SET `name` = 'Produits'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminPPreferences')
AND `id_lang` = (SELECT `id_lang` FROM `PREFIX_lang` l WHERE l.iso_code = 'fr');
UPDATE `PREFIX_tab_lang` SET `name` = 'Emails'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminEmails')
AND `id_lang` = (SELECT `id_lang` FROM `PREFIX_lang` l WHERE l.iso_code = 'fr');
UPDATE `PREFIX_tab_lang` SET `name` = 'Images'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminImages')
AND `id_lang` = (SELECT `id_lang` FROM `PREFIX_lang` l WHERE l.iso_code = 'fr');
/* New BankWire state */
UPDATE `PREFIX_order_state` SET `logable` = 1 WHERE `id_order_state` < 6 AND `id_order_state` > 1;
INSERT INTO `PREFIX_order_state` (`id_order_state`, `invoice`, `send_email`, `color`, `unremovable`, `logable`) VALUES (10, 0, 1, 'lightblue', 1, 0);
INSERT INTO `PREFIX_order_state_lang` (`id_order_state`, `id_lang`, `name`, `template`) VALUES
(10, 1, 'Awaiting bank wire payment', 'bankwire'),
(10, 2, 'En attente du paiement par virement bancaire', 'bankwire');
/* New hook */
INSERT INTO `PREFIX_hook` (`name`, `title`, `description`, `position`) VALUES ('updateOrderStatus', 'Order''s status update event', 'Launch modules when the order''s status of an order change.', 0);
/* Adding zones for tax/carrier */
INSERT INTO `PREFIX_tax_zone` (id_tax, id_zone) (SELECT id_tax, id_zone FROM `PREFIX_tax` CROSS JOIN `PREFIX_zone`);
INSERT INTO `PREFIX_carrier_zone` (id_carrier, id_zone) (SELECT id_carrier, id_zone FROM `PREFIX_carrier` CROSS JOIN `PREFIX_zone`);
/* CONFIGURATION VARIABLE */
INSERT INTO `PREFIX_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES
('PREFIX_PURCHASE_MINIMUM', '0', NOW(), NOW()),
('PREFIX_SHOP_ENABLE', '1', NOW(), NOW());
-5
View File
@@ -1,5 +0,0 @@
/* STRUCTURE */
/* CONTENTS */
/* CONFIGURATION VARIABLE */
-51
View File
@@ -1,51 +0,0 @@
/* STRUCTURE */
CREATE TABLE `PREFIX_alias` (
alias varchar(255) NOT NULL,
search varchar(255) NOT NULL,
active tinyint(1) NOT NULL default 1,
id_alias int(10) NOT NULL auto_increment,
PRIMARY KEY (id_alias),
UNIQUE KEY alias (alias)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
ALTER TABLE `PREFIX_configuration`
ADD UNIQUE `name` (`name`);
ALTER TABLE `PREFIX_product`
ADD `wholesale_price` DECIMAL( 13, 6 ) NOT NULL AFTER `price`;
ALTER TABLE `PREFIX_range_weight`
CHANGE `delimiter1` `delimiter1` DECIMAL( 13, 6 ) NOT NULL DEFAULT '0.000000';
ALTER TABLE `PREFIX_range_weight`
CHANGE `delimiter2` `delimiter2` DECIMAL( 13, 6 ) NOT NULL DEFAULT '0.000000';
ALTER TABLE `PREFIX_discount_type_lang`
CHANGE `name` `name` VARCHAR(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
ALTER TABLE `PREFIX_product`
CHANGE `bargain` `on_sale` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
ALTER TABLE `PREFIX_image_type`
ADD `suppliers` BOOL NOT NULL DEFAULT 1;
/* CONTENTS */
/* Adding tab alias */
INSERT INTO `PREFIX_tab` (`id_parent`, `class_name`, `position`) VALUES ((SELECT tmp.id_tab FROM (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminTools' LIMIT 1) AS tmp), 'AdminAliases', 9);
INSERT INTO `PREFIX_tab_lang` (id_lang, id_tab, name) (
SELECT id_lang,
(SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminAliases' LIMIT 1),
'Alias' FROM `PREFIX_lang`);
INSERT INTO `PREFIX_access` (`id_profile`, `id_tab`, `view`, `add`, `edit`, `delete`)
VALUES ('1', (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminAliases' LIMIT 1), '1', '1', '1', '1');
/* Adding tab import */
INSERT INTO `PREFIX_tab` (`id_parent`, `class_name`, `position`) VALUES ((SELECT tmp.id_tab FROM (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminTools' LIMIT 1) AS tmp), 'AdminImport', 10);
INSERT INTO `PREFIX_tab_lang` (id_lang, id_tab, name) (
SELECT id_lang,
(SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminImport' LIMIT 1),
'Import' FROM `PREFIX_lang`);
INSERT INTO `PREFIX_access` (`id_profile`, `id_tab`, `view`, `add`, `edit`, `delete`)
VALUES ('1', (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminImport' LIMIT 1), '1', '1', '1', '1');
INSERT INTO `PREFIX_hook` (`name`, `title`, `description`)
VALUES ('adminOrder', 'Display in Back-Office, tab AdminOrder', 'Launch modules when the tab AdminOrder is displayed on back-office.');
/* CONFIGURATION VARIABLE */
-7
View File
@@ -1,7 +0,0 @@
/* STRUCTURE */
ALTER TABLE `PREFIX_product` CHANGE `wholesale_price` `wholesale_price` DECIMAL(13, 6) NULL;
/* CONTENTS */
/* CONFIGURATION VARIABLE */
-14
View File
@@ -1,14 +0,0 @@
/* STRUCTURE */
ALTER TABLE `PREFIX_module` ADD INDEX (`name`);
/* CONTENTS */
INSERT INTO `PREFIX_hook` (`name` , `title`, `description`, `position`) VALUES
('footer', 'Footer', 'Add block in footer', 1),
('PDFInvoice', 'PDF Invoice', 'Allow the display of extra informations into the PDF invoice', 0);
UPDATE `PREFIX_hook` SET `description` = 'Add blocks in the header', `position` = '1' WHERE `name` = 'header' LIMIT 1 ;
UPDATE `PREFIX_currency` SET `iso_code` = 'XXX' WHERE `iso_code` IS NULL;
/* CONFIGURATION VARIABLE */
-21
View File
@@ -1,21 +0,0 @@
/* STRUCTURE */
CREATE TABLE `PREFIX_discount_quantity` (
id_discount_quantity INT UNSIGNED NOT NULL auto_increment,
id_discount_type INT UNSIGNED NOT NULL,
id_product INT UNSIGNED NOT NULL,
id_product_attribute INT UNSIGNED NULL,
quantity INT UNSIGNED NOT NULL,
value DECIMAL(10,2) UNSIGNED NOT NULL,
PRIMARY KEY (id_discount_quantity)
) ENGINE=MYISAM DEFAULT CHARSET=utf8;
ALTER TABLE `PREFIX_product` ADD quantity_discount BOOL NULL DEFAULT 0 AFTER out_of_stock;
/* CONTENTS */
/* CONFIGURATION VARIABLE */
UPDATE `PREFIX_configuration` SET name = 'PS_TAX', value = 1 WHERE name = 'PS_TAX_NO' AND value = 0;
UPDATE `PREFIX_configuration` SET name = 'PS_TAX', value = 0 WHERE name = 'PS_TAX_NO' AND value = 1;
-39
View File
@@ -1,39 +0,0 @@
/* STRUCTURE */
ALTER TABLE `PREFIX_currency` ADD `iso_code` VARCHAR( 3 ) NOT NULL DEFAULT '0' AFTER `name`;
ALTER TABLE `PREFIX_product_attribute` ADD `default_on` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `weight`;
ALTER TABLE `PREFIX_carrier` ADD `tax` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `deleted`;
ALTER TABLE `PREFIX_order_detail`
ADD `download_hash` VARCHAR(255) default NULL AFTER `tax_rate`,
ADD `download_nb` INT(10) unsigned default 0 AFTER `tax_rate`,
ADD `download_deadline` DATETIME DEFAULT NULL AFTER `tax_rate`;
CREATE TABLE `PREFIX_product_download` (
`id_product_download` INT(10) unsigned NOT NULL auto_increment,
`id_product` INT(10) unsigned NOT NULL,
`display_filename` VARCHAR(255) default NULL,
`physically_filename` VARCHAR(255) default NULL,
`date_deposit` DATETIME NOT NULL,
`date_expiration` DATETIME default NULL,
`nb_days_accessible` int(10) unsigned default NULL,
`nb_downloadable` int(10) unsigned default 1,
PRIMARY KEY (`id_product_download`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/* CONTENTS */
/* Adding tab Appearance */
UPDATE `PREFIX_tab` SET `class_name` = 'AdminAppearance' WHERE class_name = 'AdminHomepage';
UPDATE `PREFIX_tab_lang` SET `name` = 'Appearance'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminAppearance');
UPDATE `PREFIX_tab_lang` SET `name` = 'Apparence'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminAppearance')
AND `id_lang` = (SELECT `id_lang` FROM `PREFIX_lang` l WHERE l.iso_code = 'fr');
/* Adding iso_code to currency */
UPDATE `PREFIX_currency` SET `iso_code` = 'XXX';
/* Conf vars */
INSERT INTO `PREFIX_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_DISPLAY_QTIES', '1', NOW(), NOW());
-129
View File
@@ -1,129 +0,0 @@
/* PHP */
/* PHP:latin1_database_to_utf8(); */;
/* STRUCTURE */
SET NAMES 'utf8';
CREATE TABLE PREFIX_attribute_impact (
id_attribute_impact int(11) NOT NULL AUTO_INCREMENT,
id_product int(11) NOT NULL,
id_attribute int(11) NOT NULL,
weight float NOT NULL,
price decimal(10,2) NOT NULL,
PRIMARY KEY (id_attribute_impact),
UNIQUE KEY id_product (id_product,id_attribute)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE PREFIX_supplier_lang (
id_supplier INTEGER UNSIGNED NOT NULL,
id_lang INTEGER UNSIGNED NOT NULL,
description TEXT NULL,
INDEX supplier_lang_index(id_supplier, id_lang)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE PREFIX_manufacturer_lang (
id_manufacturer INTEGER UNSIGNED NOT NULL,
id_lang INTEGER UNSIGNED NOT NULL,
description TEXT NULL,
INDEX manufacturer_lang_index(id_manufacturer, id_lang)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE PREFIX_state (
id_state int(10) unsigned NOT NULL AUTO_INCREMENT,
id_country int(11) NOT NULL,
name varchar(64) NOT NULL,
iso_code varchar(3) NOT NULL,
active tinyint(1) NOT NULL default 0,
PRIMARY KEY (id_state)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
ALTER TABLE PREFIX_customer ADD secure_key VARCHAR(32) NOT NULL DEFAULT '-1' AFTER id_gender;
ALTER TABLE PREFIX_orders ADD secure_key VARCHAR(32) NOT NULL DEFAULT '-1' AFTER id_address_invoice;
ALTER TABLE PREFIX_product ADD id_category_default INT NULL AFTER id_tax;
ALTER TABLE PREFIX_category_product ADD position INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER id_product;
ALTER TABLE PREFIX_product ADD INDEX (id_category_default);
ALTER TABLE PREFIX_order_detail ADD ecotax DECIMAL(10, 2) NOT NULL DEFAULT 0 AFTER tax_rate;
ALTER TABLE PREFIX_employee
CHANGE name lastname VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
CHANGE surname firstname VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
ALTER TABLE PREFIX_address
CHANGE name lastname VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
CHANGE surname firstname VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
ALTER TABLE PREFIX_customer
CHANGE name lastname VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
CHANGE surname firstname VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
ALTER TABLE PREFIX_quick_access ADD new_window TINYINT( 1 ) NOT NULL DEFAULT 0 AFTER id_quick_access;
/* CONTENTS */
UPDATE PREFIX_hook_module SET id_hook = 14 WHERE id_hook = 9;
UPDATE PREFIX_quick_access SET new_window = 1 WHERE id_quick_access = 2 LIMIT 1;
INSERT INTO PREFIX_hook (name, title, description, position) VALUES ('orderConfirmation', 'Order confirmation page', 'Called on order confirmation page', 0);
UPDATE PREFIX_order_detail odt
SET product_price = (
odt.product_price * (
SELECT conversion_rate FROM PREFIX_currency c, PREFIX_orders o WHERE o.id_order = odt.id_order AND c.id_currency = o.id_currency
)
);
UPDATE PREFIX_product p SET p.id_category_default = (SELECT id_category FROM PREFIX_category_product cp WHERE cp.id_product = p.id_product GROUP BY id_product ORDER BY cp.id_category ASC);
UPDATE PREFIX_category_product cp SET cp.position= cp.id_product;
/* NEW TABS */
INSERT INTO PREFIX_tab (id_parent, class_name, position) VALUES ((SELECT tmp.`id_tab` FROM (SELECT `id_tab` FROM PREFIX_tab t WHERE t.class_name = 'AdminPreferences' LIMIT 1) AS tmp), 'AdminPDF', (SELECT tmp.max FROM (SELECT MAX(position) max FROM `PREFIX_tab` WHERE id_parent = (SELECT tmp.`id_tab` FROM (SELECT `id_tab` FROM PREFIX_tab t WHERE t.class_name = 'AdminPreferences' LIMIT 1) AS tmp )) AS tmp));
INSERT INTO PREFIX_tab_lang (id_lang, id_tab, name) (
SELECT id_lang,
(SELECT id_tab FROM PREFIX_tab t WHERE t.class_name = 'AdminPDF' LIMIT 1),
'PDF Invoice' FROM PREFIX_lang);
UPDATE `PREFIX_tab_lang` SET `name` = 'Facture PDF'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminPDF')
AND `id_lang` = (SELECT `id_lang` FROM `PREFIX_lang` l WHERE l.iso_code = 'fr');
INSERT INTO PREFIX_access (id_profile, id_tab, `view`, `add`, edit, `delete`) VALUES ('1', (SELECT id_tab FROM PREFIX_tab t WHERE t.class_name = 'AdminPDF' LIMIT 1), 1, 1, 1, 1);
INSERT INTO PREFIX_tab (id_parent, class_name, position) VALUES ((SELECT tmp.`id_tab` FROM (SELECT `id_tab` FROM PREFIX_tab t WHERE t.class_name = 'AdminOrders' LIMIT 1) AS tmp), 'AdminPrintPDF', (SELECT tmp.max FROM (SELECT MAX(position) max FROM `PREFIX_tab` WHERE id_parent = (SELECT tmp.`id_tab` FROM (SELECT `id_tab` FROM PREFIX_tab t WHERE t.class_name = 'AdminOrders' LIMIT 1) AS tmp )) AS tmp));
INSERT INTO PREFIX_tab_lang (id_lang, id_tab, name) (
SELECT id_lang,
(SELECT id_tab FROM PREFIX_tab t WHERE t.class_name = 'AdminPrintPDF' LIMIT 1),
'Print invoices' FROM PREFIX_lang);
UPDATE `PREFIX_tab_lang` SET `name` = 'Impression factures'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminPrintPDF')
AND `id_lang` = (SELECT `id_lang` FROM `PREFIX_lang` l WHERE l.iso_code = 'fr');
INSERT INTO PREFIX_access (id_profile, id_tab, `view`, `add`, edit, `delete`) VALUES ('1', (SELECT id_tab FROM PREFIX_tab t WHERE t.class_name = 'AdminPrintPDF' LIMIT 1), 1, 1, 1, 1);
INSERT INTO PREFIX_tab (id_parent, class_name, position) VALUES (-1, 'AdminSearch', 2);
INSERT INTO PREFIX_tab_lang (id_lang, id_tab, name) (
SELECT id_lang,
(SELECT id_tab FROM PREFIX_tab t WHERE t.class_name = 'AdminSearch' LIMIT 1),
'Search' FROM PREFIX_lang);
UPDATE `PREFIX_tab_lang` SET `name` = 'Recherche'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminSearch')
AND `id_lang` = (SELECT `id_lang` FROM `PREFIX_lang` l WHERE l.iso_code = 'fr');
INSERT INTO PREFIX_access (id_profile, id_tab, `view`, `add`, edit, `delete`) VALUES ('1', (SELECT id_tab FROM PREFIX_tab t WHERE t.class_name = 'AdminSearch' LIMIT 1), 1, 1, 1, 1);
INSERT INTO PREFIX_tab (id_parent, class_name, position) VALUES ((SELECT tmp.`id_tab` FROM (SELECT `id_tab` FROM PREFIX_tab t WHERE t.class_name = 'AdminPreferences' LIMIT 1) AS tmp), 'AdminLocalization', (SELECT tmp.max FROM (SELECT MAX(position) max FROM `PREFIX_tab` WHERE id_parent = (SELECT tmp.`id_tab` FROM (SELECT `id_tab` FROM PREFIX_tab t WHERE t.class_name = 'AdminPreferences' LIMIT 1) AS tmp )) AS tmp));
INSERT INTO PREFIX_tab_lang (id_lang, id_tab, name) (
SELECT id_lang,
(SELECT id_tab FROM PREFIX_tab t WHERE t.class_name = 'AdminLocalization' LIMIT 1),
'Localization' FROM PREFIX_lang);
UPDATE `PREFIX_tab_lang` SET `name` = 'Localisation'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminLocalization')
AND `id_lang` = (SELECT `id_lang` FROM `PREFIX_lang` l WHERE l.iso_code = 'fr');
INSERT INTO PREFIX_access (id_profile, id_tab, `view`, `add`, edit, `delete`) VALUES ('1', (SELECT id_tab FROM PREFIX_tab t WHERE t.class_name = 'AdminLocalization' LIMIT 1), 1, 1, 1, 1);
INSERT INTO PREFIX_tab (id_parent, class_name, position) VALUES ((SELECT tmp.`id_tab` FROM (SELECT `id_tab` FROM PREFIX_tab t WHERE t.class_name = 'AdminShipping' LIMIT 1) AS tmp), 'AdminStates', (SELECT tmp.max FROM (SELECT MAX(position) max FROM `PREFIX_tab` WHERE id_parent = (SELECT tmp.`id_tab` FROM (SELECT `id_tab` FROM PREFIX_tab t WHERE t.class_name = 'AdminShipping' LIMIT 1) AS tmp )) AS tmp));
INSERT INTO PREFIX_tab_lang (id_lang, id_tab, name) (
SELECT id_lang,
(SELECT id_tab FROM PREFIX_tab t WHERE t.class_name = 'AdminStates' LIMIT 1),
'States' FROM PREFIX_lang);
UPDATE `PREFIX_tab_lang` SET `name` = 'Etats'
WHERE `id_tab` = (SELECT `id_tab` FROM `PREFIX_tab` t WHERE t.class_name = 'AdminStates')
AND `id_lang` = (SELECT `id_lang` FROM `PREFIX_lang` l WHERE l.iso_code = 'fr');
INSERT INTO PREFIX_access (`id_profile`, `id_tab`, `view`, `add`, edit, `delete`) VALUES ('1', (SELECT id_tab FROM PREFIX_tab t WHERE t.class_name = 'AdminStates' LIMIT 1), 1, 1, 1, 1);
INSERT INTO PREFIX_image_type (`name`, `width`, `height`, `products`, `categories`, `manufacturers`, `suppliers`) VALUES ('home', 129, 129, 1, 0, 0, 0);
/* CONFIGURATION VARIABLE */
INSERT INTO PREFIX_configuration (name, value, date_add, date_upd) VALUES ('PS_NB_DAYS_NEW_PRODUCT', 20, NOW(), NOW());
INSERT INTO PREFIX_configuration (name, value, date_add, date_upd) VALUES ('PS_WEIGHT_UNIT', 'kg', NOW(), NOW());
INSERT INTO PREFIX_configuration (name, value, date_add, date_upd) VALUES ('PS_BLOCK_CART_AJAX', '1', NOW(), NOW());
INSERT INTO PREFIX_configuration (name, value, date_add, date_upd) VALUES ('PS_FO_PROTOCOL', 'http://', NOW(), NOW());
UPDATE PREFIX_configuration SET name = 'PS_MAIL_SMTP_PORT', value = 25 WHERE name = 'PS_MAIL_SMTP_PORT' AND value = 'default';
UPDATE PREFIX_configuration SET name = 'PS_MAIL_SMTP_PORT', value = 465 WHERE name = 'PS_MAIL_SMTP_PORT' AND value = 'secure';

Some files were not shown because too many files have changed in this diff Show More