// Merge -> 10309

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10333 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-11-21 11:05:10 +00:00
parent 2537c72189
commit 9d10de0848
365 changed files with 11185 additions and 1571 deletions
+14
View File
@@ -0,0 +1,14 @@
<!--<div id="ajaxAnswer" style="float:right;text-align:center;width:50%;margin-top:100px"></div>-->
<p>{$lang.followParameters}. {$lang.registered} <a style="color:blue;text-decoration:underline" href="https://www.tnt.fr/public/utilisateurs/adminExt/new.do">{$lang.here}</a></p>
<form action="index.php?tab={$glob.tab}&configure={$glob.configure}&token={$glob.token}&tab_module={$glob.tab_module}&module_name={$glob.module_name}&id_tab=1&section=account" method="post" class="form" id="configFormAccount">
<fieldset style="border: 0px;">
<h4>{$lang.accountTNT} :</h4>
<label>{$lang.login} : </label>
<div class="margin-form"><input type="text" size="20" name="tnt_carrier_login" value="{$varAccount.login}" /></div>
<label>{$lang.password} : </label>
<div class="margin-form"><input type="password" size="20" name="tnt_carrier_password" value="{$varAccount.password}" /></div>
<label>{$lang.numberAccount} : </label>
<div class="margin-form"><input type="text" size="20" name="tnt_carrier_number_account" value="{$varAccount.account}" /></div>
</fieldset>
<div class="margin-form"><input class="button" name="submitSave" type="submit"></div>
</form>
+17
View File
@@ -0,0 +1,17 @@
<table class="table" cellspacing="0" cellpading="0">
<tr>
<th>{$lang.place}</th><th>{$lang.additionnalCharge}</th><th></th>
</tr>
<tr>
<td>{$varCountry.country}</td><td>{$varCountry.overcost}</td>
<td>
<a href="index.php?tab={$glob.tab}&configure={$glob.configure}&token={$glob.token}&tab_module={$glob.tab_module}&module_name={$glob.module_name}&id_tab=3&section=country&action=edit&country={$varCountry.country}">
<img src="../img/admin/edit.gif" alt="edit" title="{$lang.edit}"/></a>
</td>
</tr>
</table>
</table><br/><div id="divFormCountry">
{if ($varCountry.action == 'edit' || $varCountry.action == 'new') && $varCountry.section == 'country'}
{$varCountry.form}
{/if}
</div>
+9
View File
@@ -0,0 +1,9 @@
<form action="index.php?tab={$glob.tab}&configure={$glob.configure}&token={$glob.token}&tab_module={$glob.tab_module}&module_name={$glob.module_name}&id_tab=3&section=country&action=edit" method="post" class="form" id="configFormCountry">
<table class="table" cellspacing="0" cellpadding="0">
<tr>
<td><input type="hidden" name="tnt_carrier_country" size="20" value="{$varCountryForm.country}"/>{$varCountryForm.country}</td>
<td><input type="text" name="tnt_carrier_{$varCountryForm.country}_overcost" size="20" value="{$varCountryForm.overcost}"/></td>
<td><input class="button" name="submitSave" type="submit"></td>
</tr>
</table>
</form>
+108
View File
@@ -0,0 +1,108 @@
{*
* 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: 8088 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<br/>
{$erreur}
{if !isset($erreur)}
{foreach from="$follow" item="f"}
<table class="std" style="text-align:left">
<thead>
<tr>
<th class="first_item" colspan="2">{l s="Package Information"}</th>
<th class="last_item" colspan="2"></th>
</tr>
<tr class="item">
<td class="bold">{l s="Shipping number"}</td>
<td>{$f.number}</td>
<td class="bold">{l s="Shipping status"}</td>
<td>{$f.status}</td>
</tr>
<tr class="item">
<td class="bold">{l s="Reference"}</td>
<td>{$f.reference}</td>
<td class="bold">{l s="Service"}</td>
<td>{$f.service}</td>
<tr>
<tr class="item">
<td class="bold">{l s="Weight"}</td>
<td>{$f.weight}</td>
<td></td>
<td></td>
</tr>
<tr class="item" style="border-top:1px solid black">
<td class="bold">{l s="Event"}</th>
<td class="bold">{l s="Date"}</th>
<td class="bold">{l s="Hours"}</th>
<td class="bold">{l s="Name Center"}</th>
</tr>
{if $f.request}
<tr class="item">
<td>{l s="Package on request"}</td>
<td>{$f.requestDate|date_format:$config.date}</td>
<td>{$f.requestDate|date_format:$config.time}</td>
<td></td>
</tr>
{/if}
{if $f.process}
<tr class="item">
<td>{l s="Package on its way"}</td>
<td>{$f.process_date|date_format:$config.date}</td>
<td>{$f.process_date|date_format:$config.time}</td>
<td>{$f.process_center}</td>
<tr>
{/if}
{if $f.delivery_departure}
<tr class="item">
<td>{l s="Deposit departure"}</td>
<td>{$f.delivery_departure_date|date_format:$config.date}</td>
<td>{$f.delivery_departure_date|date_format:$config.time}</td>
<td>{$f.delivery_departure_center}</td>
</tr>
{/if}
{if $f.delivery}
<tr class="item">
<td>{l s="driver presentation"}</td>
<td>{$f.delivery_date|date_format:$config.date}</td>
<td>{$f.delivery_date|date_format:$config.time}</td>
<td></td>
</tr>
{/if}
<tr class="item">
<td class="bold">deposit status</td>
<td colspan="3">
{foreach $f.long_status as $line}
{$line}<br/>
{/foreach}
{if $f.linkPicture != ''}
<a href="{$f.linkPicture}" target="_blank">{l s="proof signature"}</a>
{/if}
</td>
</tr>
</thead>
</table>
{/foreach}
{/if}
+42
View File
@@ -0,0 +1,42 @@
{*
* 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: 8088 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<br/>
<fieldset style="width:400px">
<legend><img src="../img/admin/delivery.gif" />{l s='Shipping information'}</legend>
{$var.error}<br/>
<form action="{$var.currentIndex}&view{$var.table}&token={$var.token}" method="post" style="margin-top:10px;">
{if $var.weight}
{l s="The package weight must be between 0.1 and 30.0 kg"}<br/><br/>
{l s="Weight"} : <input type="text" name="weightErrorOrder" /><br/><br/>
{/if}
{if $var.weightHidden}<input type="hidden" value="{$var.weightHidden}" name="weightErrorOrder" />{/if}
{if $var.date}
{l s="You must change the expedition date"}<br/><br/>
{l s="Date"} : <input type="text" value="{$var.date}" name="dateErrorOrder" /><br/><br/>
{/if}
{if $var.dateHidden}<input type="hidden" value="{$var.dateHidden}" name="dateErrorOrder" />{/if}
{if !$var.dateHidden || !$var.weightHidden}<input type="submit" value="{l s='Modify'}" class="button" />{/if}
</fieldset>
+36
View File
@@ -0,0 +1,36 @@
<?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: 6594 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../../../");
exit;
+28
View File
@@ -0,0 +1,28 @@
<ul id="menuTab">
<li id="menuTab1" class="menuTabButton selected">{$lang.accountSetting}</li>
<li id="menuTab2" class="menuTabButton">{$lang.shippingSetting}</li>
<li id="menuTab3" class="menuTabButton">{$lang.serviceSetting}</li>
</ul>
<div id="tabList">
<div id="menuTab1Sheet" class="tabItem selected">{$varMain.account}</div>
<div id="menuTab2Sheet" class="tabItem"><div>{$varMain.shipping}</div></div>
<div id="menuTab3Sheet" class="tabItem">{$varMain.service}</br>{$varMain.country}<br/>{$varMain.info}</div>
</div>
<br clear="left" />
<br />
<style>
#menuTab { float: left; padding: 0; margin: 0; text-align: left; }
#menuTab li { text-align: left; float: left; display: inline; padding: 5px; padding-right: 10px; background: #EFEFEF; font-weight: bold; cursor: pointer; border-left: 1px solid #EFEFEF; border-right: 1px solid #EFEFEF; border-top: 1px solid #EFEFEF; }
#menuTab li.menuTabButton.selected { background: #FFF6D3; border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; }
#tabList { clear: left; }
.tabItem { display: none; }
.tabItem.selected { display: block; background: #FFFFF0; border: 1px solid #CCCCCC; padding: 10px; padding-top: 20px; }
</style>
<script type="text/javascript">
$(".menuTabButton").click(function () {
$(".menuTabButton.selected").removeClass("selected");
$(this).addClass("selected");
$(".tabItem.selected").removeClass("selected");
$("#" + this.id + "Sheet").addClass("selected");
});
</script>
+21
View File
@@ -0,0 +1,21 @@
<script type="text/javascript">
function getAjaxRelais(id)
{
$("#relaisColisCarrier").load(
"./modules/tntcarrier/relaisColis/relaisColis.php?id_carrier="+id,
function(response, status, xhr)
{
if (status == "error")
$("#relaisColisCarrier").html(xhr.status + " " + xhr.statusText);
}
);
$("#relaisColisCarrier").slideDown('slow');
}
$("input[name='id_carrier']").click(function() {
getAjaxRelais($("input[name='id_carrier']:checked").val());
});
</script>
<div id="relaisColisCarrier" style="display:none">
</div>
<input type="hidden" id="cartRelaisColis" value="{$id_cart}" name="cartRelaisColis" />
+47
View File
@@ -0,0 +1,47 @@
<div style="float:right;margin-right: 100px;margin-top: 30px;">
<table class="table" cellspacing="0" cellpading="0">
<tr><th colspan="2">{l s='Code'}</th></tr>
<tr><td>N : </td><td>{l s='8:00 Express'}</td></tr>
<tr><td>A : </td><td>{l s='9:00 Express'}</td></tr>
<tr><td>T : </td><td>{l s='10:00 Express'}</td></tr>
<tr><td>M : </td><td>{l s='12:00 Express'}</td></tr>
<tr><td>J : </td><td>{l s='Express'}</td></tr>
<tr><td>P : </td><td>{l s='Express (P)'}</td></tr>
<tr><th colspan="2">{l s='Code Option (Optional)'}</th></tr>
<tr><td>D : </td><td>{l s='relay package'}</td></tr>
<tr><td>Z : </td><td>{l s='Home delivery'}</td></tr>
<tr><td>&Oslash; : </td><td>{l s='Enterprise Service'}</td></tr>
</table>
</div>
<a href="index.php?tab={$glob.tab}&configure={$glob.configure}&token={$glob.token}&tab_module={$glob.tab_module}&module_name={$glob.module_name}&id_tab=3&section=service&action=new">
<img src="../img/admin/add.gif" alt="add"/> {$lang.newService}</a></br><br/>
<table class="table" cellspacing="0" cellpading="0">
<tr>
<th>{$lang.id}</th><th>{$lang.name}</th><th>{$lang.description}</th><th>{$lang.code}</th><th>{$lang.additionnalCharge}</th><th>{$lang.activated}</th><th></th>
</tr>
{foreach from=$varService.serviceList key=k item=v}
<tr '.($irow++ % 2 ? 'class="alt_row"' : '').'>
<td>{$v.optionId}</td>
<td>{$v.name}</td>
<td>{$v.delay}</td>
<td>{$v.option}</td>
<td>{$v.optionOvercost}</td>
<td>
{if $v.deleted != 1}
<img src="../img/admin/enabled.gif" />
{else}
<img src="../img/admin/disabled.gif" />
{/if}
</td>
<td>
<a href="index.php?tab={$glob.tab}&configure={$glob.configure}&token={$glob.token}&tab_module={$glob.tab_module}&module_name={$glob.module_name}&id_tab=3&section=service&action=edit&service={$v.optionId}">
<img src="../img/admin/edit.gif" alt="edit" title="{$lang.edit}"/></a>
<a href="index.php?tab={$glob.tab}&configure={$glob.configure}&token={$glob.token}&tab_module={$glob.tab_module}&module_name={$glob.module_name}&id_tab=3&section=service&action=del&service={$v.optionId}">
<img src="../img/admin/delete.gif" alt="delete" title="{$lang.delete}"/></a></td></tr>
{/foreach}
</table><br/>
<div id="divFormService">
{if ($varService.action == 'edit' || $varService.action == 'new') && $varService.section == 'service'}
{$varService.form}
{/if}
</div>
+20
View File
@@ -0,0 +1,20 @@
<form action="index.php?tab={$glob.tab}&configure={$glob.configure}&token={$glob.token}&tab_module={$glob.tab_module}&module_name={$glob.module_name}&id_tab=3&section=service&action=new" method="post" class="form" id="configFormService">
{if $varServiceForm.id != null}
<input type="hidden" name="service_id" value="{$varServiceForm.id}"/>
{/if}
<table class="table" cellspacing="0" cellpadding="0">
<tr>
<th>{$lang.name}</th><th>{$lang.description}</th><th>{$lang.code}</th><th>{$lang.additionnalCharge}</th><th>{$lang.activated}</th><th></th>
</tr>
<tr>
<td><input type="text" name="tnt_carrier_service_name" size="20" value="{$varServiceForm.name}"/></td>
<td><input type="text" name="tnt_carrier_service_description" size="20" value="{$varServiceForm.description}"/></td>
<td><input type="text" name="tnt_carrier_service_code" size="5" value="{$varServiceForm.code}"/></td>
<td><input type="text" name="tnt_carrier_service_charge" size="10" value="{$varServiceForm.charge}"/></td>
<td><input type="radio" name="tnt_carrier_service_display" value="0" {if $varServiceForm.display == '1'} checked="checked" {/if} /> <img src="../img/admin/disabled.gif" /><br/>
<input type="radio" name="tnt_carrier_service_display" value="1" {if $varServiceForm.display == '0'} checked="checked" {/if} /> <img src="../img/admin/enabled.gif" />
</td>
<td><input class="button" name="submitSave" type="submit"></td>
</tr>
</table>
</form>
+70
View File
@@ -0,0 +1,70 @@
<script type="text/javascript" src="../modules/{$varShipping.moduleName}/js/jquery-ui.js"></script>
<script type="text/javascript" src="../modules/{$varShipping.moduleName}/js/relaisColis.js"></script>
<script type="text/javascript" src="../modules/{$varShipping.moduleName}/js/shipping.js"></script>
<link type="text/css" href="../modules/{$varShipping.moduleName}/css/ui.tabs.css" rel="stylesheet">
<link type="text/css" href="../modules/{$varShipping.moduleName}/css/ui.dialog.css" rel="stylesheet">
<link type="text/css" href="../modules/{$varShipping.moduleName}/css/tntB2CRelaisColis.css" rel="stylesheet">
<fieldset style="border: 0px;">
<div id="googleMapTnt" style="float:right;display:{if $varShipping.collect == '1'}none{/if}">
<div id="tntB2CRelaisColis" class="exemplePresentation">
<script type="text/javascript"> tntB2CRelaisColis();</script>
</div>
<div style="text-align: justify; font-family: arial,helvetica,sans-serif; font-size: 10pt;">
<div style="height: 25px;">&nbsp;</div>
<div id="exempleIntegration">
<input style="float:right" type="button" value="{$lang.fillDataInTheForm}" onclick="callbackSelectionRelais();" />
</div>
</div>
</div>
<form action="index.php?tab={$glob.tab}&configure={$glob.configure}&token={$glob.token}&tab_module={$glob.tab_module}&module_name={$glob.module_name}&id_tab=2&section=shipping" method="post" class="form" id="configFormShipping">
<h4>{$lang.shipping} :</h4>
<label>{$lang.collect} : </label>
<div class="margin-form">
<input type="radio" id="tnt_carrier_collect_no" name="tnt_carrier_shipping_collect" value="0" {if $varShipping.collect == '0'} checked="checked" {/if} /> : {$lang.noDeposit}<br/>
<input type="radio" id="tnt_carrier_collect_yes" onclick="collectButtonClick()" name="tnt_carrier_shipping_collect" value="1" {if $varShipping.collect == '1'} checked="checked" {/if} /> : {$lang.yes}
</div>
<div id="divPex" style="display:{if $varShipping.collect == '1'}none{/if}">
<a href="#" style="color:blue" onclick="depositButtonClick();return false;">{$lang.chooseYourDepositoryLocation}</a><br/><br/>
<label>{$lang.pexCode} : </label>
<div class="margin-form"><input type="text" size="20" id="tnt_carrier_shipping_pex" name="tnt_carrier_shipping_pex" value="{$varShipping.pex}" /></div>
</div>
<label>{$lang.companyName} : </label>
<div class="margin-form"><input type="text" size="20" id="tnt_carrier_shipping_company" name="tnt_carrier_shipping_company" value="{$varShipping.company}" /></div>
<label>{$lang.lastName} : </label>
<div class="margin-form"><input type="text" size="20" id="tnt_carrier_shipping_last_name" name="tnt_carrier_shipping_last_name" value="{$varShipping.lastName}" /></div>
<label>{$lang.firstName} : </label>
<div class="margin-form"><input type="text" size="20" id="tnt_carrier_shipping_first_name" name="tnt_carrier_shipping_first_name" value="{$varShipping.firstName}" /></div>
<label>{$lang.address1} : </label>
<div class="margin-form"><input type="text" size="20" id="tnt_carrier_shipping_address1" name="tnt_carrier_shipping_address1" value="{$varShipping.address1}" /></div>
<label>{$lang.address2} : </label>
<div class="margin-form"><input type="text" size="20" id="tnt_carrier_shipping_address2" name="tnt_carrier_shipping_address2" value="{$varShipping.address2}" /></div>
<label>{$lang.zip} : </label>
<div class="margin-form"><input type="text" size="20" id="tnt_carrier_shipping_postal_code" name="tnt_carrier_shipping_postal_code" value="{$varShipping.zipCode}" /></div>
<label>{$lang.city} : </label>
<div class="margin-form"><input type="text" size="20" id="tnt_carrier_shipping_city" name="tnt_carrier_shipping_city" value="{$varShipping.city}" /></div><br/>
<label>{$lang.email} : </label>
<div class="margin-form"><input type="text" size="20" name="tnt_carrier_shipping_email" value="{$varShipping.email}" /></div>
<label>{$lang.phone} : </label>
<div class="margin-form"><input type="text" size="20" name="tnt_carrier_shipping_phone" value="{$varShipping.phone}" /></div>
<div id="divClosing" style="display:{if $varShipping.collect == '0'}none{/if}">
<label>{$lang.closingTime} : </label>
<div class="margin-form"><input type="text" size="20" name="tnt_carrier_shipping_closing" value="{$varShipping.closing}" /> (HH:MM)</div>
<br/>
</div>
<!--<label>{$lang.saturdayDelivery} : </label>
<div class="margin-form">
<input type="radio" id="tnt_carrier_delivery_yes" name="tnt_carrier_shipping_delivery" value="1" '.(Configuration::get('TNT_CARRIER_SHIPPING_DELIVERY') == 1 ? 'checked="checked"' : ''} /> : {$lang.yes}<br/>
<input type="radio" id="tnt_carrier_delivery_no" name="tnt_carrier_shipping_delivery" value="0" '.(Configuration::get('TNT_CARRIER_SHIPPING_DELIVERY') == 0 ? 'checked="checked"' : ''} /> : {$lang.no}
</div>-->
<br/><br/>
<label>{$lang.labelFormatPrinting} : </label><br/><br/>
<select name="tnt_carrier_print_sticker" value="{$varShipping.sticker}" >
<option value="STDA4">{$lang.a4printing}</option>
<option value="THERMAL">THERMAL</option>
<option value="THERMAL,NO_LOGO">THERMAL {$lang.withoutPrintingLogoTNT}</option>
<option value="THERMAL,ROTATE_180">THERMAL {$lang.withReversePrint}</option>
<option value="THERMAL,NO_LOGO,ROTATE_180">THERMAL {$lang.withoutPrintingLogoTNTWithReversePrint}</option>
</select><br/><br/>
<div class="margin-form"><input class="button" name="submitSave" type="submit"></div>
</form>
</fieldset>
+43
View File
@@ -0,0 +1,43 @@
{*
* 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: 8088 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<br/>
<fieldset style="width:400px">
<legend><img src="../img/admin/delivery.gif" />{l s='Shipping information'}</legend>
Chaque colis doit au plus faire 20 Kg.<br/>
{$var.error}
{if $var.shipping_numbers && $var.sticker}
{$var.lang_shippingNumber} :
<div style="text-align:right">
{foreach from=$var.shipping_numbers item=v}
{if $v.shipping_number}
{$v.shipping_number}<br/>
{/if}
{/foreach}
</div>
{$var.lang_sticker} : <a style="color:blue" href="{$var.sticker}">{l s="PDF File"}</a><br/>
{$var.lang_expedition} : {$var.date}<br/>{$var.place}
{/if}
</fieldset>
+27
View File
@@ -0,0 +1,27 @@
<script type="text/javascript">
$(document).ready(function() {
var children = $('#followPackage').children();
$('#waitingDiv').html("Chargement du suivi colis <img src='./img/loadingAnimation.gif' alt='wait'/>");
for (var i = 0; i < children.length; i++)
{
$("#"+children[i].id).load(
"./modules/tntcarrier/follow.php?code="+children[i].id.substr(14),
function(response, status, xhr)
{
if (status == "error")
$("#followPackage").html(xhr.status + " " + xhr.statusText);
if (i == children.length)
$('#waitingDiv').html("");
}
);
}
/**/
});
</script>
<div id="followPackage" style="clear:both">
{foreach from=$numbers item=v}
<div id="followPackage_{$v.shipping_number}">
</div>
{/foreach}
</div>
<div id="waitingDiv"></div>