// fixed bug about translations when using form.tpl in admin, thanks to Samy Rabbih for the report,

// added missing slashes attributes in admin header for javascript
This commit is contained in:
mMarinetti committed 2012-02-03 15:28:02 +00:00
1 parent f416ffd042
commit 24abe3fd3a
2 files changed
+18 -18

No files matched your search

+17 -17
View File
@@ -40,31 +40,31 @@
var roundMode = {$round_mode}; var roundMode = {$round_mode};
{if isset($shop_context)} {if isset($shop_context)}
{if $shop_context == 'all'} {if $shop_context == 'all'}
var youEditFieldFor = "{l s='A modification of this field will be applied for all shops'}"; var youEditFieldFor = "{l s='A modification of this field will be applied for all shops' slashes=1 }";
{elseif $shop_context == 'group'} {elseif $shop_context == 'group'}
var youEditFieldFor = "{l s='A modification of this field will be applied for all shops of group '}<b>{$shop_name}</b>"; var youEditFieldFor = "{l s='A modification of this field will be applied for all shops of group ' slashes=1 }<b>{$shop_name}</b>";
{else} {else}
var youEditFieldFor = "{l s='A modification of this field will be applied for the shop '}<b>{$shop_name}</b>"; var youEditFieldFor = "{l s='A modification of this field will be applied for the shop ' slashes=1 }<b>{$shop_name}</b>";
{/if} {/if}
{else} {else}
var youEditFieldFor = ''; var youEditFieldFor = '';
{/if} {/if}
{* Notifications vars *} {* Notifications vars *}
var autorefresh_notifications = '{$autorefresh_notifications}'; var autorefresh_notifications = '{$autorefresh_notifications}';
var new_order_msg = '{l s='A new order has been made on your shop.'}'; var new_order_msg = '{l s='A new order has been made on your shop.' slashes=1 }';
var order_number_msg = '{l s='Order number : '}'; var order_number_msg = '{l s='Order number : ' slashes=1 }';
var total_msg = '{l s='Total : '}'; var total_msg = '{l s='Total : ' slashes=1 }';
var from_msg = '{l s='From : '}'; var from_msg = '{l s='From : ' slashes=1 }';
var see_order_msg = '{l s='Click here to see that order'}'; var see_order_msg = '{l s='Click here to see that order' slashes=1 }';
var new_customer_msg = '{l s='A new customer registered on your shop.'}'; var new_customer_msg = '{l s='A new customer registered on your shop.' slashes=1}';
var customer_name_msg = '{l s='Customer name : '}'; var customer_name_msg = '{l s='Customer name : ' slashes=1 }';
var see_customer_msg = '{l s='Click here to see that customer'}'; var see_customer_msg = '{l s='Click here to see that customer' slashes=1 }';
var new_msg = '{l s='A new message posted on your shop.'}'; var new_msg = '{l s='A new message posted on your shop.' slashes=1 }';
var excerpt_msg = '{l s='Excerpt : '}'; var excerpt_msg = '{l s='Excerpt : ' slashes=1 }';
var see_msg = '{l s='Click here to see that message'}'; var see_msg = '{l s='Click here to see that message' slashes=1 }';
var token_admin_orders = '{getAdminToken tab='AdminOrders'}'; var token_admin_orders = '{getAdminToken tab='AdminOrders' slashes=1 }';
var token_admin_customers = '{getAdminToken tab='AdminCustomers'}'; var token_admin_customers = '{getAdminToken tab='AdminCustomers' slashes=1 }';
var token_admin_customer_threads = '{getAdminToken tab='AdminCustomerThreads'}'; var token_admin_customer_threads = '{getAdminToken tab='AdminCustomerThreads' slashes=1 }';
</script> </script>
{/if} {/if}
@@ -63,7 +63,7 @@
{/if} {/if}
{block name="label"} {block name="label"}
{if isset($input.label)} {if isset($input.label)}
<label>{$input.label|escape:'htmlall'} </label> <label>{$input.label} </label>
{/if} {/if}
{/block} {/block}
{if $input.type == 'hidden'} {if $input.type == 'hidden'}