From c46fd0027677b3023f24d79d647d21b40a04e5ee Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Fri, 4 Nov 2011 13:29:09 +0000 Subject: [PATCH] // helper form toolbar, + fix helper no_back git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9887 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/themes/template/helper/form/form.tpl | 11 +++++++++-- classes/Helper.php | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/template/helper/form/form.tpl b/admin-dev/themes/template/helper/form/form.tpl index 779638375..8cd028b8c 100644 --- a/admin-dev/themes/template/helper/form/form.tpl +++ b/admin-dev/themes/template/helper/form/form.tpl @@ -64,10 +64,17 @@ {/if} - +
{if $show_toolbar} {include file="toolbar.tpl" toolbar_btn=$toolbar_btn} +
+

{block name=pageTitle} + {$title|default:' '} + {/block}

+
{/if} +
{block name="leadin"}{/block}
+
{if isset($fields.title)}

{$fields.title}

{/if}
{if $form_id} @@ -322,4 +329,4 @@ {/if} {block name="other_fieldsets"}{/block} -
\ No newline at end of file + diff --git a/classes/Helper.php b/classes/Helper.php index 45e3009ca..eae14e7a1 100755 --- a/classes/Helper.php +++ b/classes/Helper.php @@ -39,6 +39,7 @@ class HelperCore public $toolbar_btn; public $title; public $show_toolbar = true; + public $no_back = false; public $context; /**