// #PSFV-94 : Update and bug fix with new toolbar implementation
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9873 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
e5a66e4f95
commit
7a412e08ef
3 files changed
+15
-13
No files matched your search
@@ -55,16 +55,17 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{/if}{* End if simple_header *}
|
|
||||||
|
|
||||||
{if $show_toolbar}
|
{if $show_toolbar}
|
||||||
<div class="pageTitle">
|
<div class="pageTitle">
|
||||||
<h3>{block name=pageTitle}
|
<h3>{block name=pageTitle}
|
||||||
<span id="current_obj" style="font-weight: normal;">{$page_title|default:' '}</span>
|
<span id="current_obj" style="font-weight: normal;">{$page_title|default:' '}</span>
|
||||||
{/block}</h3>
|
{/block}</h3>
|
||||||
</div>
|
</div>
|
||||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{/if}{* End if simple_header *}
|
||||||
|
|
||||||
<a name="{$table}"> </a>
|
<a name="{$table}"> </a>
|
||||||
|
|
||||||
|
|||||||
@@ -347,8 +347,8 @@ class HelperListCore extends Helper
|
|||||||
'current_index' => $this->currentIndex,
|
'current_index' => $this->currentIndex,
|
||||||
'view' => in_array('view', $this->actions),
|
'view' => in_array('view', $this->actions),
|
||||||
'edit' => in_array('edit', $this->actions),
|
'edit' => in_array('edit', $this->actions),
|
||||||
'has_actions' => (bool)count($this->actions),
|
'has_actions' => !empty($this->actions),
|
||||||
'has_bulk_actions' => (bool)count($this->bulk_actions),
|
'has_bulk_actions' => !empty($this->bulk_actions),
|
||||||
'list_skip_actions' => $this->list_skip_actions,
|
'list_skip_actions' => $this->list_skip_actions,
|
||||||
));
|
));
|
||||||
return $this->content_tpl->fetch();
|
return $this->content_tpl->fetch();
|
||||||
@@ -591,8 +591,8 @@ class HelperListCore extends Helper
|
|||||||
'identifier' => $this->identifier,
|
'identifier' => $this->identifier,
|
||||||
'id_cat' => $id_cat,
|
'id_cat' => $id_cat,
|
||||||
'shop_link_type' => $this->shopLinkType,
|
'shop_link_type' => $this->shopLinkType,
|
||||||
'has_actions' => (bool)count($this->actions),
|
'has_actions' => !empty($this->actions),
|
||||||
'has_bulk_actions' => (bool)count($this->bulk_actions),
|
'has_bulk_actions' => !empty($this->bulk_actions),
|
||||||
'toolbar_btn' => $this->toolbar_btn,
|
'toolbar_btn' => $this->toolbar_btn,
|
||||||
'table_id' => isset($table_id) ? $table_id : null,
|
'table_id' => isset($table_id) ? $table_id : null,
|
||||||
'table_dnd' => isset($table_dnd) ? $table_dnd : null,
|
'table_dnd' => isset($table_dnd) ? $table_dnd : null,
|
||||||
|
|||||||
@@ -199,6 +199,7 @@ class AdminStockMvtControllerCore extends AdminController
|
|||||||
$this->table = 'stock_mvt';
|
$this->table = 'stock_mvt';
|
||||||
$this->className = 'StockMvt';
|
$this->className = 'StockMvt';
|
||||||
$this->identifier = 'id_stock_mvt';
|
$this->identifier = 'id_stock_mvt';
|
||||||
|
$this->show_toolbar = false;
|
||||||
$this->lang = false;
|
$this->lang = false;
|
||||||
|
|
||||||
// test if a filter is applied for this list
|
// test if a filter is applied for this list
|
||||||
|
|||||||
Reference in new issue
Block a user