git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7522 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 604 B |
@@ -1,314 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
include_once('envoimoinscher.php');
|
||||
|
||||
class AdminEnvoiMoinsCher extends AdminTab
|
||||
{
|
||||
public $packaging = array('Pli' => 'Pli', 'Colis' => 'Colis', 'Encombrant' => 'Objet lourd', 'Palette' => 'Palette');
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function display()
|
||||
{
|
||||
global $cookie;
|
||||
$emc = new Envoimoinscher();
|
||||
echo '<h2>'.$emc->lang('List of orders to export').'</h2>';
|
||||
if (Tools::isSubmit('submitExport'))
|
||||
{
|
||||
$orderToExport = array();
|
||||
$idsOrdersToExport = Tools::getValue('ordersBox');
|
||||
if (!empty($idsOrdersToExport))
|
||||
{
|
||||
foreach($idsOrdersToExport as $id)
|
||||
{
|
||||
$orderToExport[] = self::getOrderDetails((int)($id));
|
||||
}
|
||||
echo '<form action="http://www.envoimoinscher.com/index.html" method="POST">
|
||||
<input type="hidden" name="url_renvoi" value="'.Tools::getProtocol().htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').$_SERVER['REQUEST_URI'].'">
|
||||
<input type="hidden" name="login" value="'.htmlspecialchars(Configuration::get('EMC_LOGIN'), ENT_COMPAT, 'UTF-8').'">
|
||||
<input type="hidden" name="tracking" value="prestashop_module_v1">';
|
||||
self::inputMaker($orderToExport);
|
||||
|
||||
echo '</form>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$("form").submit();
|
||||
});
|
||||
</script>';
|
||||
}
|
||||
else echo '<div class="alert error">
|
||||
<img src="' . _PS_IMG_ . 'admin/forbbiden.gif" alt="nok" />
|
||||
'.$emc->lang('No order to export').'</div>
|
||||
<p><a class="button" href="'.Tools::getProtocol().htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').$_SERVER['REQUEST_URI'].'">Retour</a></p>';
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Configuration::get('EMC_ORDER_STATE') AND Configuration::get('EMC_CARRIER') AND Configuration::get('EMC_FIRST_NAME') AND Configuration::get('EMC_LAST_NAME')
|
||||
AND Configuration::get('EMC_ADDRESS') AND Configuration::get('EMC_ZIP_CODE') AND Configuration::get('EMC_CITY') AND Configuration::get('EMC_COUNTRY')
|
||||
AND Configuration::get('EMC_PHONE') AND Configuration::get('EMC_EMAIL') AND Configuration::get('EMC_LOGIN'))
|
||||
{
|
||||
echo '<form action="'.$_SERVER['REQUEST_URI'].'" method="POST">';
|
||||
$orders = self::getOrders();
|
||||
self::displayOrders($orders);
|
||||
echo '<p><input type="submit" value="'.$emc->lang('Send').'" name="submitExport" class="button" style="margin:10px 0px 0px 25px;"></p>
|
||||
</form>';
|
||||
}
|
||||
else
|
||||
echo '<h2 style="color:red">'.$emc->lang('Please configure this module in order').'</h2>';
|
||||
}
|
||||
echo '<br><p><a href="index.php?tab=AdminModules&configure=envoimoinscher&token='.Tools::getAdminToken('AdminModules'.(int)(Tab::getIdFromClassName('AdminModules')).(int)($cookie->id_employee)).'" class="button">
|
||||
' . $emc->lang('Change configuration') . '</a></p>';
|
||||
}
|
||||
|
||||
private function getOrders()
|
||||
{
|
||||
$id_order_state = (int)(Configuration::get('EMC_ORDER_STATE'));
|
||||
$id_carrier = (int)(Configuration::get('EMC_CARRIER'));
|
||||
|
||||
$sql = '
|
||||
SELECT o.id_order as id_order, o.`id_customer` as id_customer,
|
||||
CONCAT(c.`firstname`, \' \', c.`lastname`) AS `customer`,
|
||||
o.total_paid_real as total, o.total_shipping as shipping,
|
||||
o.date_add as date, o.id_currency as id_currency, o.id_lang as id_lang,
|
||||
SUM(od.product_weight * od.product_quantity) as weight
|
||||
FROM `'._DB_PREFIX_.'orders` o
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_detail` od ON (o.`id_order` = od.`id_order`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'customer` c ON (c.`id_customer` = o.`id_customer`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_history` oh ON (oh.`id_order` = o.`id_order`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_state` os ON (os.`id_order_state` = oh.`id_order_state`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_state_lang` osl ON (os.`id_order_state` = osl.`id_order_state` AND osl.`id_lang` = o.`id_lang`)
|
||||
WHERE (SELECT moh.`id_order_state` FROM `'._DB_PREFIX_.'order_history` moh WHERE moh.`id_order` = o.`id_order` ORDER BY moh.date_add DESC LIMIT 1) = '.$id_order_state.'
|
||||
AND o.id_carrier = '.pSQL($id_carrier).'
|
||||
GROUP BY o.`id_order`, od.`id_order`
|
||||
ORDER BY o.`date_add` ASC';
|
||||
return Db::getInstance()->ExecuteS($sql);
|
||||
}
|
||||
|
||||
private function displayOrders($orders)
|
||||
{
|
||||
global $cookie;
|
||||
echo '<table cellspacing="0" cellpadding="0" class="table" align="center" style="margin:10px 0px 0px 25px;">
|
||||
<tr>
|
||||
<th><input type="checkbox" name="checkme" class="noborder" onclick="checkDelBoxes(this.form, \'ordersBox[]\', this.checked)" /></th>
|
||||
<th>'.$emc->lang('ID').'</th>
|
||||
<th>'.$emc->lang('Name').'</th>
|
||||
<th>'.$emc->lang('Total Cost').'</th>
|
||||
<th>'.$emc->lang('Total shipment').'</th>
|
||||
<th>'.$emc->lang('Date').'</th>
|
||||
<th>'.$emc->lang('Packaging').'</th>
|
||||
<th>'.$emc->lang('Nature of contents').'</th>
|
||||
<th>'.$emc->lang('Detail').'</th>
|
||||
</tr>';
|
||||
if (!empty($orders))
|
||||
{
|
||||
foreach($orders as $order)
|
||||
{
|
||||
$customer = new Customer((int)($order['id_customer']));
|
||||
echo '<tr>
|
||||
<td align="center">
|
||||
<input type="checkbox" name="ordersBox[]" class="ordersBox" value="'.(int)($order['id_order']).'" />
|
||||
</td>
|
||||
<td align="center">'.(int)($order['id_order']).'</td>
|
||||
<td>'.htmlentities($customer->lastname, ENT_COMPAT, 'UTF-8').' '.htmlentities($customer->firstname, ENT_COMPAT, 'UTF-8').'</td>
|
||||
<td align="center">'.Tools::displayPrice($order['total'], new Currency((int)($order['id_currency']))).'</td>
|
||||
<td align="center">'.Tools::displayPrice($order['shipping'], new Currency((int)($order['id_currency']))).'</td>
|
||||
<td align="center">'.Tools::displayDate($order['date'], (int)($order['id_lang'])).'</td>
|
||||
<td align="center">
|
||||
<select name="packaging_'.$order['id_order'].'">';
|
||||
foreach($this->packaging as $package => $value)
|
||||
echo '<option '.(Configuration::get('EMC_PACKAGING_DEFAULT') == $value ? ' selected="selected" ' : '').' value="'.htmlentities($value, ENT_COMPAT, 'UTF-8').'">
|
||||
'.htmlentities($package, ENT_COMPAT, 'UTF-8').'</option>';
|
||||
echo '</select>
|
||||
</td>
|
||||
<td>'.envoimoinscher::selectNature(Configuration::get('EMC_CONTENT'),(int)($order['id_order'])).'</td>
|
||||
<td align="center"><a href="index.php?tab=AdminOrders&id_order='.(int)($order['id_order']).'&vieworder&token='.Tools::getAdminToken('AdminOrders'.(int)(Tab::getIdFromClassName('AdminOrders')).(int)($cookie->id_employee)).'">
|
||||
<img border="0" title="'.$emc->lang('View').'" alt="'.$emc->lang('View').'" src="'._PS_IMG_.'admin/details.gif"/></a></td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
else
|
||||
echo '<tr><td colspan="4" align="center">'.$emc->lang('No order to export').'</td></tr>';
|
||||
|
||||
echo '</table>';
|
||||
}
|
||||
|
||||
private function getOrderDetails($id_order)
|
||||
{
|
||||
global $cookie;
|
||||
$confs = Configuration::getMultiple(array('EMC_LOGIN', 'PS_SHOP_NAME', 'EMC_GENDER', 'EMC_FIRST_NAME', 'EMC_LAST_NAME', 'EMC_ADDRESS',
|
||||
'EMC_ZIP_CODE', 'EMC_CITY', 'EMC_COUNTRY', 'EMC_PHONE', 'EMC_EMAIL', 'EMC_EMAILS'));
|
||||
$orderDetails = array();
|
||||
$order = new Order((int)($id_order));
|
||||
$customer = new Customer((int)($order->id_customer));
|
||||
$adresseDelivery = new Address((int)($order->id_address_delivery));
|
||||
|
||||
$genderTab = array(1 => 'M.', 2 => 'Mme', 9 => '');
|
||||
$orderDetails['url_suivi'] = Tools::getProtocol().htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__.'modules/envoimoinscher/tracking.php?token='.$customer->secure_key;
|
||||
$orderDetails['infoexterne'] = str_replace('.','_',str_replace('www.','',$_SERVER['HTTP_HOST'])).'_'.(int)($id_order);
|
||||
$orderDetails['packaging'] = Tools::getValue('packaging_'.(int)($id_order));
|
||||
$orderDetails['type_objet'] = Tools::getValue('type_objet_'.(int)($id_order));
|
||||
$orderDetails['envoi_emailsconf'] = (int)($confs['EMC_EMAILS']);
|
||||
|
||||
//products infos
|
||||
$productsDetails = $order->getProductsDetail();
|
||||
$tabDetails = array();
|
||||
foreach($productsDetails as $details)
|
||||
{
|
||||
$features = self::getFeatures((int)($details['product_id']));
|
||||
$tabDetailsProduct = array();
|
||||
$tabDetailsProduct['id'] = (int)($details['product_id']);
|
||||
$tabDetailsProduct['nb'] = (int)($details['product_quantity']);
|
||||
$tabDetailsProduct['poids'] = (float)($details['product_weight']);
|
||||
$tabDetailsProduct['description'] = htmlspecialchars($details['product_name'], ENT_COMPAT, 'UTF-8');
|
||||
foreach($features as $key => $value)
|
||||
$tabDetailsProduct[$key] = $value;
|
||||
$tabDetails[] = $tabDetailsProduct;
|
||||
}
|
||||
$orderDetails['products'] = $tabDetails;
|
||||
|
||||
//sending infos
|
||||
$orderExpediteur['civilite'] = htmlspecialchars($genderTab[$confs['EMC_GENDER']], ENT_COMPAT, 'UTF-8');
|
||||
$orderExpediteur['collecte_type'] = 'entreprise';
|
||||
$orderExpediteur['societe'] = htmlspecialchars($confs['PS_SHOP_NAME'], ENT_COMPAT, 'UTF-8');
|
||||
$orderExpediteur['nom'] = htmlspecialchars($confs['EMC_LAST_NAME'], ENT_COMPAT, 'UTF-8');
|
||||
$orderExpediteur['prenom'] = htmlspecialchars($confs['EMC_FIRST_NAME'], ENT_COMPAT, 'UTF-8');
|
||||
$orderExpediteur['adresse'] = htmlspecialchars($confs['EMC_ADDRESS'], ENT_COMPAT, 'UTF-8');
|
||||
$orderExpediteur['codepostal'] = htmlspecialchars($confs['EMC_ZIP_CODE'], ENT_COMPAT, 'UTF-8');
|
||||
$orderExpediteur['ville'] = htmlspecialchars($confs['EMC_CITY'], ENT_COMPAT, 'UTF-8');
|
||||
|
||||
$orderExpediteur['pz_id'] = htmlspecialchars($confs['EMC_COUNTRY'], ENT_COMPAT, 'UTF-8');
|
||||
$orderExpediteur['tel'] = htmlspecialchars($confs['EMC_PHONE'], ENT_COMPAT, 'UTF-8');
|
||||
$orderExpediteur['email'] = htmlspecialchars($confs['EMC_EMAIL'], ENT_COMPAT, 'UTF-8');
|
||||
$orderDetails['expediteur'] = $orderExpediteur;
|
||||
|
||||
//delivery infos
|
||||
$orderDelivery['civilite'] = $genderTab[(int)($customer->id_gender)];
|
||||
if (isset($adresseDelivery->company))
|
||||
$orderDelivery['collecte_type'] = 'particulier';
|
||||
$orderDelivery['societe'] = htmlspecialchars($adresseDelivery->company, ENT_COMPAT, 'UTF-8');
|
||||
$orderDelivery['prenom'] = htmlspecialchars($adresseDelivery->firstname, ENT_COMPAT, 'UTF-8');
|
||||
$orderDelivery['nom'] = htmlspecialchars($adresseDelivery->lastname, ENT_COMPAT, 'UTF-8');
|
||||
$orderDelivery['adresse'] = htmlspecialchars($adresseDelivery->address1, ENT_COMPAT, 'UTF-8');
|
||||
$orderDelivery['codepostal'] = htmlspecialchars($adresseDelivery->postcode, ENT_COMPAT, 'UTF-8');
|
||||
$orderDelivery['ville'] = htmlspecialchars($adresseDelivery->city, ENT_COMPAT, 'UTF-8');
|
||||
$orderDelivery['pz_id'] = Country::getIsoById(Country::getIdByName((int)($cookie->id_lang),$adresseDelivery->country));
|
||||
if (isset($adresseDelivery->phone))
|
||||
$orderDelivery['tel'] = htmlspecialchars($adresseDelivery->phone, ENT_COMPAT, 'UTF-8');
|
||||
else
|
||||
$orderDelivery['tel'] = htmlspecialchars($adresseDelivery->phone_mobile, ENT_COMPAT, 'UTF-8');
|
||||
$orderDelivery['email'] = htmlspecialchars($customer->email, ENT_COMPAT, 'UTF-8');
|
||||
|
||||
$orderDetails['destinataire'] = $orderDelivery;
|
||||
//d($orderDetails);
|
||||
return $orderDetails;
|
||||
}
|
||||
|
||||
private function getFeatures($id)
|
||||
{
|
||||
global $cookie;
|
||||
$featuresTab = array();
|
||||
$confs = Configuration::getMultiple(array('EMC_WIDTH', 'EMC_HEIGHT', 'EMC_DEPTH'));
|
||||
$features = Product::getFeaturesStatic((int)$id);
|
||||
foreach($features as $feature)
|
||||
{
|
||||
switch ($feature['id_feature'])
|
||||
{
|
||||
case $confs['EMC_WIDTH'] :
|
||||
$featureValue = new FeatureValue((int)($feature['id_feature_value']));
|
||||
$featuresTab['largeur'] = $featureValue->value[(int)($cookie->id_lang)];
|
||||
break;
|
||||
case $confs['EMC_HEIGHT'] :
|
||||
$featureValue = new FeatureValue((int)($feature['id_feature_value']));
|
||||
$featuresTab['hauteur'] = $featureValue->value[(int)($cookie->id_lang)];
|
||||
break;
|
||||
case $confs['EMC_DEPTH'] :
|
||||
$featureValue = new FeatureValue((int)($feature['id_feature_value']));
|
||||
$featuresTab['longueur'] = $featureValue->value[(int)($cookie->id_lang)];
|
||||
break;
|
||||
}
|
||||
}
|
||||
return $featuresTab;
|
||||
}
|
||||
|
||||
private function inputMaker($orderDetails)
|
||||
{
|
||||
$nbrOrder = count($orderDetails)-1;
|
||||
foreach($orderDetails as $details)
|
||||
{
|
||||
foreach($details as $detail => $values)
|
||||
{
|
||||
if ($detail == 'products')
|
||||
{
|
||||
if (count($values) > 1)
|
||||
{
|
||||
$weight = 0;
|
||||
foreach($values as $key => $features)
|
||||
{
|
||||
$weight += (float)($features['poids']*$features['nb']);
|
||||
}
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.groupe_0.poids" value="'.$weight.'">';
|
||||
}
|
||||
elseif($values[0]['nb'] > 1)
|
||||
{
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.groupe_0.poids" value="'.$values[0]['poids']*$values[0]['nb'].'">';
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.description" value="'.$values[0]['description'].'">';
|
||||
}
|
||||
else
|
||||
{
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.groupe_0.poids" value="'.(isset($values[0]['poids']) ? ((float)($values[0]['poids']*$values[0]['nb'])) : '').'">';
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.groupe_0.longueur" value="'.(isset($values[0]['longueur']) ? (float)($values[0]['longueur']) : '').'">';
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.groupe_0.hauteur" value="'.(isset($values[0]['hauteur']) ? (float)($values[0]['hauteur']) : '').'">';
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.groupe_0.largeur" value="'.(isset($values[0]['largeur']) ? (float)($values[0]['largeur']) : '').'">'; echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.description" value="'.(isset($values[0]['description']) ? htmlentities($values[0]['description'], ENT_COMPAT, 'UTF-8') : '').'">';
|
||||
}
|
||||
}
|
||||
elseif ($detail == 'packaging')
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.type_envoi" value="'.htmlentities($values, ENT_COMPAT, 'UTF-8').'">';
|
||||
elseif ($detail == 'infoexterne')
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.infoexterne" value="'.htmlentities($values, ENT_COMPAT, 'UTF-8').'">';
|
||||
elseif ($detail == 'url_suivi')
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.url_suivi" value="'.htmlentities($values, ENT_COMPAT, 'UTF-8').'">';
|
||||
elseif ($detail == 'infoexterne')
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.infoexterne" value="'.htmlentities($values, ENT_COMPAT, 'UTF-8').'">';
|
||||
elseif ($detail == 'envoi_emailsconf')
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.envoi_emailsconf" value="'.(int)($values).'">';
|
||||
elseif ($detail == 'type_objet')
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.type_objet" value="'.htmlentities($values, ENT_COMPAT, 'UTF-8').'">';
|
||||
else
|
||||
{
|
||||
foreach($values as $key => $value)
|
||||
echo '<input type="hidden" name="envoi_'.htmlentities($nbrOrder, ENT_COMPAT, 'UTF-8').'.'.htmlentities($detail, ENT_COMPAT, 'UTF-8').'.'.htmlentities($key, ENT_COMPAT, 'UTF-8').'" value="'.htmlentities($value, ENT_COMPAT, 'UTF-8').'">';
|
||||
}
|
||||
}
|
||||
$nbrOrder -=1 ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>envoimoinscher</name>
|
||||
<displayName>Envoimoinscher</displayName>
|
||||
<version>1.0</version>
|
||||
<description>Find the best price for your shipment. Compare and order carriers offers at negotiated rates.</description>
|
||||
<author></author>
|
||||
<tab>shipping_logistics</tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
<limited_countries>fr</limited_countries>
|
||||
</module>
|
||||
@@ -1,117 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e0b8a2c577580cb773bda0486acc4bf8'] = 'Envoimoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bbd983fbdc5928ce36d6edce53639718'] = 'Finden Sie den günstigsten Versand. Vergleichen und fordern Sie Angebote von Lieferanten sowie ausgehandelte Preise an.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cc89336eed19f4c3bef8ae484eb43109'] = '\'Breite\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fab811cb477e7794389f16624ac9aff9'] = '\'Höhe\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7854da902d5f2ad746fe1b6f950da08e'] = '\'Tiefe\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_63a0a494ef3c3c22829660ef6081dce4'] = '\'Bestellstatus\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_786b7b25dcd85d7e972a377f56facb5a'] = '\'Lieferant\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1a3ade81b4ddac3ff0fe9f98f93ad843'] = '\'Status Bestellung vorbei\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_070d4ccfe53bdbc791cbd6119b872f34'] = '\'Status Bestellung senden\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c98d7be3b0acc53f7d2142cc3a3ab444'] = '\'Status Bestellung geliefert\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4d470fde8487e755a50e9235e3dc13ab'] = 'muss konfiguriert sein, um dieses Modul richtig zu nutzen';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9d766be2c89b5af0010ac0c11dcddae7'] = 'Bitte manuell kopieren';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6357d3551190ec7e79371a8570121d3a'] = 'Es sind';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ce81305b7edb043d0a7a5c75cab17d0'] = 'Es ist';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_07213a0161f52846ab198be103b5ab43'] = 'Fehler';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cb5e100e5a9a3e7f6d1fd97512215282'] = 'Fehler';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_667f01ead42da9ba606aaee5632f1cd0'] = 'Konto erstellen bei Envoimoinscher:';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8fc0ba19a15eeb50ab4ad8db449b0c74'] = 'Um Ihr Konto bei Envoimoinscher zu erstellen, klicken Sie auf das Bild unten. Damit gehen Sie zu einem speziellen persönlichen Bereich, wo Sie sämtliche Tools für eine einfache Versandverwaltung finden.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Beschreibung';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_82b213c84c7cf648a3cc9e718bb0f1c5'] = 'Dieses Modul ermöglicht es Ihnen, Lieferanten-Angebote und Online-Bestellungsservices mit ausgehandelten Lieferkosten zu vergleichen.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b843f182d32b5571e48879444311c38b'] = 'Sie müssen Ihren Envoimoinscher-Benutzernamen unten eingeben. Wenn Sie noch kein Kunde bei Envoimoinscher sind, können Sie ganz einfach ein Konto erstellen, indem Sie';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c92285fa6d3e827b198d120ea3ac674'] = 'hier klicken';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d64b03d7cc357f2ac9c63f8c88b49a0'] = 'Dokumentation downloaden ';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4f70727dc34561dfde1a3c529b6205c'] = 'Einstellungen';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_32954654ac8fe66a1d09be19001de2d4'] = 'Breite';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_af7bb0f5eddd2287cf3f6b880d189e19'] = 'Wählen Sie eine Funktion ...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_31f12b07ff0701df3b6000412952f9c7'] = 'Wählen Sie die Breite in der Liste';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eec6c4bdbd339edf8cbea68becb85244'] = 'Höhe';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_97fd502c6a75bfb727fbb5a93d3bc60b'] = 'Wählen Sie die Höhe in der Liste';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_675056ad1441b6375b2c5abd48c27ef1'] = 'Tiefe';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ccccb5efc77dfc62afb2c5ad4223916d'] = 'Wählen Sie die Tiefe in der Liste';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a669003ea35aa39ca280b83bd259a032'] = 'Verpackung';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_86a0b81400546aa3bbfe94b796ed6c31'] = 'Wählen Sie eine Verpackung ...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16ef6ec0f179beeae1a68c4ebef97254'] = 'Wählen Sie die Standard-Verpackung.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f0c28b9363b60ed0a4579291ca510544'] = 'Art der Inhalte';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_55303dad425107852ebecc47601f73e2'] = 'Wählen Sie die standardmäßige Art der Inhalte.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e74b7618bb3f99b8a7c00ef765c727eb'] = 'Bestellstatus zum Export';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_509d517463244dcd1ec09c4c5fa266ac'] = 'Wählen Sie einen Status ...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bb4b4f2503c57254aaed1f1a07bb71da'] = 'Wählen Sie den Bestellstatus zum Export an Envoi Moins Cher.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_914419aa32f04011357d3b604a86d7eb'] = 'Lieferant';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6f2a31a74727092b14a9f25fa0761f4'] = 'Wählen Sie einen Lieferanten...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a22d9830367fdf0f6b2601e7484b387'] = 'Wählen Sie einen Lieferanten auf der Liste';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2aad255fde4750af3f559d078e1cb420'] = 'Bestellstatus \"Bestellung abgeschlossen\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd77298d81e440f5379f48dccf993a8b'] = 'Wählen Sie den Bestellstatus abgeschlossen';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8532ff05a8576bdc04f8a9b8b1dbbfbc'] = 'Bestellstatus Absenden';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5af6d17d6837ce556286d019e06e4e0'] = 'Wählen Sie den Bestellstatus Absenden';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d2392c7501c4041d990cc0d372cde50a'] = 'Bestellstatus Geliefert';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b06087cef2468e82e0e07499fdba5c30'] = 'Wählen Sie den Bestellstatus Geliefert';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1e884e3078d9978e216a027ecd57fb34'] = 'E-Mail';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Aktiviert';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9f5c797ebbf55adccdd8539a65a0241'] = 'Deaktiviert';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9e839460f2871eb777da1b74f3fab03e'] = 'Aktiviert oder deaktiviert das Senden von Mails aus EMC';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a995d9073f999ae5713f6994092b57e'] = 'bis es den Empfänger standardmäßig informiert';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7a16e0022af67a71b8d1521f746f41b3'] = 'EMC Login';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6ef6eed8e2c2d13d6823cbff8f139bad'] = 'Stellen Sie Ihr EMC Login ein';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a861c864b470344da673354f996ce0a7'] = 'Absenderinformationen';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_019ec3132cdf8ee0f2e2a75cf5d3e459'] = 'Geschlecht';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5f33341287efce675cacf0b3ed818e70'] = 'Wählen Sie das Geschlecht des Absenders';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d3f5eff9c40ee315d452392bed5309b'] = 'Nachname';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8cf6db4af977baa86b7691da80601bd0'] = 'Stellen Sie den Nachnamen des Absenders ein';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20db0bfeecd8fe60533206a2b5e9891a'] = 'Vorname';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49a768ce02314f39d386a66b77ae1858'] = 'Stellen Sie den Vornamen des Absenders ein';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd7bf230fde8d4836917806aff6a6b27'] = 'Adresse';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a56f1882e859d6ce5b0fbc96c544100'] = 'Stellen Sie die Adresse des Absenders ein';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_642d3ba5db8b57e006584b544e490ec7'] = 'Postleitzahl';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16e65be7ad7680a7148b8ddf0b5b4171'] = 'Stellen Sie die Postleitzahl des Absenders ein';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_57d056ed0984166336b7879c2af3657f'] = 'Stadt';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e73af174484a98a10a852ab5bdb701bf'] = 'Stellen Sie die Stadt des Absenders ein';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_59716c97497eb9694541f7c3d37b1a4d'] = 'Land';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_255529f7845194a47b4c2e28374cdb1f'] = 'Wählen Sie ein Land ...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c820bc5f65e6258a648c3621b7b761e'] = 'Wählen Sie das Land des Absenders in der Liste';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefon';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6770d2600f6b45aa0b18dd9a6e39b2f8'] = 'Stellen Sie die Telefonnummer des Absenders ein';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-Mail';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43cdf4833105e72eb951833a030ad4d5'] = 'Stellen Sie die E-Mail des Absenders ein';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c9cc8cce247e49bae79f15173ce97354'] = 'Speichern';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1fa598730b02d78aa07d07337c81c720'] = 'Breite nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c5ac8560e3b92c7941286fa8c2b3a1ed'] = 'Höhe nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_0eed429f3ae1e71de73b94e13f786893'] = 'Tiefe nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5d50fc169bba225de3df710ff98188c6'] = 'Bestellstatus nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_340ffdfdc019d0b001a4753b57aa398a'] = 'Lieferant nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ecdf47576d5d0d024f30199900c1761'] = 'Bestellstatus \"Bestellung abgeschlossen\" genicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6a9265e0dcf5d7a7f331055b9b93609'] = 'Bestellstatus Senden nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9f3440922590dae1ebc28c40555c6203'] = 'Bestellstatus Lieferung nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43b89b46dcf9440d5f852548ac5341a3'] = 'Nachname nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9a6dfbad73e6a8a852d4b1a266e941d2'] = 'Vorname nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fdda31acf2551d1edde59d64144975b8'] = 'Adresse nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_01fc0f14742ba00423886a14e31964de'] = 'PLZ nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2814eaaff876f0a3f29d87b23ceaa041'] = 'Stadt nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ae21c3189ecc1e32d10e8f3b264af190'] = 'Land nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_829d5874145d3477d778cdff96671448'] = 'Telefonnummer nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a3b23591400c94a94583a94c0ab1f19f'] = 'E-Mail nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_18f54b7a823f3349d841804a9fbc5aa3'] = 'Login nicht angegeben';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Konfiguration aktualisiert';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9284bff13acffdd879ef4ac7fca5234'] = 'Einstellungen fehlgeschlagen';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1b67f24ea45fdf2e11ad8f6e777e8c8b'] = 'Versandinformationen';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fad2b83dc128dfb793fa8ee944dd9931'] = 'Versandverfolgung';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d668e43f1d8b0584ed4f896de031d921'] = 'Keine Versandnummer';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bee4b55285d16e5fe85fc3474e343c51'] = 'Lieferscheine drucken';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_10f0b7273755ee4117c1517010e18c23'] = 'Keine Lieferscheinnummer';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9ab3e83b1071d09ca62e4cd258686f6b'] = 'Keine Bestellung zum Exportieren';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8c193493d8e4a97dc6da02d9809be530'] = 'Bitte konfigurieren Sie dieses Modul in der Bestellung';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2345e28c9b93f368968be4781ed70f5c'] = 'Konfiguration ändern';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b718adec73e04ce3ec720dd11a06a308'] = 'ID';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49ee3087348e8d44e1feda1917443987'] = 'Name';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_50e91dab2a063bc8c1dbc383b0c8e71c'] = 'Gesamtkosten';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5e8ff31378107b80ae8a9e7cd93eb1bc'] = 'Gesamt Versand';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_44749712dbec183e983dcd78a7736c41'] = 'Datum';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_403ddddf1f3eecc1a2566b3d81e12993'] = 'Art der Inhalte';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a254c25adc7d10d7e9c4889484f875a5'] = 'Detail';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4351cfebe4b61d8aa5efa1d020710005'] = 'Anzeigen';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_94966d90747b97d1f0f206c98a8b1ac3'] = 'Senden';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eae21050d83c239d047c9eb0d3bc930e'] = 'Liste der Bestellungen zum Exportieren';
|
||||
@@ -1,592 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class Envoimoinscher extends Module
|
||||
{
|
||||
private $_html = '';
|
||||
private $_postErrors = array();
|
||||
public $_errors = array();
|
||||
public $packaging = array('Pli' => 'Pli', 'Colis' => 'Colis', 'Encombrant' => 'Objet lourd', 'Palette' => 'Palette');
|
||||
const INSTALL_SQL_FILE = 'install.sql';
|
||||
function __construct()
|
||||
{
|
||||
global $cookie;
|
||||
|
||||
$this->name = 'envoimoinscher';
|
||||
$this->tab = 'shipping_logistics';
|
||||
$this->version = '1.0';
|
||||
$this->limited_countries = array('fr');
|
||||
$this->needRange = true;
|
||||
|
||||
parent::__construct ();
|
||||
|
||||
$this->page = basename(__FILE__, '.php');
|
||||
$this->displayName = $this->l('Envoimoinscher');
|
||||
$this->description = $this->l('Find the best price for your shipment. Compare and order carriers offers at negotiated rates.');
|
||||
|
||||
if (self::isInstalled($this->name))
|
||||
{
|
||||
$warning = array();
|
||||
//Check config and display warning
|
||||
if (!Configuration::get('EMC_WIDTH'))
|
||||
$warning[] .= $this->l('\'Width\'').' ';
|
||||
if (!Configuration::get('EMC_HEIGHT'))
|
||||
$warning[] .= $this->l('\'Height\'').' ';
|
||||
if (!Configuration::get('EMC_DEPTH'))
|
||||
$warning[] .= $this->l('\'Depth\'').' ';
|
||||
if (!Configuration::get('EMC_ORDER_STATE'))
|
||||
$warning[] .= $this->l('\'Order state\'').' ';
|
||||
if (!Configuration::get('EMC_CARRIER'))
|
||||
$warning[] .= $this->l('\'Carrier\'').' ';
|
||||
if (!Configuration::get('EMC_ORDER_PAST_STATE'))
|
||||
$warning[] .= $this->l('\'Order past state\'').' ';
|
||||
if (!Configuration::get('EMC_SEND_STATE'))
|
||||
$warning[] .= $this->l('\'Send order state\'').' ';
|
||||
if (!Configuration::get('EMC_DELIVERY_STATE'))
|
||||
$warning[] .= $this->l('\'Delivered order state\'').' ';
|
||||
|
||||
if (count($warning))
|
||||
$this->warning .= implode(' , ',$warning).$this->l('must be configured to use this module correctly').' ';
|
||||
}
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
global $cookie;
|
||||
|
||||
if (!file_exists(dirname(__FILE__).'/'.self::INSTALL_SQL_FILE))
|
||||
return false;
|
||||
elseif (!$sql = file_get_contents(dirname(__FILE__).'/'.self::INSTALL_SQL_FILE))
|
||||
return false;
|
||||
$sql = str_replace(array('PREFIX_', 'ENGINE_TYPE'), array(_DB_PREFIX_, _MYSQL_ENGINE_), $sql);
|
||||
$sql = preg_split("/;\s*[\r\n]+/", $sql);
|
||||
foreach ($sql AS $query)
|
||||
if ($query AND sizeof($query) AND !Db::getInstance()->Execute(trim($query)))
|
||||
return false;
|
||||
if (substr(_PS_VERSION_, 2, 3) <= 3.1)
|
||||
{
|
||||
if (!@copy(dirname(__FILE__).'/AdminEnvoiMoinsCher.gif', _PS_IMG_DIR_.'/t/AdminEnvoiMoinsCher.gif'))
|
||||
$this->_errors[] = $this->l('Please manually copy ') .dirname(__FILE__).'/AdminEnvoiMoinsCher.gif'.' in the '._PS_IMG_DIR_.'/t/AdminEnvoiMoinsCher.gif folder located in your admin directory.';
|
||||
}
|
||||
if (!parent::install() OR !Configuration::updateValue('EMC_EMAILS', 1) OR !$this->registerHook('AdminOrder') OR !self::adminInstall()
|
||||
OR !Db::getInstance()->Execute('CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'envoimoinscher` (`id_order` int(10) unsigned NOT NULL, `shipping_number` varchar(30) NOT NULL ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=latin1;'))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
private function adminInstall()
|
||||
{
|
||||
$tab = new Tab();
|
||||
$tab->class_name = 'AdminEnvoiMoinsCher';
|
||||
$tab->id_parent = 3;
|
||||
$tab->module = 'envoimoinscher';
|
||||
$tab->name[(int)(Configuration::get('PS_LANG_DEFAULT'))] = $this->l('Envoimoinscher');
|
||||
return $tab->add();
|
||||
}
|
||||
|
||||
public function uninstall()
|
||||
{
|
||||
global $cookie;
|
||||
|
||||
Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'envoimoinscher_contenu`');
|
||||
|
||||
$tab = new Tab(Tab::getIdFromClassName('AdminEnvoiMoinsCher'));
|
||||
if (!parent::uninstall() OR !$tab->delete() OR !$this->unregisterHook('AdminOrder'))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
$this->_html .= '<h2>' . $this->l('Envoimoinscher').'</h2>';
|
||||
|
||||
if (!empty($_POST) AND Tools::isSubmit('submitSave'))
|
||||
{
|
||||
$this->_postValidation();
|
||||
if (!sizeof($this->_postErrors))
|
||||
$this->_postProcess();
|
||||
else
|
||||
{
|
||||
$nbErrors = sizeof($this->_postErrors);
|
||||
$this->_html .= '<div class="alert error" >
|
||||
<h3>'.($nbErrors > 1 ? $this->l('There are') : $this->l('There is')).' '.$nbErrors.' '.($nbErrors > 1 ? $this->l('errors') : $this->l('error')).'</h3>
|
||||
<ol style="margin: 0 0 0 20px;">';
|
||||
foreach ($this->_postErrors AS $err)
|
||||
$this->_html .= '<li>- '.$err.'</li>';
|
||||
$this->_html .= '</ol></div>';
|
||||
}
|
||||
}
|
||||
$this->_displayForm();
|
||||
return $this->_html;
|
||||
}
|
||||
|
||||
|
||||
private function _displayForm()
|
||||
{
|
||||
global $cookie;
|
||||
$genderTab = array(1 => 'M.', 2 => 'Mme', 9 => '', 0 => '');
|
||||
$features = Feature::getFeatures($cookie->id_lang);
|
||||
$order_states = OrderState::getOrderStates($cookie->id_lang);
|
||||
$carriers = Carrier::getCarriers($cookie->id_lang);
|
||||
$countries = Country::getCountries($cookie->id_lang);
|
||||
$confs = Configuration::getMultiple(array('PS_SHOP_NAME', 'EMC_LOGIN', 'EMC_GENDER', 'EMC_LAST_NAME', 'EMC_FIRST_NAME', 'EMC_ADDRESS', 'EMC_ZIP_CODE', 'EMC_CITY', 'EMC_COUNTRY',
|
||||
'EMC_PHONE', 'EMC_EMAIL'));
|
||||
$link = '<a href="http://www.envoimoinscher.com/inscription.html?tracking=prestashop_module_v1
|
||||
&login='.(isset($confs['EMC_LOGIN']) ? htmlspecialchars($confs['EMC_LOGIN'], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&facturation.contact_civ='.(isset($genderTab[(int)(Configuration::get('EMC_GENDER'))]) ? htmlspecialchars($genderTab[(int)(Configuration::get('EMC_GENDER'))], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&facturation.contact_ste='.(isset($confs['PS_SHOP_NAME']) ? htmlspecialchars($confs['PS_SHOP_NAME'], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&facturation.contact_nom='.(isset($confs['EMC_LAST_NAME']) ? htmlspecialchars($confs['EMC_LAST_NAME'], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&facturation.contact_prenom='.(isset($confs['EMC_FIRST_NAME']) ? htmlspecialchars($confs['EMC_FIRST_NAME'], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&user_type=entreprise&facturation.pz_id='.(isset($confs['EMC_COUNTRY']) ? htmlspecialchars($confs['EMC_COUNTRY'], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&facturation.adresse1='.(isset($confs['EMC_ADDRESS']) ? htmlspecialchars($confs['EMC_ADDRESS'], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&facturation.contact_cp='.(isset($confs['EMC_ZIP_CODE']) ? htmlspecialchars($confs['EMC_ZIP_CODE'], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&facturation.contact_ville='.(isset($confs['EMC_CITY']) ? htmlspecialchars($confs['EMC_CITY'], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&facturation.contact_tel='.(isset($confs['EMC_PHONE']) ? htmlspecialchars($confs['EMC_PHONE'], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&facturation.contact_email='.(isset($confs['EMC_EMAIL']) ? htmlspecialchars($confs['EMC_EMAIL'], ENT_COMPAT, 'UTF-8') : '' ).'
|
||||
&url_renvoi='.urlencode(Tools::getProtocol().htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').$_SERVER['REQUEST_URI']).'">';
|
||||
|
||||
|
||||
$this->_html .= '<form action="'.$_SERVER['REQUEST_URI'].'" method="post" class="form">
|
||||
<div style="float: right; width: 440px; height: 165px; border: 1px dashed rgb(102, 102, 102); padding: 8px; margin-left: 12px;margin-top: 11px;">'.$link.'
|
||||
<h3>'.$this->l('Create account Envoimoinscher :').'</h3>
|
||||
<p style="text-align:justify">'.$this->l('To create your account on Envoimoinscher, click the image below. You will go to a dedicated personal space where you will find the necessary tools for easy management of your shipments.').'</p>
|
||||
<img src="'.$this->_path.'/ps_emc.png" alt="" /></a>
|
||||
</div>
|
||||
<fieldset style="width:420px;float:left"><legend><img src="'.$this->_path.'logo.gif" alt="" /> '.$this->l('Description').'</legend>
|
||||
<img style="float:left;margin-right:10px" src="'.$this->_path.'logocarre.png" alt="" /><p style="text-align:justify"><b>'.$this->l('This module allows you to compare carrier offers and online ordering services\' negotiated delivery rates.').'</b></p>
|
||||
<p style="text-align:justify">'.$this->l('Please enter your Envoimoinscher username below. If you are not a customer Envoimoinscher, you can easily create an account by clicking').$link.'
|
||||
'.$this->l('here').'.</a></p><br>
|
||||
<h3 style="text-align:center"><a href="http://www.prestashop.com/download/partner_modules/docs/doc_emc.pdf">'.$this->l('Download Documentation').'</a></h3>
|
||||
</fieldset>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<fieldset class="width2"><legend><img src="'.$this->_path.'logo.gif" alt="" /> '.$this->l('Settings').'</legend>
|
||||
<label>'.$this->l('Width').' : </label>
|
||||
<div class="margin-form">
|
||||
<select name="EMC_WIDTH">
|
||||
<option value="O">'.$this->l('Choose a feature ...').'</option>';
|
||||
foreach($features as $feature)
|
||||
{
|
||||
$this->_html .= '<option value="'.(int)($feature['id_feature']).'" '.((int)(Tools::getValue('EMC_WIDTH', (int)(Configuration::get('EMC_WIDTH')))) == (int)($feature['id_feature']) ? ' selected="selected" ' : '').' >
|
||||
'.htmlspecialchars($feature['name'], ENT_COMPAT, 'UTF-8').'</option>';
|
||||
}
|
||||
$this->_html .= '</select>
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Choose width in the list') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('Height').' : </label>
|
||||
<div class="margin-form">
|
||||
<select name="EMC_HEIGHT">
|
||||
<option value="O">'.$this->l('Choose a feature ...').'</option>';
|
||||
|
||||
foreach($features as $feature)
|
||||
{
|
||||
$this->_html .= '<option value="'.(int)($feature['id_feature']).'" '.((int)(Tools::getValue('EMC_HEIGHT', (int)(Configuration::get('EMC_HEIGHT')))) == (int)($feature['id_feature']) ? ' selected="selected" ' : '').' >
|
||||
'.htmlspecialchars($feature['name'], ENT_COMPAT, 'UTF-8').'</option>';
|
||||
}
|
||||
$this->_html .= '</select>
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Choose Height in the list') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('Depth').' : </label>
|
||||
<div class="margin-form">
|
||||
<select name="EMC_DEPTH">
|
||||
<option value="O">'.$this->l('Choose a feature ...').'</option>';
|
||||
foreach($features as $feature)
|
||||
{
|
||||
$this->_html .= '<option value="'.(int)($feature['id_feature']).'" '.((int)(Tools::getValue('EMC_DEPTH', (int)(Configuration::get('EMC_DEPTH')))) == (int)($feature['id_feature']) ? ' selected="selected" ' : '').' >
|
||||
'.htmlspecialchars($feature['name'], ENT_COMPAT, 'UTF-8').'</option>';
|
||||
}
|
||||
$this->_html .= '</select>
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Choose Depth in the list') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label for="id_order_state">'.$this->l('Packaging').' :</label>
|
||||
<div class="margin-form">
|
||||
<select name="EMC_PACKAGING_DEFAULT">
|
||||
<option value="">'.$this->l('Choose a Packaging ...').'</option>';
|
||||
foreach($this->packaging as $package => $value)
|
||||
$this->_html .= '<option '.(Tools::getValue('EMC_PACKAGING_DEFAULT', Configuration::get('EMC_PACKAGING_DEFAULT')) == $value ? ' selected="selected" ' : '').' value="'.$value.'">'.htmlspecialchars($package, ENT_COMPAT, 'UTF-8').'</option>';
|
||||
$this->_html .= '</select>
|
||||
<p>'. $this->l('Choose the packaging by default.').'</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label for="id_order_state">'.$this->l('Nature of content').' :</label>
|
||||
<div class="margin-form">'.
|
||||
self::selectNature(Tools::getValue('type_objet', Configuration::get('EMC_CONTENT'))).
|
||||
'<p>'. $this->l('Choose the Nature of content by default.').'</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label for="id_order_state">'.$this->l('Order state to export').' :</label>
|
||||
<div class="margin-form">
|
||||
<select name="EMC_ORDER_STATE">
|
||||
<option value="O">'.$this->l('Choose a state ...').'</option>';
|
||||
foreach ( $order_states as $state)
|
||||
{
|
||||
$this->_html .= '<option value="'.(int)($state['id_order_state']). '" style="background-color:' .$state['color'].';"';
|
||||
if (Tools::getValue('EMC_ORDER_STATE', Configuration::get('EMC_ORDER_STATE')) == (int)($state['id_order_state']))
|
||||
$this->_html .= ' selected="selected"';
|
||||
$this->_html .= '>'.htmlspecialchars($state['name'], ENT_COMPAT, 'UTF-8').'</option>';
|
||||
}
|
||||
$this->_html .= '</select>
|
||||
<sup> *</sup>
|
||||
<p>'. $this->l('Choose the order state to export to Envoi Moins Cher.').'</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('Carrier').' : </label>
|
||||
<div class="margin-form">
|
||||
<select name="EMC_CARRIER">
|
||||
<option value="O">'.$this->l('Choose a carrier ...').'</option>';
|
||||
foreach($carriers as $carrier)
|
||||
$this->_html .= '<option value="'.(int)($carrier['id_carrier']).'" '.(Tools::getValue('EMC_CARRIER', Configuration::get('EMC_CARRIER')) == $carrier['id_carrier'] ? ' selected="selected" ' : '').' >
|
||||
'.htmlspecialchars($carrier['name'], ENT_COMPAT, 'UTF-8').'</option>';
|
||||
$this->_html .= '</select>
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Choose a carrier in the list') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label for="id_order_state">'.$this->l('Order state "Order past"').' :</label>
|
||||
<div class="margin-form">
|
||||
<select name="EMC_ORDER_PAST_STATE">
|
||||
<option value="O">'.$this->l('Choose a state ...').'</option>';
|
||||
foreach ( $order_states as $state)
|
||||
{
|
||||
$this->_html .= '<option value="'.(int)($state['id_order_state']).'" style="background-color:'.$state['color'] . ';"';
|
||||
if (Tools::getValue('EMC_ORDER_PAST_STATE', Configuration::get('EMC_ORDER_PAST_STATE')) == $state['id_order_state'] ) $this->_html .= ' selected="selected"';
|
||||
$this->_html .= '>'.htmlspecialchars($state['name'], ENT_COMPAT, 'UTF-8'). '</option>';
|
||||
}
|
||||
$this->_html .= '</select>
|
||||
<sup> *</sup>
|
||||
<p>'. $this->l('Choose the order state past.').'</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label for="id_order_state">'.$this->l('Order state send').' :</label>
|
||||
<div class="margin-form">
|
||||
<select name="EMC_SEND_STATE">
|
||||
<option value="O">'.$this->l('Choose a state ...').'</option>';
|
||||
foreach ( $order_states as $state)
|
||||
{
|
||||
$this->_html .= '<option value="' . $state['id_order_state'] . '" style="background-color:' . $state['color'] . ';"';
|
||||
if (Tools::getValue('EMC_SEND_STATE', Configuration::get('EMC_SEND_STATE')) == $state['id_order_state']) $this->_html .= ' selected="selected"';
|
||||
$this->_html .= '>'.htmlspecialchars($state['name'], ENT_COMPAT, 'UTF-8').'</option>';
|
||||
}
|
||||
$this->_html .= '</select>
|
||||
<sup> *</sup>
|
||||
<p>'. $this->l('Choose the order state send.').'</p>
|
||||
</div>
|
||||
<div class="clear"> </div>';
|
||||
|
||||
//objet livré (pas géré actuellement)
|
||||
$this->_html .= '<label for="id_order_state">'.$this->l('Order state delivered').' :</label>
|
||||
<div class="margin-form">
|
||||
<select name="EMC_DELIVERY_STATE">
|
||||
<option value="O">'.$this->l('Choose a state ...').'</option>';
|
||||
foreach ( $order_states as $state)
|
||||
{
|
||||
$this->_html .= '<option value="'.(int)($state['id_order_state']).'" style="background-color:'.$state['color'].';"';
|
||||
if (Tools::getValue('EMC_DELIVERY_STATE', (int)(Configuration::get('EMC_DELIVERY_STATE'))) == (int)($state['id_order_state'])) $this->_html .= ' selected="selected"';
|
||||
$this->_html .= '>'.htmlspecialchars($state['name'], ENT_COMPAT, 'UTF-8').'</option>';
|
||||
}
|
||||
$this->_html .= '</select>
|
||||
<sup> *</sup>
|
||||
<p>'. $this->l('Choose the order state delivered.').'</p>
|
||||
</div>
|
||||
<div class="clear"> </div> ';
|
||||
|
||||
$this->_html .= '
|
||||
<label>'.$this->l('E-mail').' : </label>
|
||||
<div class="margin-form">
|
||||
<input type="radio" name="EMC_EMAILS" id="active_on" value="7" '.(Tools::getValue('EMC_EMAILS', Configuration::get('EMC_EMAILS')) ? 'checked="checked" ' : '').'/>
|
||||
<label class="t" for="active_on"> <img src="../img/admin/enabled.gif" alt="'.$this->l('Enabled').'" title="'.$this->l('Enabled').'" /></label>
|
||||
<input type="radio" name="EMC_EMAILS" id="active_off" value="0" '.(!Tools::getValue('EMC_EMAILS', Configuration::get('EMC_EMAILS')) ? 'checked="checked" ' : '').'/>
|
||||
<label class="t" for="active_off"> <img src="../img/admin/disabled.gif" alt="'.$this->l('Disabled').'" title="'.$this->l('Disabled').'" /></label>
|
||||
<p>'.$this->l('Enables or disables sending mail from EMC');//.', '.$this->l('unless it informs the recipient that it is sent by default.').'</p>
|
||||
$this->_html .= '</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('EMC Login').' : </label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="EMC_LOGIN" value="'.htmlspecialchars(Tools::getValue('EMC_LOGIN', Configuration::get('EMC_LOGIN')), ENT_COMPAT, 'UTF-8').'">
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Set your EMC login') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<p>----------------------------------------------------------------------------------------</p>
|
||||
<h2>'.$this->l('Sender Information').' : </h2>
|
||||
<label>'.$this->l('Gender').' : </label>
|
||||
<div class="margin-form">
|
||||
<input name="EMC_GENDER" id="id_gender1" value="1" '.(Tools::getValue('EMC_GENDER', Configuration::get('EMC_GENDER')) == 1 ? 'checked="checked"' : '').' type="radio"> M.
|
||||
<input name="EMC_GENDER" id="id_gender2" value="2" '.(Tools::getValue('EMC_GENDER', Configuration::get('EMC_GENDER')) == 2 ? 'checked="checked"' : '').' type="radio"> Mme
|
||||
<p>' . $this->l('Select gender of sender') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('Last name').' : </label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="EMC_LAST_NAME" value="'.htmlspecialchars(Tools::getValue('EMC_LAST_NAME', Configuration::get('EMC_LAST_NAME')), ENT_COMPAT, 'UTF-8').'">
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Set the Last Name of sender') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('First name').' : </label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="EMC_FIRST_NAME" value="'.htmlspecialchars(Tools::getValue('EMC_FIRST_NAME', Configuration::get('EMC_FIRST_NAME')), ENT_COMPAT, 'UTF-8').'">
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Set the First name of sender') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('Address').' : </label>
|
||||
<div class="margin-form">
|
||||
<input size="40" type="text" name="EMC_ADDRESS" value="'.htmlspecialchars(Tools::getValue('EMC_ADDRESS', Configuration::get('EMC_ADDRESS')), ENT_COMPAT, 'UTF-8').'">
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Set the Address of sender') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('Zip code').' : </label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="EMC_ZIP_CODE" value="'.htmlspecialchars(Tools::getValue('EMC_ZIP_CODE', Configuration::get('EMC_ZIP_CODE')), ENT_COMPAT, 'UTF-8').'">
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Set the zip code of sender') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('City').' : </label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="EMC_CITY" value="'.htmlspecialchars(Tools::getValue('EMC_CITY', Configuration::get('EMC_CITY')), ENT_COMPAT, 'UTF-8').'">
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Set the city of sender') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('Country').' : </label>
|
||||
<div class="margin-form">
|
||||
<select name="EMC_COUNTRY">
|
||||
<option value="">'.$this->l('Choose a country ...').'</option>';
|
||||
foreach ($countries as $country)
|
||||
{
|
||||
$this->_html .= '<option value="'.htmlspecialchars($country['iso_code'], ENT_COMPAT, 'UTF-8').'" ';
|
||||
if (Tools::getValue('EMC_COUNTRY',Configuration::get('EMC_COUNTRY')) == $country['iso_code'] ) $this->_html .= ' selected="selected"';
|
||||
$this->_html .= '>'.htmlspecialchars($country['name'], ENT_COMPAT, 'UTF-8').'</option>';
|
||||
}
|
||||
$this->_html .= '</select> <sup> *</sup>
|
||||
<p>' . $this->l('Select the country of sender in the list') . '</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('Phone').' : </label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="EMC_PHONE" value="'.htmlspecialchars(Tools::getValue('EMC_PHONE', Configuration::get('EMC_PHONE')), ENT_COMPAT, 'UTF-8').'">
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Set the Phone of sender').'</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<label>'.$this->l('Email').' : </label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="EMC_EMAIL" value="'.htmlspecialchars(Tools::getValue('EMC_EMAIL', Configuration::get('EMC_EMAIL')), ENT_COMPAT, 'UTF-8').'">
|
||||
<sup> *</sup>
|
||||
<p>' . $this->l('Set the e-mail of sender').'</p>
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
<div class="margin-form">
|
||||
<input type="submit" value="'.$this->l('Save').'" name="submitSave" class="button" style="margin:10px 0px 0px 25px;" />
|
||||
</div>
|
||||
</fieldset></form>
|
||||
<div class="clear"> </div>';
|
||||
|
||||
}
|
||||
|
||||
private function _postValidation()
|
||||
{
|
||||
if (Tools::getValue('EMC_WIDTH') == 0)
|
||||
$this->_postErrors[] = $this->l('Width not specified');
|
||||
if (Tools::getValue('EMC_HEIGHT') == 0)
|
||||
$this->_postErrors[] = $this->l('Height not specified');
|
||||
if (Tools::getValue('EMC_DEPTH') == 0)
|
||||
$this->_postErrors[] = $this->l('Depth not specified');
|
||||
if (Tools::getValue('EMC_ORDER_STATE') == 0)
|
||||
$this->_postErrors[] = $this->l('Order state not specified');
|
||||
if (Tools::getValue('EMC_CARRIER') == 0)
|
||||
$this->_postErrors[] = $this->l('Carrier not specified');
|
||||
if (Tools::getValue('EMC_ORDER_PAST_STATE') == 0)
|
||||
$this->_postErrors[] = $this->l('Order state "order past" not specified');
|
||||
if (Tools::getValue('EMC_SEND_STATE') == 0)
|
||||
$this->_postErrors[] = $this->l('Order state send not specified');
|
||||
if (Tools::getValue('EMC_DELIVERY_STATE') == 0)
|
||||
$this->_postErrors[] = $this->l('Order state delivery not specified');
|
||||
if (Tools::getValue('EMC_LAST_NAME') == '')
|
||||
$this->_postErrors[] = $this->l('Last name not specified');
|
||||
if (Tools::getValue('EMC_FIRST_NAME') == '')
|
||||
$this->_postErrors[] = $this->l('First name not specified');
|
||||
if (Tools::getValue('EMC_ADDRESS') == '')
|
||||
$this->_postErrors[] = $this->l('Address not specified');
|
||||
if (Tools::getValue('EMC_ZIP_CODE') == '')
|
||||
$this->_postErrors[] = $this->l('Zip Code not specified');
|
||||
if (Tools::getValue('EMC_CITY') == '')
|
||||
$this->_postErrors[] = $this->l('City not specified');
|
||||
if (Tools::getValue('EMC_COUNTRY') == '')
|
||||
$this->_postErrors[] = $this->l('Country not specified');
|
||||
if (Tools::getValue('EMC_PHONE') == '')
|
||||
$this->_postErrors[] = $this->l('Phone not specified');
|
||||
if (Tools::getValue('EMC_EMAIL') == '')
|
||||
$this->_postErrors[] = $this->l('E-mail not specified');
|
||||
if (Tools::getValue('EMC_LOGIN') == '')
|
||||
$this->_postErrors[] = $this->l('Login not specified');
|
||||
}
|
||||
|
||||
private function _postProcess()
|
||||
{
|
||||
if (Configuration::updateValue('EMC_WIDTH', (int)(Tools::getValue('EMC_WIDTH'))) AND Configuration::updateValue('EMC_HEIGHT', (int)(Tools::getValue('EMC_HEIGHT'))) AND
|
||||
Configuration::updateValue('EMC_DEPTH', (int)(Tools::getValue('EMC_DEPTH'))) AND Configuration::updateValue('EMC_ORDER_STATE', (int)(Tools::getValue('EMC_ORDER_STATE'))) AND
|
||||
Configuration::updateValue('EMC_CARRIER', (int)(Tools::getValue('EMC_CARRIER'))) AND Configuration::updateValue('EMC_PACKAGING_DEFAULT', Tools::getValue('EMC_PACKAGING_DEFAULT'))
|
||||
AND Configuration::updateValue('EMC_GENDER', Tools::getValue('EMC_GENDER')) AND Configuration::updateValue('EMC_LAST_NAME', Tools::getValue('EMC_LAST_NAME'))
|
||||
AND Configuration::updateValue('EMC_FIRST_NAME', Tools::getValue('EMC_FIRST_NAME')) AND Configuration::updateValue('EMC_ADDRESS', Tools::getValue('EMC_ADDRESS'))
|
||||
AND Configuration::updateValue('EMC_ZIP_CODE', Tools::getValue('EMC_ZIP_CODE')) AND Configuration::updateValue('EMC_CITY', Tools::getValue('EMC_CITY'))
|
||||
AND Configuration::updateValue('EMC_COUNTRY', Tools::getValue('EMC_COUNTRY')) AND Configuration::updateValue('EMC_PHONE', Tools::getValue('EMC_PHONE'))
|
||||
AND Configuration::updateValue('EMC_EMAIL', Tools::getValue('EMC_EMAIL')) AND Configuration::updateValue('EMC_ORDER_PAST_STATE', Tools::getValue('EMC_ORDER_PAST_STATE'))
|
||||
AND Configuration::updateValue('EMC_SEND_STATE', Tools::getValue('EMC_SEND_STATE')) AND Configuration::updateValue('EMC_EMAILS', Tools::getValue('EMC_EMAILS'))
|
||||
AND Configuration::updateValue('EMC_LOGIN', Tools::getValue('EMC_LOGIN')) AND Configuration::updateValue('EMC_CONTENT', Tools::getValue('type_objet_'))
|
||||
AND Configuration::updateValue('EMC_DELIVERY_STATE', Tools::getValue('EMC_DELIVERY_STATE')))
|
||||
{
|
||||
$dataSync = (($emc_login = Configuration::get('EMC_LOGIN'))
|
||||
? '<img src="http://www.prestashop.com/modules/envoimoinscher.png?ps_id='.urlencode($emc_login).'" style="float:right" />' : '');
|
||||
$this->_html .= $this->displayConfirmation($this->l('Configuration updated').$dataSync);
|
||||
}
|
||||
else
|
||||
$this->_html .= '<div class="alert error"><img src="' . _PS_IMG_ . 'admin/forbbiden.gif" alt="nok" /> '.$this->l('Settings failed').'</div>';
|
||||
}
|
||||
|
||||
static function selectNature($selected = '', $id = '')
|
||||
{
|
||||
$select = '<select name="type_objet_'.$id.'">
|
||||
<option value="ns">Contenu non spécifié</option>';
|
||||
$groups = array(1 => 'Documents', 2 => 'Alimentation et matières périssables', 3 => 'Produits', 4 => 'Habillement et accessoires', 5 => 'Appareils et matériels', 6 => 'Mobilier et décoration',
|
||||
7 => 'Effets personnels, cadeaux');
|
||||
$select .= '<optgroup label="'.htmlspecialchars($groups[1], ENT_COMPAT, 'UTF-8').'">';
|
||||
$optgroup = 1;
|
||||
$results = Db::getInstance()->executeS('SELECT * FROM '._DB_PREFIX_.'envoimoinscher_contenu order by id');
|
||||
foreach($results as $result)
|
||||
{
|
||||
if ($result['id'][0] != $optgroup)
|
||||
{
|
||||
$optgroup ++;
|
||||
|
||||
$select .= '</optgroup><optgroup label="'.htmlspecialchars($groups[$optgroup], ENT_COMPAT, 'UTF-8').'">';
|
||||
}
|
||||
$select .= '<option '.($selected == $result['id'] ? 'selected="selected"' : '').' value="'.(int)($result['id']).'" >'.htmlspecialchars($result['libelle'], ENT_COMPAT, 'UTF-8').'</option>';
|
||||
}
|
||||
$select .= '</select>';
|
||||
return $select;
|
||||
}
|
||||
|
||||
public function hookAdminOrder($params)
|
||||
{
|
||||
|
||||
$order = new Order($params['id_order']);
|
||||
if ($order->id_carrier == Configuration::get('EMC_CARRIER'))
|
||||
{
|
||||
$return = Db::getInstance()->ExecuteS('SELECT * FROM '._DB_PREFIX_.'envoimoinscher WHERE id_order = \''.(int)($order->id).'\' LIMIT 1');
|
||||
if (isset($return[0]['shipping_number']))
|
||||
{
|
||||
$html = '<br><br><fieldset style="width: 400px;"><legend><img src="'.$this->_path.'logo.gif" alt="" /> '.$this->l('Envoimoinscher').'</legend>';
|
||||
$html .= '<b>'.$this->l('Delivery Information').' : </b><br>
|
||||
'.(isset($return[0]['shipping_number']) ? '<p>--> <a href="http://www.envoimoinscher.com/suivre_vos_envois.html?reference='.$return[0]['shipping_number'].'" style="text-decoration:underline">
|
||||
'.$this->l('Follow shipping').'</a>' : '<p style="color:red">'.$this->l('No shipping number')).'</p>'
|
||||
.(isset($return[0]['shipping_number']) ?' <p>--> <a href="http://www.envoimoinscher.com/documents?type=bordereau&envoi='.$return[0]['shipping_number'].'" style="text-decoration:underline">
|
||||
'.$this->l('Print delivery slips').'</a>' : '<p style="color:red">'.$this->l('No delivery slips number')).'</p>
|
||||
</fieldset>';
|
||||
return $html;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function lang($str)
|
||||
{
|
||||
switch($str)
|
||||
{
|
||||
case 'No order to export':
|
||||
return $this->l('No order to export');
|
||||
break;
|
||||
case 'Please configure this module in order':
|
||||
return $this->l('Please configure this module in order');
|
||||
break;
|
||||
case 'Change configuration':
|
||||
return $this->l('Change configuration');
|
||||
break;
|
||||
case 'ID':
|
||||
return $this->l('ID');
|
||||
break;
|
||||
case 'Name':
|
||||
return $this->l('Name');
|
||||
break;
|
||||
case 'Total Cost':
|
||||
return $this->l('Total Cost');
|
||||
break;
|
||||
case 'Total shipment':
|
||||
return $this->l('Total shipment');
|
||||
break;
|
||||
case 'Date':
|
||||
return $this->l('Date');
|
||||
break;
|
||||
case 'Packaging':
|
||||
return $this->l('Packaging');
|
||||
break;
|
||||
case 'Nature of contents':
|
||||
return $this->l('Nature of contents');
|
||||
break;
|
||||
case 'Detail':
|
||||
return $this->l('Detail');
|
||||
break;
|
||||
case 'View':
|
||||
return $this->l('View');
|
||||
break;
|
||||
case 'Send':
|
||||
return $this->l('Send');
|
||||
break;
|
||||
case 'List of orders to export':
|
||||
return $this->l('List of orders to export');
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e0b8a2c577580cb773bda0486acc4bf8'] = 'Envoimoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bbd983fbdc5928ce36d6edce53639718'] = 'Encuentre el mejor precio para su envío. Compare y pida ofertas a transportistas, a precios negociados. ';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cc89336eed19f4c3bef8ae484eb43109'] = '\'Ancho\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fab811cb477e7794389f16624ac9aff9'] = '\'Alto\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7854da902d5f2ad746fe1b6f950da08e'] = '\'Profundo\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_63a0a494ef3c3c22829660ef6081dce4'] = '\'Estados\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_786b7b25dcd85d7e972a377f56facb5a'] = '\'Transportista\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1a3ade81b4ddac3ff0fe9f98f93ad843'] = 'Estado pedido efectuado';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_070d4ccfe53bdbc791cbd6119b872f34'] = 'Estado pedido enviada';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c98d7be3b0acc53f7d2142cc3a3ab444'] = 'Estado pedido entragado';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4d470fde8487e755a50e9235e3dc13ab'] = 'debe estar configurado para utilizar este módulo correctamente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9d766be2c89b5af0010ac0c11dcddae7'] = 'Por favor, copie a mano';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6357d3551190ec7e79371a8570121d3a'] = 'Hay';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ce81305b7edb043d0a7a5c75cab17d0'] = 'Hay';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_07213a0161f52846ab198be103b5ab43'] = 'Errores';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cb5e100e5a9a3e7f6d1fd97512215282'] = 'Error';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_667f01ead42da9ba606aaee5632f1cd0'] = 'Crear su cuenta Enviemoinscher:';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8fc0ba19a15eeb50ab4ad8db449b0c74'] = 'Para crear su cuenta Envoimoinscher pulse en la imagen? Accederá a un espacio personal en el que encontrará todas las herramientas que permiten una gestión sencilla y rápida de sus envíos. ';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Descripción';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_82b213c84c7cf648a3cc9e718bb0f1c5'] = 'Este módulo le permite comparar ofertas de transporte y tarifas de entrega negociadas para servicios de pedidos en línea . ';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b843f182d32b5571e48879444311c38b'] = 'Debe introducir su nombre de usuario Envoimoinscher más abajo. Si todavía no es cliente de Envoimoinscher, puede crear fácilmente una cuenta haciendo clic';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c92285fa6d3e827b198d120ea3ac674'] = 'aquí';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d64b03d7cc357f2ac9c63f8c88b49a0'] = 'Bajar la documentación';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4f70727dc34561dfde1a3c529b6205c'] = 'Confuguración';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_32954654ac8fe66a1d09be19001de2d4'] = 'Ancho';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_af7bb0f5eddd2287cf3f6b880d189e19'] = 'Elegir una característica...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_31f12b07ff0701df3b6000412952f9c7'] = 'Elegir la característica \"ancho\" en la lista';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eec6c4bdbd339edf8cbea68becb85244'] = 'Alto';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_97fd502c6a75bfb727fbb5a93d3bc60b'] = 'Elegir la característica \"alto\" en la lista';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_675056ad1441b6375b2c5abd48c27ef1'] = 'Profundo';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ccccb5efc77dfc62afb2c5ad4223916d'] = 'Elegir la característica \"profundo\" en la lista';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a669003ea35aa39ca280b83bd259a032'] = 'Embalaje';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_86a0b81400546aa3bbfe94b796ed6c31'] = 'Elegir un embalaje...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16ef6ec0f179beeae1a68c4ebef97254'] = 'Elegir un embalaje por defecto';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f0c28b9363b60ed0a4579291ca510544'] = 'Naturaleza delo contenido';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_55303dad425107852ebecc47601f73e2'] = 'Elegir la naturaleza de los contenidos de forma predeterminada.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e74b7618bb3f99b8a7c00ef765c727eb'] = 'Estado de pedidos a enviar';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_509d517463244dcd1ec09c4c5fa266ac'] = 'Elegir un estado de pedido...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bb4b4f2503c57254aaed1f1a07bb71da'] = 'Elegir un estado de pedido en la lista a exportar hacia Enviemoinscher.com';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_914419aa32f04011357d3b604a86d7eb'] = 'Transportista';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6f2a31a74727092b14a9f25fa0761f4'] = 'Elegir un transportista...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a22d9830367fdf0f6b2601e7484b387'] = 'Elegir un transportista en la lista a exportar hacia Enviemoinscher.com';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2aad255fde4750af3f559d078e1cb420'] = 'Estado pedido realizado';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd77298d81e440f5379f48dccf993a8b'] = 'Elegir un estado de pedido en la lista \"Pedido realizado\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8532ff05a8576bdc04f8a9b8b1dbbfbc'] = 'Estado de pedido enviado';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5af6d17d6837ce556286d019e06e4e0'] = 'Elegir un estado de pedido en la lista \"Pedido enviado\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d2392c7501c4041d990cc0d372cde50a'] = 'Estado de pedido entregado';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b06087cef2468e82e0e07499fdba5c30'] = 'Elegir un estado de pedido en la lista \"Pedido entregado\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1e884e3078d9978e216a027ecd57fb34'] = 'Correo electrónico';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activado';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9f5c797ebbf55adccdd8539a65a0241'] = 'Desactivado';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9e839460f2871eb777da1b74f3fab03e'] = 'Activar o desactivar el envío de emails de parte de Enviemoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a995d9073f999ae5713f6994092b57e'] = 'excepto la notificación al destinatario que es enviada por defecto';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7a16e0022af67a71b8d1521f746f41b3'] = 'Login Enviemoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6ef6eed8e2c2d13d6823cbff8f139bad'] = 'Introduzca su login Enviemoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a861c864b470344da673354f996ce0a7'] = 'Información del remitente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_019ec3132cdf8ee0f2e2a75cf5d3e459'] = 'Sexo';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5f33341287efce675cacf0b3ed818e70'] = 'Elegir el sexo del remitente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d3f5eff9c40ee315d452392bed5309b'] = 'Apellido';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8cf6db4af977baa86b7691da80601bd0'] = 'Introducir el apellido del remitente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20db0bfeecd8fe60533206a2b5e9891a'] = 'Nombre';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49a768ce02314f39d386a66b77ae1858'] = 'Introducir el nombre del remitente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd7bf230fde8d4836917806aff6a6b27'] = 'Dirección';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a56f1882e859d6ce5b0fbc96c544100'] = 'Introducir la dirección del remitente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_642d3ba5db8b57e006584b544e490ec7'] = 'Código postal';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16e65be7ad7680a7148b8ddf0b5b4171'] = 'Introducir el código del remitente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_57d056ed0984166336b7879c2af3657f'] = 'Ciudad';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e73af174484a98a10a852ab5bdb701bf'] = 'Introducir la ciudad del remitente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_59716c97497eb9694541f7c3d37b1a4d'] = 'País';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_255529f7845194a47b4c2e28374cdb1f'] = 'Elegir un país';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c820bc5f65e6258a648c3621b7b761e'] = 'Introducir el país del remitente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bcc254b55c4a1babdf1dcb82c207506b'] = 'Teléfono';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6770d2600f6b45aa0b18dd9a6e39b2f8'] = 'Introducir el teléfono del remitente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43cdf4833105e72eb951833a030ad4d5'] = 'Introducir el email del remitente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c9cc8cce247e49bae79f15173ce97354'] = 'Guardar';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1fa598730b02d78aa07d07337c81c720'] = 'Falta información \"alto\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c5ac8560e3b92c7941286fa8c2b3a1ed'] = 'Falta información \"ancho\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_0eed429f3ae1e71de73b94e13f786893'] = 'Falta información \"profundo\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5d50fc169bba225de3df710ff98188c6'] = 'Falta información \"estado de pedido\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_340ffdfdc019d0b001a4753b57aa398a'] = 'Falta información \"transportista\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ecdf47576d5d0d024f30199900c1761'] = 'Falta información estado \"pedido realizado\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6a9265e0dcf5d7a7f331055b9b93609'] = 'Falta información estado \"pedido enviado\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9f3440922590dae1ebc28c40555c6203'] = 'Falta información estado \"pedido entregado\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43b89b46dcf9440d5f852548ac5341a3'] = 'Falta apellido';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9a6dfbad73e6a8a852d4b1a266e941d2'] = 'Falta nombre';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fdda31acf2551d1edde59d64144975b8'] = 'Falta dirección';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_01fc0f14742ba00423886a14e31964de'] = 'Falta código postal';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2814eaaff876f0a3f29d87b23ceaa041'] = 'Falta ciudad';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ae21c3189ecc1e32d10e8f3b264af190'] = 'Falta país';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_829d5874145d3477d778cdff96671448'] = 'Falta teléfono';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a3b23591400c94a94583a94c0ab1f19f'] = 'Falta email';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_18f54b7a823f3349d841804a9fbc5aa3'] = 'Login Enviemoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuración actualizada';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9284bff13acffdd879ef4ac7fca5234'] = 'Fallaron los ajustes';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1b67f24ea45fdf2e11ad8f6e777e8c8b'] = 'Información de entrega';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fad2b83dc128dfb793fa8ee944dd9931'] = 'Seguimiento del paquete';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d668e43f1d8b0584ed4f896de031d921'] = 'No hay número de seguimiento';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bee4b55285d16e5fe85fc3474e343c51'] = 'Imprimir el albarán de expedición';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_10f0b7273755ee4117c1517010e18c23'] = 'No hay número de expedición';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9ab3e83b1071d09ca62e4cd258686f6b'] = 'Ningún pedido para exportar';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8c193493d8e4a97dc6da02d9809be530'] = 'Por favor, configure este módulo ';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2345e28c9b93f368968be4781ed70f5c'] = 'Modificación de la configuración';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b718adec73e04ce3ec720dd11a06a308'] = 'ID';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49ee3087348e8d44e1feda1917443987'] = 'Nombre';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_50e91dab2a063bc8c1dbc383b0c8e71c'] = 'Coste Total';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5e8ff31378107b80ae8a9e7cd93eb1bc'] = 'total del envío';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_44749712dbec183e983dcd78a7736c41'] = 'Fecha';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_403ddddf1f3eecc1a2566b3d81e12993'] = 'Naturaleza del contenido';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a254c25adc7d10d7e9c4889484f875a5'] = 'Detalle';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4351cfebe4b61d8aa5efa1d020710005'] = 'Ver';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_94966d90747b97d1f0f206c98a8b1ac3'] = 'Enviar';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eae21050d83c239d047c9eb0d3bc930e'] = 'Lista de pedidos para exportar';
|
||||
@@ -1,117 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e0b8a2c577580cb773bda0486acc4bf8'] = 'Envoimoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bbd983fbdc5928ce36d6edce53639718'] = 'Trouvez le meilleur prix pour votre envoi. Comparez et commandez les offres des transporteurs, à des tarifs négociés.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cc89336eed19f4c3bef8ae484eb43109'] = '\'Largeur\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fab811cb477e7794389f16624ac9aff9'] = '\'Hauteur\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7854da902d5f2ad746fe1b6f950da08e'] = '\'Profondeur\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_63a0a494ef3c3c22829660ef6081dce4'] = '\'Statuts\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_786b7b25dcd85d7e972a377f56facb5a'] = '\'Transporteur\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1a3ade81b4ddac3ff0fe9f98f93ad843'] = 'Statut commande passée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_070d4ccfe53bdbc791cbd6119b872f34'] = 'Statut commande envoyée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c98d7be3b0acc53f7d2142cc3a3ab444'] = 'Statut commande livrée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4d470fde8487e755a50e9235e3dc13ab'] = 'doit être configuré pour utiliser ce module correctement';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9d766be2c89b5af0010ac0c11dcddae7'] = 'S\'il vous plaît copier manuellement';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6357d3551190ec7e79371a8570121d3a'] = 'Il y a';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ce81305b7edb043d0a7a5c75cab17d0'] = 'Il y a';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_07213a0161f52846ab198be103b5ab43'] = 'Erreurs';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cb5e100e5a9a3e7f6d1fd97512215282'] = 'Erreur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_667f01ead42da9ba606aaee5632f1cd0'] = 'Créer son compte Envoimoinscher :';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8fc0ba19a15eeb50ab4ad8db449b0c74'] = 'Pour créer votre compte Envoimoinscher cliquez sur l\'image ci-dessous. Vous allez accéder à un espace personnel dédié sur lequel vous retrouverez tous les outils permettant une gestion facile et rapide de vos envois.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_82b213c84c7cf648a3cc9e718bb0f1c5'] = 'Ce module vous permet de comparer les offres des transporteurs et de commander en ligne des prestations de livraison à des tarifs négociés.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b843f182d32b5571e48879444311c38b'] = 'Vous devrez renseigner votre identifiant Envoimoinscher ci-dessous. Si vous n\'êtes pas encore client Envoimoinscher, vous pouvez créer un compte très facilement en cliquant';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c92285fa6d3e827b198d120ea3ac674'] = 'ici';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d64b03d7cc357f2ac9c63f8c88b49a0'] = 'Télécharger la documentation';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4f70727dc34561dfde1a3c529b6205c'] = 'Configuration';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_32954654ac8fe66a1d09be19001de2d4'] = 'Largeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_af7bb0f5eddd2287cf3f6b880d189e19'] = 'Choisir une caractéristique ...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_31f12b07ff0701df3b6000412952f9c7'] = 'Choisir la caractéristique \"largeur\" dans la liste';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eec6c4bdbd339edf8cbea68becb85244'] = 'Hauteur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_97fd502c6a75bfb727fbb5a93d3bc60b'] = 'Choisir la caractéristique \"hauteur\" dans la liste';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_675056ad1441b6375b2c5abd48c27ef1'] = 'Profondeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ccccb5efc77dfc62afb2c5ad4223916d'] = 'Choisir la caractéristique \"profondeur\" dans la liste';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a669003ea35aa39ca280b83bd259a032'] = 'Conditionnement';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_86a0b81400546aa3bbfe94b796ed6c31'] = 'Choisir un conditionnement ... ';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16ef6ec0f179beeae1a68c4ebef97254'] = 'Choisir un conditionnement par défaut';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f0c28b9363b60ed0a4579291ca510544'] = 'Contenu';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_55303dad425107852ebecc47601f73e2'] = 'Choisir le contenu par défaut';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e74b7618bb3f99b8a7c00ef765c727eb'] = 'Statut de commandes à envoyer';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_509d517463244dcd1ec09c4c5fa266ac'] = 'Choisir un statut de commande ...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bb4b4f2503c57254aaed1f1a07bb71da'] = 'Choisir un statut de commande dans la liste à exporter vers Envoimoinscher.com';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_914419aa32f04011357d3b604a86d7eb'] = 'Transporteur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6f2a31a74727092b14a9f25fa0761f4'] = 'Choisir un transporteur ... ';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a22d9830367fdf0f6b2601e7484b387'] = 'Choisir un transporteur dans la liste à exporter vers Envoimoinscher.com';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2aad255fde4750af3f559d078e1cb420'] = 'Statut commande passée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd77298d81e440f5379f48dccf993a8b'] = 'Choisir un statut de commande dans la liste \"Commande passée\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8532ff05a8576bdc04f8a9b8b1dbbfbc'] = 'Statut commande envoyée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5af6d17d6837ce556286d019e06e4e0'] = 'Choisir un statut de commande dans la liste \"Commande envoyée\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d2392c7501c4041d990cc0d372cde50a'] = 'Statut commande livrée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b06087cef2468e82e0e07499fdba5c30'] = 'Choisir un statut de commande dans la liste \"Commande livrée\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1e884e3078d9978e216a027ecd57fb34'] = 'Mails';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9e839460f2871eb777da1b74f3fab03e'] = 'Active ou désactive l\'envoi de mails de la part de Envoimoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a995d9073f999ae5713f6994092b57e'] = 'sauf la notification au destinataire qui est envoyée par défaut';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7a16e0022af67a71b8d1521f746f41b3'] = 'Identifiant Envoimoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6ef6eed8e2c2d13d6823cbff8f139bad'] = 'Saisir votre Identifiant Envoimoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a861c864b470344da673354f996ce0a7'] = 'Informations sur l\'expéditeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_019ec3132cdf8ee0f2e2a75cf5d3e459'] = 'Sexe';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5f33341287efce675cacf0b3ed818e70'] = 'Choisir le sexe de l\'expéditeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d3f5eff9c40ee315d452392bed5309b'] = 'Nom de famille';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8cf6db4af977baa86b7691da80601bd0'] = 'Saisir le nom de famille de l\'expéditeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20db0bfeecd8fe60533206a2b5e9891a'] = 'Prénom';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49a768ce02314f39d386a66b77ae1858'] = 'Saisir le prénom de l\'expéditeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd7bf230fde8d4836917806aff6a6b27'] = 'Adresse';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a56f1882e859d6ce5b0fbc96c544100'] = 'Saisir l\'adresse de l\'expéditeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_642d3ba5db8b57e006584b544e490ec7'] = 'Code postal';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16e65be7ad7680a7148b8ddf0b5b4171'] = 'Saisir le code postal de l\'expéditeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_57d056ed0984166336b7879c2af3657f'] = 'Ville';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e73af174484a98a10a852ab5bdb701bf'] = 'Saisir la ville de l\'expéditeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_59716c97497eb9694541f7c3d37b1a4d'] = 'Pays';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_255529f7845194a47b4c2e28374cdb1f'] = 'Choisir un pays';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c820bc5f65e6258a648c3621b7b761e'] = 'Saisir le pays de l\'expéditeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bcc254b55c4a1babdf1dcb82c207506b'] = 'Téléphone';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6770d2600f6b45aa0b18dd9a6e39b2f8'] = 'Saisir le téléphone de l\'expéditeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43cdf4833105e72eb951833a030ad4d5'] = 'Saisir l\'email de l\'expéditeur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1fa598730b02d78aa07d07337c81c720'] = 'Largeur non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c5ac8560e3b92c7941286fa8c2b3a1ed'] = 'Hauteur non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_0eed429f3ae1e71de73b94e13f786893'] = 'Profondeur non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5d50fc169bba225de3df710ff98188c6'] = 'Statut de commande non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_340ffdfdc019d0b001a4753b57aa398a'] = 'Transporteur non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ecdf47576d5d0d024f30199900c1761'] = 'Statut \"commande passée\" non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6a9265e0dcf5d7a7f331055b9b93609'] = 'Statut \"commande envoyée\" non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9f3440922590dae1ebc28c40555c6203'] = 'Statut \"commande livrée\" non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43b89b46dcf9440d5f852548ac5341a3'] = 'Nom de famille non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9a6dfbad73e6a8a852d4b1a266e941d2'] = 'Prénom non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fdda31acf2551d1edde59d64144975b8'] = 'Adresse non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_01fc0f14742ba00423886a14e31964de'] = 'Code postal non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2814eaaff876f0a3f29d87b23ceaa041'] = 'Ville non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ae21c3189ecc1e32d10e8f3b264af190'] = 'Pays non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_829d5874145d3477d778cdff96671448'] = 'Téléphone non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a3b23591400c94a94583a94c0ab1f19f'] = 'Email non renseignée';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_18f54b7a823f3349d841804a9fbc5aa3'] = 'Login Envoimoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration mise à jour';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9284bff13acffdd879ef4ac7fca5234'] = 'Configuration échoué';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1b67f24ea45fdf2e11ad8f6e777e8c8b'] = 'Informations de transporteur';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fad2b83dc128dfb793fa8ee944dd9931'] = 'Suivre le colis';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d668e43f1d8b0584ed4f896de031d921'] = 'Pas de numéro de suivi';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bee4b55285d16e5fe85fc3474e343c51'] = 'Imprimer le bordereau d\'expédition';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_10f0b7273755ee4117c1517010e18c23'] = 'Pas de numéro d\'expédition';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9ab3e83b1071d09ca62e4cd258686f6b'] = 'Aucune commande pour l\'export';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8c193493d8e4a97dc6da02d9809be530'] = 'Merci de configurer ce module';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2345e28c9b93f368968be4781ed70f5c'] = 'Modification de la configuration';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b718adec73e04ce3ec720dd11a06a308'] = 'ID';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49ee3087348e8d44e1feda1917443987'] = 'Nom';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_50e91dab2a063bc8c1dbc383b0c8e71c'] = 'Coût total';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5e8ff31378107b80ae8a9e7cd93eb1bc'] = 'Total expédition ';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_44749712dbec183e983dcd78a7736c41'] = 'Date';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_403ddddf1f3eecc1a2566b3d81e12993'] = 'Nature du contenu';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a254c25adc7d10d7e9c4889484f875a5'] = 'Détails';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4351cfebe4b61d8aa5efa1d020710005'] = 'Voir';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_94966d90747b97d1f0f206c98a8b1ac3'] = 'Envoyer';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eae21050d83c239d047c9eb0d3bc930e'] = 'Liste des commandes à exporter';
|
||||
@@ -1,84 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS `PREFIX_envoimoinscher_contenu` (
|
||||
`id` int(6) NOT NULL,
|
||||
`abrv` varchar(10) character set utf8 NOT NULL,
|
||||
`libelle` text character set utf8 NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||
|
||||
INSERT INTO `PREFIX_envoimoinscher_contenu` (`id`, `abrv`, `libelle`) VALUES
|
||||
(50450, 'outi', 'Outillage, outils, bricolage'),
|
||||
(50430, 'moto', 'Motos, scooters'),
|
||||
(50420, 'motr', 'Moteurs'),
|
||||
(50170, 'horl', 'Montres, horlogerie (hors bijoux)'),
|
||||
(50100, 'med', 'Matériel médical'),
|
||||
(50395, 'elec', 'Matériel électrique, transfo., câbles'),
|
||||
(50390, 'labo', 'Matériel de labo, optique, de mesure'),
|
||||
(50380, 'chff', 'Matériel de chauffage, chaudronnerie'),
|
||||
(50360, 'musi', 'Instruments de musique et accessoires'),
|
||||
(50110, 'info', 'Informatique, High tech, téléphonie fixe'),
|
||||
(50400, 'fbur', 'Fournitures de bureau, papeterie, recharges'),
|
||||
(50120, 'div', 'Autres appareils et matériels'),
|
||||
(50350, 'spor', 'Articles de sport (hors vêtement)'),
|
||||
(50330, 'camp', 'Articles de camping, de pêche'),
|
||||
(40120, 'usag', 'Vêtements usagés'),
|
||||
(40110, 'tiss', 'Tissus, vêtements neufs'),
|
||||
(40130, 'cuir', 'Cuirs, peaux, maroquinerie'),
|
||||
(40100, 'chau', 'Chaussures'),
|
||||
(50160, 'bij', 'Bijoux, objets précieux'),
|
||||
(40150, 'bijf', 'Bijoux fantaisie'),
|
||||
(40125, 'vest', 'Accessoires vestimentaires, de mode'),
|
||||
(50190, 'tab', 'Tabac'),
|
||||
(30200, 'pharm', 'Pharmacie, médicaments'),
|
||||
(50200, 'parf', 'Parfums'),
|
||||
(30100, 'cosm', 'Cosmétiques, bien-être'),
|
||||
(30300, 'chim', 'Chimie, droguerie, produits d''entretien'),
|
||||
(20105, 'surg', 'Produits surgelés'),
|
||||
(20103, 'refr', 'Produits réfrigérés'),
|
||||
(20102, 'frai', 'Produits frais et périssables'),
|
||||
(20130, 'plant', 'Plantes, fleurs, semences'),
|
||||
(20100, 'alim', 'Denrées alimentaires non périssables'),
|
||||
(20110, 'nalc', 'Boissons non alcoolisées'),
|
||||
(20120, 'alc', 'Boissons alcoolisées'),
|
||||
(10180, 'radio', 'Radiographies'),
|
||||
(10210, 'prop', 'Propositions commerciales'),
|
||||
(10250, 'plan', 'Plans, dessins'),
|
||||
(10190, 'photo', 'Photographies'),
|
||||
(10280, 'patr', 'Patrons'),
|
||||
(10160, 'pass', 'Passeports'),
|
||||
(10140, 'tech', 'Manuels techniques'),
|
||||
(10130, 'mag', 'Magazines, revues'),
|
||||
(10150, 'livr', 'Livres'),
|
||||
(10240, 'list', 'Listings informatiques'),
|
||||
(10120, 'journ', 'Journaux'),
|
||||
(10290, 'etiq', 'Etiquettes, autocollants'),
|
||||
(10100, 'ssval', 'Documents sans valeur commerciale'),
|
||||
(10220, 'pub', 'Documents publicitaires'),
|
||||
(10260, 'impr', 'Documents d''impression'),
|
||||
(10300, 'apof', 'Documents d''appels d''offres'),
|
||||
(10200, 'courr', 'Courrier interne d''entreprise'),
|
||||
(10230, 'rapp', 'Catalogues, rapports annuels'),
|
||||
(10170, 'bill', 'Billets d''avion'),
|
||||
(50140, 'auto', 'Pièces de rechange et accessoires (auto)'),
|
||||
(50150, 'rech', 'Pièces de rechange et accessoires (autres)'),
|
||||
(50490, 'plom', 'Plomberie, sanitaire, tubes plastiques'),
|
||||
(50500, 'quin', 'Quincaillerie, robinetterie, serrurerie'),
|
||||
(50130, 'num', 'Supports numériques, CD, DVD'),
|
||||
(50113, 'cell', 'Téléphonie mobile et accessoires'),
|
||||
(50114, 'tvec', 'Téléviseurs, écrans d''ordinateur'),
|
||||
(50440, 'velo', 'Vélos, cycles sans moteur'),
|
||||
(60122, 'miro', 'Autres objets d''art et tableaux'),
|
||||
(60130, 'frag', 'Autres objets fragiles'),
|
||||
(60129, 'cera', 'Céramique, verres, cristallerie'),
|
||||
(60110, 'emgr', 'Electroménager '),
|
||||
(60124, 'lamp', 'Lampes, luminaire'),
|
||||
(60108, 'moba', 'Mobilier ancien (antiquité)'),
|
||||
(60100, 'mob', 'Mobilier d''habitation'),
|
||||
(60102, 'mobb', 'Mobilier de bureau'),
|
||||
(60105, 'mobn', 'Mobilier démonté sous emballage'),
|
||||
(60120, 'antiq', 'Objets et tableaux cotés, miroirs, vitres'),
|
||||
(60112, 'pelc', 'Petit électroménager, petits appareils ménagers'),
|
||||
(60126, 'tapi', 'Tapis'),
|
||||
(60128, 'toil', 'Toiles, rideaux, draps'),
|
||||
(70100, 'baga', 'Bagages, valises, malles'),
|
||||
(50180, 'cad', 'Cadeaux, cadeaux entreprise'),
|
||||
(70200, 'carto', 'Cartons de déménagement, effets personnels');
|
||||
@@ -1,117 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e0b8a2c577580cb773bda0486acc4bf8'] = 'Envoimoinscher';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bbd983fbdc5928ce36d6edce53639718'] = 'Trova la tariffa migliore per la tua spedizione. Confronta e metti in ordine le offerte di corrieri, a tariffe negoziate.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cc89336eed19f4c3bef8ae484eb43109'] = '\'Larghezza\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fab811cb477e7794389f16624ac9aff9'] = '\'Altezza\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7854da902d5f2ad746fe1b6f950da08e'] = '\'Profondità\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_63a0a494ef3c3c22829660ef6081dce4'] = '\'Stato Ordine\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_786b7b25dcd85d7e972a377f56facb5a'] = '\'Corriere\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1a3ade81b4ddac3ff0fe9f98f93ad843'] = '\'Stato ordine passato\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_070d4ccfe53bdbc791cbd6119b872f34'] = '\'Stato ordine Inviato\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c98d7be3b0acc53f7d2142cc3a3ab444'] = '\'Stato ordine consegnato\'';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4d470fde8487e755a50e9235e3dc13ab'] = 'deve essere configurato per utilizzare questo modulo correttamente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9d766be2c89b5af0010ac0c11dcddae7'] = 'Copia manualmente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6357d3551190ec7e79371a8570121d3a'] = 'Ci sono';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ce81305b7edb043d0a7a5c75cab17d0'] = 'C\'è';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_07213a0161f52846ab198be103b5ab43'] = 'errori';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_cb5e100e5a9a3e7f6d1fd97512215282'] = 'errore';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_667f01ead42da9ba606aaee5632f1cd0'] = 'Crea un account Envoimoinscher:';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8fc0ba19a15eeb50ab4ad8db449b0c74'] = 'Per creare il tuo account Envoimoinscher clicca sull\'immagine qui sotto. Sarai indirizzato ad uno spazio dedicato personale, dove trovi tutti gli strumenti per una facile gestione delle tue spedizioni.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Descrizione';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_82b213c84c7cf648a3cc9e718bb0f1c5'] = 'Questo modulo permette di confrontare le offerte dei corrieri e servizi di ordine online a tariffe di consegna. negoziate';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b843f182d32b5571e48879444311c38b'] = 'Devi inserire il tuo nome utente Envoimoinscher qui di seguito. Se non sei ancora un cliente Envoimoinscher, puoi facilmente creare un account cliccando';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c92285fa6d3e827b198d120ea3ac674'] = 'qui';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d64b03d7cc357f2ac9c63f8c88b49a0'] = 'Download Documentazione';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f4f70727dc34561dfde1a3c529b6205c'] = 'Impostazioni';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_32954654ac8fe66a1d09be19001de2d4'] = 'Larghezza';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_af7bb0f5eddd2287cf3f6b880d189e19'] = 'Scegli una funzione ...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_31f12b07ff0701df3b6000412952f9c7'] = 'Scegli la larghezza della lista';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eec6c4bdbd339edf8cbea68becb85244'] = 'Altezza';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_97fd502c6a75bfb727fbb5a93d3bc60b'] = 'Scegli Altezza nella lista';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_675056ad1441b6375b2c5abd48c27ef1'] = 'Profondità';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ccccb5efc77dfc62afb2c5ad4223916d'] = 'Scegli profondità nella lista';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a669003ea35aa39ca280b83bd259a032'] = 'Confezione';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_86a0b81400546aa3bbfe94b796ed6c31'] = 'Scegli una confezione...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16ef6ec0f179beeae1a68c4ebef97254'] = 'Scegli la confezione di default.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_f0c28b9363b60ed0a4579291ca510544'] = 'Natura dei contenuti';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_55303dad425107852ebecc47601f73e2'] = 'Scegli la natura dei contenuti di default.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e74b7618bb3f99b8a7c00ef765c727eb'] = 'Stato dell\'ordine da esportare';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_509d517463244dcd1ec09c4c5fa266ac'] = 'Scegli uno stato ...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bb4b4f2503c57254aaed1f1a07bb71da'] = 'Scegliere lo stato di ordine per esportare a Envoi Moins Cher.';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_914419aa32f04011357d3b604a86d7eb'] = 'Corriere';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6f2a31a74727092b14a9f25fa0761f4'] = 'Scegli un corriere...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a22d9830367fdf0f6b2601e7484b387'] = 'Scegli un corriere nella lista';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2aad255fde4750af3f559d078e1cb420'] = 'Stato dell\'ordine \"Ordine passato\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd77298d81e440f5379f48dccf993a8b'] = 'Scegli l\'ordine \"Ordine passato\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8532ff05a8576bdc04f8a9b8b1dbbfbc'] = 'Stato dell\'ordine inviato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b5af6d17d6837ce556286d019e06e4e0'] = 'Scegli l\'ordine \"Ordine inviato\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d2392c7501c4041d990cc0d372cde50a'] = 'Stato dell\'ordine consegnato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b06087cef2468e82e0e07499fdba5c30'] = 'Scegli l\'ordine \"Ordine consegnato\"';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1e884e3078d9978e216a027ecd57fb34'] = 'E-mail';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Attivato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9f5c797ebbf55adccdd8539a65a0241'] = 'Disattivato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9e839460f2871eb777da1b74f3fab03e'] = 'Attiva o disattiva l\'invio di posta da EMC';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a995d9073f999ae5713f6994092b57e'] = 'a meno che non informi il destinatario che viene inviato per default';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_7a16e0022af67a71b8d1521f746f41b3'] = 'Login EMC';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6ef6eed8e2c2d13d6823cbff8f139bad'] = 'Imposta il tuo login EMC';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a861c864b470344da673354f996ce0a7'] = 'Informazioni mittente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_019ec3132cdf8ee0f2e2a75cf5d3e459'] = 'Sesso';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5f33341287efce675cacf0b3ed818e70'] = 'Seleziona sesso del mittente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8d3f5eff9c40ee315d452392bed5309b'] = 'Cognome';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8cf6db4af977baa86b7691da80601bd0'] = 'Imposta il Cognome del mittente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20db0bfeecd8fe60533206a2b5e9891a'] = 'Nome';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49a768ce02314f39d386a66b77ae1858'] = 'Imposta il nome del mittente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_dd7bf230fde8d4836917806aff6a6b27'] = 'Indirizzo';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4a56f1882e859d6ce5b0fbc96c544100'] = 'Imposta l\'indirizzo del mittente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_642d3ba5db8b57e006584b544e490ec7'] = 'CAP';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_16e65be7ad7680a7148b8ddf0b5b4171'] = 'Impostare il CAP del mittente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_57d056ed0984166336b7879c2af3657f'] = 'City';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_e73af174484a98a10a852ab5bdb701bf'] = 'Imposta il nome della città del mittente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_59716c97497eb9694541f7c3d37b1a4d'] = 'Paese';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_255529f7845194a47b4c2e28374cdb1f'] = 'Scegli un paese ...';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6c820bc5f65e6258a648c3621b7b761e'] = 'Seleziona il paese del mittente nella lista';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bcc254b55c4a1babdf1dcb82c207506b'] = 'Telefono';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_6770d2600f6b45aa0b18dd9a6e39b2f8'] = 'Imposta il telefono del mittente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43cdf4833105e72eb951833a030ad4d5'] = 'Imposta la mail del mittente';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c9cc8cce247e49bae79f15173ce97354'] = 'Salva';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1fa598730b02d78aa07d07337c81c720'] = 'Larghezza non specificata';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c5ac8560e3b92c7941286fa8c2b3a1ed'] = 'Altezza non specificata';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_0eed429f3ae1e71de73b94e13f786893'] = 'Profondità non specificata';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5d50fc169bba225de3df710ff98188c6'] = 'Stato dell\'ordine non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_340ffdfdc019d0b001a4753b57aa398a'] = 'Corriere non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4ecdf47576d5d0d024f30199900c1761'] = 'Stato dell\'ordine \"ordine passato\" non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_c6a9265e0dcf5d7a7f331055b9b93609'] = 'Stato dell\'ordine \"inviato\" non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9f3440922590dae1ebc28c40555c6203'] = 'Stato dell\'ordine \"consegna\" non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_43b89b46dcf9440d5f852548ac5341a3'] = 'Cognome non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9a6dfbad73e6a8a852d4b1a266e941d2'] = 'Nome non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fdda31acf2551d1edde59d64144975b8'] = 'Indirizzo non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_01fc0f14742ba00423886a14e31964de'] = 'CAP non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2814eaaff876f0a3f29d87b23ceaa041'] = 'Città non specificata';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_ae21c3189ecc1e32d10e8f3b264af190'] = 'Paese non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_829d5874145d3477d778cdff96671448'] = 'Telefono non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a3b23591400c94a94583a94c0ab1f19f'] = 'E-mail non specificata';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_18f54b7a823f3349d841804a9fbc5aa3'] = 'Login non specificato';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configurazione aggiornata';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b9284bff13acffdd879ef4ac7fca5234'] = 'Impostazioni non riuscite';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_1b67f24ea45fdf2e11ad8f6e777e8c8b'] = 'Informazioni sulla consegna';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_fad2b83dc128dfb793fa8ee944dd9931'] = 'Segui la spedizione';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_d668e43f1d8b0584ed4f896de031d921'] = 'Nessun numero di spedizione ';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_bee4b55285d16e5fe85fc3474e343c51'] = 'Stampa note di consegna';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_10f0b7273755ee4117c1517010e18c23'] = 'Nessun numero di note di consegna';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_9ab3e83b1071d09ca62e4cd258686f6b'] = 'Nessun ordine da esportare';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_8c193493d8e4a97dc6da02d9809be530'] = 'Si prega di configurare questo modulo, al fine';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_2345e28c9b93f368968be4781ed70f5c'] = 'Modifica la configurazione';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_b718adec73e04ce3ec720dd11a06a308'] = 'ID';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_49ee3087348e8d44e1feda1917443987'] = 'Nome';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_50e91dab2a063bc8c1dbc383b0c8e71c'] = 'Costo totale';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_5e8ff31378107b80ae8a9e7cd93eb1bc'] = 'totale della spedizione';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_44749712dbec183e983dcd78a7736c41'] = 'Data';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_403ddddf1f3eecc1a2566b3d81e12993'] = 'Natura del contenuto';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_a254c25adc7d10d7e9c4889484f875a5'] = 'Dettaglio';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_4351cfebe4b61d8aa5efa1d020710005'] = 'Visualizza';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_94966d90747b97d1f0f206c98a8b1ac3'] = 'Invia';
|
||||
$_MODULE['<{envoimoinscher}prestashop>envoimoinscher_eae21050d83c239d047c9eb0d3bc930e'] = 'Elenco degli ordini per l\'esportazione';
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 604 B |
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
@@ -1,109 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
include('../../config/config.inc.php');
|
||||
include('../../init.php');
|
||||
|
||||
global $cookie;
|
||||
|
||||
$validReturn = array('infoexterne','token','etat','envoi');
|
||||
|
||||
$return = array();
|
||||
foreach ($_GET AS $key => $val)
|
||||
if (in_array(strtolower($key),$validReturn))
|
||||
$return[strtolower($key)] = utf8_encode(urldecode(stripslashes($val)));
|
||||
|
||||
if (isset($return['infoexterne']) AND isset($return['token']) AND isset($return['etat']))
|
||||
{
|
||||
$id_order = str_replace(str_replace('.','_',str_replace('www.','',$_SERVER['HTTP_HOST'])).'_','',$return['infoexterne']);
|
||||
|
||||
$order = new Order((int)($id_order));
|
||||
$customer = new Customer((int)($order->id_customer));
|
||||
$confs = Configuration::getMultiple(array('EMC_SEND_STATE', 'EMC_ORDER_PAST_STATE', 'EMC_DELIVERY_STATE'));
|
||||
|
||||
if ($customer->secure_key != $return['token'])
|
||||
d(Tools::displayError('Hack attempt'));
|
||||
else
|
||||
{
|
||||
switch($return['etat'])
|
||||
{
|
||||
//commande pass�e
|
||||
case 'CMD' :
|
||||
$history = new OrderHistory();
|
||||
$history->id_order = (int)($id_order);
|
||||
$history->changeIdOrderState((int)($confs['EMC_ORDER_PAST_STATE']), (int)($history->id_order));
|
||||
$history->id_employee = (int)($cookie->id_employee);
|
||||
$history->addWithemail();
|
||||
|
||||
$db = Db::getInstance();
|
||||
$db->ExecuteS('SELECT * FROM '._DB_PREFIX_.'envoimoinscher WHERE id_order = '.(int)($id_order));
|
||||
$numRows = (int)($db->NumRows());
|
||||
if ($numRows == 0)
|
||||
{
|
||||
if (Db::getInstance()->Execute('INSERT INTO '._DB_PREFIX_.'envoimoinscher VALUES (\''.(int)($id_order).'\', \''.$return['envoi'].'\');'));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Db::getInstance()->Execute('UPDATE '._DB_PREFIX_.'envoimoinscher SET shipping_number=\''.$return['envoi'].'\' WHERE id_order=\''.(int)($id_order).'\' '));
|
||||
}
|
||||
|
||||
break;
|
||||
//colis (ou autre objet) envoy�
|
||||
case 'ENV' :
|
||||
$history = new OrderHistory();
|
||||
$history->id_order = (int)($id_order);
|
||||
$history->changeIdOrderState((int)($confs['EMC_SEND_STATE']), (int)($history->id_order));
|
||||
$history->id_employee = (int)($cookie->id_employee);
|
||||
$history->addWithemail();
|
||||
break;
|
||||
//envoi annul�
|
||||
case 'ANN' :
|
||||
$message = new Message();
|
||||
$texte = 'Envoi Moins cher : envoi annul�';
|
||||
$message->message = htmlentities($texte, ENT_COMPAT, 'UTF-8');
|
||||
$message->id_order = (int)($id_order);
|
||||
$message->private = 1;
|
||||
$message->add();
|
||||
break;
|
||||
//objet livr� (pas g�r� actuellement)
|
||||
case 'LIV' :
|
||||
$history = new OrderHistory();
|
||||
$history->id_order = (int)($id_order);
|
||||
$history->changeIdOrderState((int)($confs['EMC_DELIVERY_STATE']), (int)($history->id_order));
|
||||
$history->id_employee = (int)($cookie->id_employee);
|
||||
$history->addWithemail();
|
||||
break;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
d(Tools::displayError('Hack attempt'));
|
||||
|
||||
Reference in New Issue
Block a user