// 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
This commit is contained in:
1 parent
483a4b1f95
commit
c46fd00276
2 files changed
+9
-1
No files matched your search
@@ -64,10 +64,17 @@
|
|||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="../js/form.js"></script>
|
<script type="text/javascript" src="../js/form.js"></script>
|
||||||
{/if}
|
{/if}
|
||||||
|
<div class="toolbarBox">
|
||||||
{if $show_toolbar}
|
{if $show_toolbar}
|
||||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||||
|
<div class="pageTitle">
|
||||||
|
<h3>{block name=pageTitle}
|
||||||
|
<span id="current_obj" style="font-weight: normal;">{$title|default:' '}</span>
|
||||||
|
{/block}</h3>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
<div class="leadin">{block name="leadin"}{/block}</div>
|
||||||
|
</div>
|
||||||
{if isset($fields.title)}<h2>{$fields.title}</h2>{/if}
|
{if isset($fields.title)}<h2>{$fields.title}</h2>{/if}
|
||||||
<form id="{$table}_form" class="defaultForm" action="{$current}&{$submit_action}=1&token={$token}" method="post" enctype="multipart/form-data">
|
<form id="{$table}_form" class="defaultForm" action="{$current}&{$submit_action}=1&token={$token}" method="post" enctype="multipart/form-data">
|
||||||
{if $form_id}
|
{if $form_id}
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ class HelperCore
|
|||||||
public $toolbar_btn;
|
public $toolbar_btn;
|
||||||
public $title;
|
public $title;
|
||||||
public $show_toolbar = true;
|
public $show_toolbar = true;
|
||||||
|
public $no_back = false;
|
||||||
public $context;
|
public $context;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user