From 716acbaffa42b338f5da11c1ad09104738426bc2 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Fri, 18 Nov 2011 15:00:58 +0000 Subject: [PATCH] // fix delete assign token in AdminController.php, use function smarty {getAdminToken tab=''} git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10273 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/themes/template/header.tpl | 14 +++++++------- classes/AdminController.php | 5 ----- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/admin-dev/themes/template/header.tpl b/admin-dev/themes/template/header.tpl index 4d41499e9..7b6110512 100644 --- a/admin-dev/themes/template/header.tpl +++ b/admin-dev/themes/template/header.tpl @@ -56,8 +56,8 @@ var new_msg = '{l s='A new message posted on your shop.'}'; var excerpt_msg = '{l s='Excerpt : '}'; var see_msg = '{l s='Click here to see that message'}'; - var token_admin_orders = '{$token_admin_orders}'; - var token_admin_customers = '{$token_admin_customers}'; + var token_admin_orders = '{getAdminToken tab='AdminOrders'}'; + var token_admin_customers = '{getAdminToken tab='AdminCustomers'}'; {if isset($css_files)} @@ -163,7 +163,7 @@ $(document).ready(function()

{l s='Last orders'}

{l s='No new orders has been made on your shop'}

-

{l s='Show all orders'}

+

{l s='Show all orders'}

{/if} @@ -176,7 +176,7 @@ $(document).ready(function()

{l s='Last customers'}

{l s='No new customers registered on your shop'}

-

{l s='Show all customers'}

+

{l s='Show all customers'}

{/if} @@ -189,13 +189,13 @@ $(document).ready(function()

{l s='Last messages'}

{l s='No new messages posted on your shop'}

-

{l s='Show all messages'}

+

{l s='Show all messages'}

{/if} - {l s='My preferences'} + {l s='My preferences'} {$first_name} {$last_name} {l s='logout'} @@ -205,7 +205,7 @@ $(document).ready(function() {/if}