Merge branch 'development' of https://github.com/PrestaShop/PrestaShop into development

This commit is contained in:
Rémi Gaillard
2013-02-20 15:29:21 +01:00
27 changed files with 46 additions and 19 deletions

View File

@@ -36,9 +36,9 @@ echo '
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="NOFOLLOW, NOINDEX" />
<link type="text/css" rel="stylesheet" href="'._PS_JS_DIR_.'jquery/datepicker/datepicker.css" />
<link type="text/css" rel="stylesheet" href="'._PS_JS_DIR_.'jquery/ui/themes/base/jquery.ui.datepicker.css" />
<link type="text/css" rel="stylesheet" href="'._PS_CSS_DIR_.'admin.css" />
<link type="text/css" rel="stylesheet" href="'._PS_CSS_DIR_.'jquery.cluetip.css" />
<link type="text/css" rel="stylesheet" href="'._PS_JS_DIR_.'jquery/plugins/cluetip/jquery.cluetip.css" />
<link type="text/css" rel="stylesheet" href="themes/'.Context::getContext()->employee->bo_theme.'/css/admin.css" />
<link type="text/css" rel="stylesheet" href="'._PS_JS_DIR_.'jquery/plugins/chosen/jquery.chosen.css" />
<title>PrestaShop&trade; - '.translate('Administration panel').'</title>
@@ -231,28 +231,37 @@ echo ' var html = "";
</div>
</div>';
}
echo '</div><span id="employee_links">
<a href="index.php?controller=AdminEmployees&id_employee='.(int)Context::getContext()->employee->id.'&updateemployee&token='.Tools::getAdminTokenLite('AdminEmployees').'" class="employee">'.translate('My preferences').'</a>
<span class="separator"></span>
<span class="employee_name">
'.Tools::substr(Context::getContext()->employee->firstname, 0, 1).'.&nbsp;'.htmlentities(Context::getContext()->employee->lastname, ENT_COMPAT, 'UTF-8').'
</span><span class="separator"></span><a href="index.php?logout" id="header_logout"><span>'.translate('logout').'</span></a><span class="separator"></span>';
if (Context::getContext()->shop->getBaseURL())
echo '<a href="'.Context::getContext()->shop->getBaseURL().'" id="header_foaccess" target="_blank" title="'.translate('View my shop').'"><span>'.translate('View my shop').'</span></a>';
echo '</span>
echo '</div>
<div id="employee_box">
<div id="employee_infos">
<div class="employee_name">'.translate('Welcome,').' <strong>'.Context::getContext()->employee->firstname.'&nbsp'.Context::getContext()->employee->lastname.'</strong></div>
<div class="clear"></div>
<ul id="employee_links">
<li><a href="'.htmlentities(Context::getContext()->link->getAdminLink('AdminEmployees'), ENT_COMPAT, 'UTF-8').'&id_employee={$employee->id}&amp;updateemployee">'.translate('My preferences').'</a></li>
<li class="separator">&nbsp;</li>
<li><a id="header_logout" href="index.php?logout">'.translate('logout').'</a></li>
</ul>';
if (defined(_PS_BASE_URL_))
echo '<a href="'._PS_BASE_URL_.'" id="header_foaccess" target="_blank" title="'.translate('View my shop').'">'.translate('View my shop').'</a>';
echo '</div>
</div>
<div id="header_search">
<form method="post" action="index.php?controller=AdminSearch&token='.Tools::getAdminTokenLite('AdminSearch').'">
<input type="text" name="bo_query" id="bo_query"
value="'.Tools::safeOutput(Tools::stripslashes(Tools::getValue('bo_query'))).'"
/>
<select name="bo_search_type" id="bo_search_type">
<form method="post" action="index.php?controller=AdminSearch&amp;token='.Tools::getAdminTokenLite('AdminSearch').'">
<input type="text" name="bo_query" id="bo_query" value="'.Tools::safeOutput(Tools::stripslashes(Tools::getValue('bo_query'))).'" />
<select name="bo_search_type" id="bo_search_type" class="chosen no-search">
<option value="0">'.translate('everywhere').'</option>
<option value="1" '.(Tools::getValue('bo_search_type') == 1 ? 'selected="selected"' : '').'>'.translate('catalog').'</option>
<option value="2" '.(Tools::getValue('bo_search_type') == 2 ? 'selected="selected"' : '').'>'.translate('customers').'</option>
<option value="6" '.(Tools::getValue('bo_search_type') == 6 ? 'selected="selected"' : '').'>'.translate('ip address').'</option>
<optgroup label="'.translate('customers').':">
<option value="2" '.(Tools::getValue('bo_search_type') == 2 ? 'selected="selected"' : '').'>'.translate('by name').'</option>
<option value="6" '.(Tools::getValue('bo_search_type') == 6 ? 'selected="selected"' : '').'>'.translate('by ip address').'</option>
</optgroup>
<option value="3" '.(Tools::getValue('bo_search_type') == 3 ? 'selected="selected"' : '').'>'.translate('orders').'</option>
<option value="4" '.(Tools::getValue('bo_search_type') == 4 ? 'selected="selected"' : '').'>'.translate('invoices').'</option>
<option value="5" '.(Tools::getValue('bo_search_type') == 5 ? 'selected="selected"' : '').'>'.translate('carts').'</option>
<option value="7" '.(Tools::getValue('bo_search_type') == 7 ? 'selected="selected"' : '').'>'.translate('modules').'</option>
</select>
<input type="submit" id="bo_search_submit" class="button" value="'.translate('Search').'"/>
</form>

