From ae4a223509038425160a004cbc59db2f55bef407 Mon Sep 17 00:00:00 2001
From: lLefevre
Date: Fri, 18 Nov 2011 14:22:53 +0000
Subject: [PATCH] // fix added toolbar in HelperOptions
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10271 b9a71923-0436-4b27-9f14-aed3839534dd
---
.../themes/template/generator/options.tpl | 4 +-
.../themes/template/helper/form/form.tpl | 1 -
.../template/helper/options/options.tpl | 34 +++-
classes/AdminController.php | 168 ++++++++++--------
classes/HelperForm.php | 5 +-
classes/HelperList.php | 15 +-
classes/HelperOptions.php | 25 +--
controllers/admin/AdminAccessController.php | 1 +
8 files changed, 136 insertions(+), 117 deletions(-)
diff --git a/admin-dev/themes/template/generator/options.tpl b/admin-dev/themes/template/generator/options.tpl
index 5b6ce2dfb..f3f302fca 100644
--- a/admin-dev/themes/template/generator/options.tpl
+++ b/admin-dev/themes/template/generator/options.tpl
@@ -59,7 +59,7 @@
{else}
{l s='Before being able to use this tool, you need to:'}
- {l s='- create a'} '. $this->l('.htaccess').' {l s='blank file in directory'} '.__PS_BASE_URI__.'
+
{l s='- create a'} {l s='.htaccess'} {l s='blank file in directory'} {$smarty.const.__PS_BASE_URI__}
{l s='- give it write permissions (CHMOD 666 on Unix system)'}
{/if}
@@ -77,7 +77,7 @@
{l s='This will erase your'} {l s='old'} {l s='robots.txt file!'}
{else}
{l s='Before being able to use this tool, you need to:'}
- {l s='- create a'} '. $this->l('robots.txt').' {l s='blank file in dir:'} {$smarty.const.__PS_BASE_URI__}
+
{l s='- create a'} {l s='robots.txt'} {l s='blank file in dir:'} {$smarty.const.__PS_BASE_URI__}
{l s='- give it write permissions (CHMOD 666 on Unix system)'}
{/if}
diff --git a/admin-dev/themes/template/helper/form/form.tpl b/admin-dev/themes/template/helper/form/form.tpl
index b21209dfb..e996489f5 100644
--- a/admin-dev/themes/template/helper/form/form.tpl
+++ b/admin-dev/themes/template/helper/form/form.tpl
@@ -24,7 +24,6 @@
* International Registered Trademark & Property of PrestaShop SA
*}
-
{if $show_toolbar}