// rename $toolbar_fix to $toolbar_scroll part1
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{if $show_toolbar}
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox {if $toolbar_fix}toolbarHead{/if}">
|
||||
<div class="toolbarBox {if $toolbar_scroll}toolbarHead{/if}">
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
{if $show_toolbar}
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox{if $toolbar_fix} toolbarHead{/if}">
|
||||
<div class="toolbarBox{if $toolbar_scroll} toolbarHead{/if}">
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
{if $show_toolbar}
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox {if $toolbar_fix}toolbarHead{/if}">
|
||||
<div class="toolbarBox {if $toolbar_scroll}toolbarHead{/if}">
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>{block name=pageTitle}
|
||||
|
||||
@@ -813,7 +813,7 @@
|
||||
</script>
|
||||
{if $show_toolbar}
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox {if $toolbar_fix}toolbarHead{/if}">
|
||||
<div class="toolbarBox {if $toolbar_scroll}toolbarHead{/if}">
|
||||
{include file="toolbar.tpl"}
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
|
||||
@@ -32,7 +32,7 @@ $(function() {
|
||||
|
||||
{if $show_toolbar}
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox {if $toolbar_fix}toolbarHead{/if}">
|
||||
<div class="toolbarBox {if $toolbar_scroll}toolbarHead{/if}">
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
{if $show_toolbar}
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox {if $toolbar_fix}toolbarHead{/if}">
|
||||
<div class="toolbarBox {if $toolbar_scroll}toolbarHead{/if}">
|
||||
{include file="toolbar.tpl"}
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
{if $show_toolbar}
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox {if $toolbar_fix}toolbarHead{/if}">
|
||||
<div class="toolbarBox {if $toolbar_scroll}toolbarHead{/if}">
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>{block name=pageTitle}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
{if $show_toolbar}
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox {if $toolbar_fix}toolbarHead{/if}">
|
||||
<div class="toolbarBox {if $toolbar_scroll}toolbarHead{/if}">
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
{if $show_toolbar}
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox {if $toolbar_fix}toolbarHead{/if}">
|
||||
<div class="toolbarBox {if $toolbar_scroll}toolbarHead{/if}">
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
|
||||
@@ -120,7 +120,7 @@ class AdminControllerCore extends Controller
|
||||
protected $toolbar_btn = null;
|
||||
|
||||
/** @var boolean scrolling toolbar */
|
||||
protected $toolbar_fix = true;
|
||||
protected $toolbar_scroll = true;
|
||||
|
||||
/** @var boolean set to false to hide toolbar and page title */
|
||||
protected $show_toolbar = true;
|
||||
@@ -1530,7 +1530,7 @@ class AdminControllerCore extends Controller
|
||||
$helper->title = $this->toolbar_title;
|
||||
$helper->toolbar_btn = $this->toolbar_btn;
|
||||
$helper->show_toolbar = $this->show_toolbar;
|
||||
$helper->toolbar_fix = $this->toolbar_fix;
|
||||
$helper->toolbar_scroll = $this->toolbar_scroll;
|
||||
$helper->override_folder = $this->tpl_folder;
|
||||
$helper->actions = $this->actions;
|
||||
$helper->simple_header = $this->list_simple_header;
|
||||
|
||||
@@ -41,7 +41,7 @@ class HelperCore
|
||||
public $title;
|
||||
public $show_toolbar = true;
|
||||
public $context;
|
||||
public $toolbar_fix = false;
|
||||
public $toolbar_scroll = false;
|
||||
|
||||
/**
|
||||
* @var Module
|
||||
|
||||
@@ -147,7 +147,7 @@ class HelperFormCore extends Helper
|
||||
'title' => $this->title,
|
||||
'toolbar_btn' => $this->toolbar_btn,
|
||||
'show_toolbar' => $this->show_toolbar,
|
||||
'toolbar_fix' => $this->toolbar_fix,
|
||||
'toolbar_scroll' => $this->toolbar_scroll,
|
||||
'submit_action' => $this->submit_action,
|
||||
'firstCall' => $this->first_call,
|
||||
'current' => $this->currentIndex,
|
||||
|
||||
@@ -588,7 +588,7 @@ class HelperListCore extends Helper
|
||||
$this->header_tpl->assign(array_merge($this->tpl_vars, array(
|
||||
'title' => $this->title,
|
||||
'show_toolbar' => $this->show_toolbar,
|
||||
'toolbar_fix' => $this->toolbar_fix,
|
||||
'toolbar_scroll' => $this->toolbar_scroll,
|
||||
'toolbar_btn' => $this->toolbar_btn,
|
||||
'table' => $this->table,
|
||||
'currentIndex' => $this->currentIndex,
|
||||
|
||||
@@ -143,7 +143,7 @@ class HelperOptionsCore extends Helper
|
||||
'title' => $this->title,
|
||||
'toolbar_btn' => $this->toolbar_btn,
|
||||
'show_toolbar' => $this->show_toolbar,
|
||||
'toolbar_fix' => $this->toolbar_fix,
|
||||
'toolbar_scroll' => $this->toolbar_scroll,
|
||||
'current' => $this->currentIndex,
|
||||
'table' => $this->table,
|
||||
'token' => $this->token,
|
||||
|
||||
@@ -53,7 +53,7 @@ class HelperViewCore extends Helper
|
||||
'token' => $this->token,
|
||||
'table' => $this->table,
|
||||
'show_toolbar' => $this->show_toolbar,
|
||||
'toolbar_fix' => $this->toolbar_fix,
|
||||
'toolbar_scroll' => $this->toolbar_scroll,
|
||||
'toolbar_btn' => $this->toolbar_btn,
|
||||
'link' => $this->context->link
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user