View File

@@ -1288,6 +1288,7 @@ class ToolsCore
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, $curl_timeout);
curl_setopt($curl, CURLOPT_TIMEOUT, $curl_timeout);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
$opts = stream_context_get_options($stream_context);
if (isset($opts['http']['method']) && Tools::strtolower($opts['http']['method']) == 'post')
{

0
translations/br/admin.php Normal file → Executable file
View File

0
translations/br/errors.php Normal file → Executable file
View File

0
translations/br/fields.php Normal file → Executable file
View File

0
translations/br/pdf.php Normal file → Executable file
View File

0
translations/br/tabs.php Normal file → Executable file
View File

0
translations/de/admin.php Normal file → Executable file
View File

0
translations/de/errors.php Normal file → Executable file
View File

0
translations/de/fields.php Normal file → Executable file
View File

0
translations/de/pdf.php Normal file → Executable file
View File

0
translations/en/admin.php Normal file → Executable file
View File

0
translations/en/errors.php Normal file → Executable file
View File

0
translations/en/fields.php Normal file → Executable file
View File

0
translations/en/pdf.php Normal file → Executable file
View File

0
translations/es/admin.php Normal file → Executable file
View File

0
translations/es/errors.php Normal file → Executable file
View File

0
translations/es/fields.php Normal file → Executable file
View File

0
translations/es/pdf.php Normal file → Executable file
View File

19
translations/fr/admin.php Normal file → Executable file
View File

@@ -547,6 +547,7 @@ $_LANGADM['AdminContactsd3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer la séle
$_LANGADM['AdminContactsdad8fea3b5ce4e500ea2fa2b24ecc3c2'] = 'L\'e-mail sera envoyé à cette adresse';
$_LANGADM['AdminContactse25f0ecd41211b01c83e5fec41df4fe7'] = 'Supprimer les éléments sélectionnés ?';
$_LANGADM['AdminContactsf16b5952df8d25ea30b25ff95ee8fedf'] = 'Association de la boutique :';
$_LANGADM['AdminController0095a9fa74d1713e43e370a7d7846224'] = 'Exporter';
$_LANGADM['AdminController02d5b938505dcda41a52ef3abcbd354a'] = 'Sélection supprimée avec succès';
$_LANGADM['AdminController0a71c80de89d7b2d3e6b22974a4a7548'] = 'Une nouvelle commande a été passée sur votre boutique.';
$_LANGADM['AdminController0be078b247fde4986e320cd2684e7ab9'] = 'Module(s) désinstallé(s) avec succès';
@@ -566,8 +567,10 @@ $_LANGADM['AdminController23a61fdb216b255d81b0d49ca1abb8a4'] = 'Il y a %d averti
$_LANGADM['AdminController25415ea03fb3190b82a1011285a15d35'] = 'Association d\'une image et d\'une boutique modifiée';
$_LANGADM['AdminController2d171b6a17c89ae0c6e4f2b64f2af559'] = 'Une modification de ce champ sera appliqué pour toutes les boutiques';
$_LANGADM['AdminController2df9f8b8654e79c091ab5f33c9e1b67b'] = 'Envoi réussi';
$_LANGADM['AdminController2faec1f9f8cc7f8f40d521c4dd574f49'] = 'Activer';
$_LANGADM['AdminController317adff4884633ea2cf159be152f44c2'] = 'Configuration multiboutique pour';
$_LANGADM['AdminController3270965aab0523dca0351cefc83e40b0'] = 'Module supprimé';
$_LANGADM['AdminController349838fb1d851d3e2014b9fe39203275'] = 'Installer';
$_LANGADM['AdminController399574be0ed95657dfac0e8d38374c62'] = 'par adresse IP';
$_LANGADM['AdminController3a38028d626312ff00aace87da666108'] = 'De :';
$_LANGADM['AdminController3a627484fcb2a5d110b44a390d5ee7c1'] = 'La zone a été bien assignée à la sélection';
@@ -584,11 +587,14 @@ $_LANGADM['AdminController4b7ba8d511da9012bada1fe4c1929667'] = 'Extrait :';
$_LANGADM['AdminController4c451e58213fa6b17eb765efaf585327'] = 'Message envoyé au client';
$_LANGADM['AdminController4f32a32dea642737580dd71cdfd8d3c0'] = 'Accès rapide';
$_LANGADM['AdminController5196611ad1bf27e9cef5375b038c04db'] = 'Faites-moi sortir d\'ici !';
$_LANGADM['AdminController526d688f37a86d3c3f27d0c5016eb71d'] = 'Réinitialiser';
$_LANGADM['AdminController529a53abbdf42a64cb2d149c0aeced04'] = 'Dernières commandes';
$_LANGADM['AdminController53cd939ae14e33855274e17a3c411fdd'] = 'Pour des raisons de sécurité, vous devez aussi :';
$_LANGADM['AdminController56deca22a707214865f7ea3ae6391d67'] = 'factures';
$_LANGADM['AdminController5bdc90e9608e48cc15f38ff360cd234a'] = 'Message affiché sur le bouton de validation (obligatoire)';
$_LANGADM['AdminController602e56fe004fb27bac26a6d05ecc7431'] = 'Liste des modules';
$_LANGADM['AdminController630f6dc397fe74e52d5189e2c80f282b'] = 'Retour à la liste';
$_LANGADM['AdminController668c99c1164d5348f99c0878770b53a8'] = 'Activer ce module pour toutes les boutiques';
$_LANGADM['AdminController67050089b1ea5deae16db96521bcbdd1'] = 'Voir le client';
$_LANGADM['AdminController6832d3339f3238558d9e290f4ff36bb8'] = 'Module(s) installé(s) avec succès';
$_LANGADM['AdminController6cfb80c26b415f8f6467cf07b0c700dd'] = 'Langue copiée avec succès';
@@ -602,12 +608,14 @@ $_LANGADM['AdminController80e868e8d753c3ec4066aab283e66cbc'] = 'Module retiré d
$_LANGADM['AdminController84b4d8c8cdd02488c0f868e97b22a3c2'] = 'Création réussie';
$_LANGADM['AdminController8524de963f07201e5c086830d370797f'] = 'Chargement en cours...';
$_LANGADM['AdminController855d2bf59043b81e76bc931e685a4f58'] = 'par nom';
$_LANGADM['AdminController85687c63fd82afbc21632f288e53a6e4'] = 'Cette action va supprimer définitivement le module de votre serveur. Êtes-vous certain de vouloir faire cela ?';
$_LANGADM['AdminController8642a2f37a5d42b54ce53b1fbdd1583f'] = 'paniers';
$_LANGADM['AdminController87a2663d841b78f01c27c0edb4f50b76'] = 'Suppression réussie';
$_LANGADM['AdminController893a9104a7f0ebd94a7f4171d1996c7d'] = 'Image supprimée avec succès';
$_LANGADM['AdminController8a3cfd894d57e33c55400fc9d76aa08a'] = 'Cliquez ici pour en savoir plus';
$_LANGADM['AdminController980b6caee06822f8c5df45eb7db277be'] = 'Module greffé sur le point d\'accroche avec succès';
$_LANGADM['AdminController9cf0de095c0d4c49d3b37ca76b50124e'] = 'Mise à jour réussie';
$_LANGADM['AdminControllera27dfe771799a09fd55fea73286eb6ab'] = 'Désinstaller';
$_LANGADM['AdminControllera2eda4e1c4dfc9bade7150b878c57a46'] = 'Voir tous les messages';
$_LANGADM['AdminControllera4da6f31ab268a5310bc475e63ab92db'] = 'Je comprends les risques et je veux vraiment afficher cette page';
$_LANGADM['AdminControllera546b4ed60fa82d6e50475370c228979'] = 'Un nouveau message a été posté sur votre boutique';
@@ -615,10 +623,12 @@ $_LANGADM['AdminControllera92269f5f14ac147a821728c23204c0b'] = 'Cacher l\'averti
$_LANGADM['AdminControllerab2f2e57bccf2066528b0c585993dcda'] = 'Pas de nouveau client inscrit sur votre boutique';
$_LANGADM['AdminControllerad0750ccecf0c31c43ce46ea7e665ea5'] = 'Voir toutes les commandes';
$_LANGADM['AdminControllerb06bd418328857c3ebd769cd2ce2b62a'] = 'Nom du client :';
$_LANGADM['AdminControllerb2f31ef3065bf40b2da9fa8525c6adb9'] = 'Désactiver ce module';
$_LANGADM['AdminControllerb73a47387ac1a23b17154c3b1e93fb71'] = 'Pas de nouveau message envoyé sur votre boutique';
$_LANGADM['AdminControllerb9b6aafc8c4b40e58791968f5306bf60'] = 'Sélection de l\'image par défaut enregistrée';
$_LANGADM['AdminControllerbb01c8c21884e974df8517110c92b22a'] = 'La traduction a été ajoutée avec succès mais la langue n\'a pas été créée';
$_LANGADM['AdminControllerbbaff12800505b22a853e8b7f4eb6a22'] = 'Contact';
$_LANGADM['AdminControllerbcfaccebf745acfd5e75351095a5394a'] = 'Désactiver';
$_LANGADM['AdminControllerc112bd7d596888979be02bd780e6a94f'] = 'Voir la commande';
$_LANGADM['AdminControllerc9468b4bd45a165049277af6756db10e'] = 'Pack de localisation importé';
$_LANGADM['AdminControllerc9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer';
@@ -637,7 +647,9 @@ $_LANGADM['AdminControllere9d71289fdbe4799d4fe91ccc17be0af'] = 'Miniatures rég
$_LANGADM['AdminControlleree2d46272f22d7cbcfe5e066b5d13b2c'] = 'Une modification de ce champ sera appliqué pour toutes les boutiques du groupe';
$_LANGADM['AdminControlleree77ea46b0c548ed60eadf31bdd68613'] = 'Erreur dans la requête SQL';
$_LANGADM['AdminControlleref61fb324d729c341ea8ab9901e23566'] = 'Créer';
$_LANGADM['AdminControllerf1206f9fadc5ce41694f69129aecac26'] = 'Configurer';
$_LANGADM['AdminControllerf22def68c5c456936078623b6dcd27ff'] = 'Traductions ajoutées avec succès';
$_LANGADM['AdminControllerf2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer';
$_LANGADM['AdminControllerf84b4e2770ec98e3db2926cd49864d2f'] = 'Mes préférences';
$_LANGADM['AdminControllerfc2c8663d58c42bc29edd45a79b4358c'] = 'La remise a été générée avec succès';
$_LANGADM['AdminControllerfe8558c5676d75d543fb486e702d87bc'] = 'Cliquez ici pour obtenir plus d\'informations';
@@ -1899,6 +1911,8 @@ $_LANGADM['AdminModules96e36efe70e72835ae51946e2650f9e7'] = 'Ajouter un nouveau
$_LANGADM['AdminModules97d50b4e07a11a00e130af2bab36e71b'] = 'Identifiant Addons';
$_LANGADM['AdminModules98dd43dfae05b11befe1f140e0ec787a'] = 'Installé';
$_LANGADM['AdminModules998e97d3c6590a3b86de0321dddd9462'] = 'PrestaShop n\'a pas pu se connecter à Addons. Veuillez vérifier vos identifiants et votre connexion Internet.';
$_LANGADM['AdminModulesList2c422a499f038293ed0c5a1e085cd827'] = 'Aucun module disponible dans cette section';
$_LANGADM['AdminModulesList6afd80bf62a1b8bdfe729af8a0159fee'] = 'Liste des modules';
$_LANGADM['AdminModulesPositions08a38277b0309070706f6652eeae9a53'] = 'Bas';
$_LANGADM['AdminModulesPositions0eb9b3af2e4a00837a1b1a854c9ea18c'] = 'modules';
$_LANGADM['AdminModulesPositions1063e38cb53d94d386f21227fcd84717'] = 'Supprimer';
@@ -4380,12 +4394,15 @@ $_LANGADM['Helperef7de3f485174ff47f061ad27d83d0ee'] = 'sélectionné';
$_LANGADM['Helperf2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer';
$_LANGADM['Helperfa3e5edac607a88d8fd7ecb9d6d67424'] = 'Mars';
$_LANGADM['index050a0d11da7943317186f76a36b14a6c'] = 'Aucune nouvelle commande n\'a été passée sur votre boutique';
$_LANGADM['index0eb9b3af2e4a00837a1b1a854c9ea18c'] = 'modules';
$_LANGADM['index1165ec47ce359708f4a608d4decd04f6'] = 'Vous configurez votre site pour le magasin %s';
$_LANGADM['index12c500ed0b7879105fb46af0f246be87'] = 'commandes';
$_LANGADM['index13348442cc6a27032d2b4aa28b75a5d3'] = 'Recherche';
$_LANGADM['index1a9c46c5de112e3cb217e0ec5576d499'] = 'Derniers clients';
$_LANGADM['index1ab1f34b16d32fa54b90ee0f91f39dfd'] = 'Bienvenue,';
$_LANGADM['index2d171b6a17c89ae0c6e4f2b64f2af559'] = 'Une modification de ce champ sera appliquée à toutes les boutiques';
$_LANGADM['index317adff4884633ea2cf159be152f44c2'] = 'Configuration multiboutique pour';
$_LANGADM['index399574be0ed95657dfac0e8d38374c62'] = 'par adresse IP';
$_LANGADM['index3c40bce8d041e25000f92477f7f8ab31'] = 'Cliquez ici pour voir ce message';
$_LANGADM['index3e12761a2bcba8a5a257db3ccab5422f'] = 'Une modification de ce champ sera appliquée à toutes les boutiques du groupe %s';
$_LANGADM['index3e937d04c1c83492260a33d926ca587c'] = 'Bug Tracker';
@@ -4394,7 +4411,6 @@ $_LANGADM['index46f22f2a56ddd091f4b2b2c35c5ca989'] = 'catalogue';
$_LANGADM['index4942b4a77c98af316861fc63c648b45f'] = 'Voir tous les clients';
$_LANGADM['index4b6f7d34a58ba399f077685951d06738'] = 'clients';
$_LANGADM['index4f32a32dea642737580dd71cdfd8d3c0'] = 'Accès rapide';
$_LANGADM['index50d7eaecd64b277cdaac58e0cd48ad83'] = 'adresse IP';
$_LANGADM['index5196611ad1bf27e9cef5375b038c04db'] = 'Sortez-moi d\'ici !';
$_LANGADM['index529a53abbdf42a64cb2d149c0aeced04'] = 'Dernières commandes';
$_LANGADM['index53cd939ae14e33855274e17a3c411fdd'] = 'Pour des raisons de sécurité, vous devez :';
@@ -4402,6 +4418,7 @@ $_LANGADM['index56deca22a707214865f7ea3ae6391d67'] = 'factures';
$_LANGADM['index7286baef44d09300636a4b99c533523c'] = 'Temps de chargement : ';
$_LANGADM['index77181afe06241c54ef771a23ee6da8f4'] = 'Derniers messages';
$_LANGADM['index7de03e29467c9d376a57e40f2ace850f'] = 'Une modification de ce champ sera appliquée à la boutique %s';
$_LANGADM['index855d2bf59043b81e76bc931e685a4f58'] = 'par nom';
$_LANGADM['index8642a2f37a5d42b54ce53b1fbdd1583f'] = 'paniers';
$_LANGADM['index86bbc77fd75ac02c21b84a37b260eadd'] = 'Panneau d\'administration';
$_LANGADM['indexa2eda4e1c4dfc9bade7150b878c57a46'] = 'Voir tous les messages';

0
translations/fr/errors.php Normal file → Executable file
View File

0
translations/fr/fields.php Normal file → Executable file
View File

0
translations/fr/pdf.php Normal file → Executable file
View File

0
translations/it/admin.php Normal file → Executable file
View File

0
translations/it/errors.php Normal file → Executable file
View File

0
translations/it/fields.php Normal file → Executable file
View File

0
translations/it/pdf.php Normal file → Executable file
View File