// Fix bug controller AdminCategoriesController (PSFV-94)

This commit is contained in:
lLefevre committed 2011-11-03 10:24:31 +00:00
1 parent cc815821ce
commit b39c8e73ab
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -23,7 +23,7 @@
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA * International Registered Trademark & Property of PrestaShop SA
*} *}
{if count($toolbar_btn) > 0}
<div class="toolbarBox"> <div class="toolbarBox">
<ul class="cc_button"> <ul class="cc_button">
{foreach from=$toolbar_btn item=btn key=k} {foreach from=$toolbar_btn item=btn key=k}
@@ -38,3 +38,4 @@
<h3><span id="current_obj" style="font-weight: normal;">{$current_obj_name|default:'&nbsp;'}</span></h3> <h3><span id="current_obj" style="font-weight: normal;">{$current_obj_name|default:'&nbsp;'}</span></h3>
</div> </div>
</div> </div>
{/if}
@@ -98,7 +98,7 @@ class AdminCategoriesControllerCore extends AdminController
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?'))); $this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')));
$this->_filter .= 'AND `id_parent` = '.(int)$this->_category->id; $this->_filter .= 'AND `id_parent` = '.(int)$this->_category->id.' ';
$this->_select = 'position '; $this->_select = 'position ';
$categories_tree = $this->_category->getParentsCategories($this->context->language->id); $categories_tree = $this->_category->getParentsCategories($this->context->language->id);
@@ -124,7 +124,7 @@ class AdminCategoriesControllerCore extends AdminController
public function initView() public function initView()
{ {
$this->initToolbar(); $this->initToolbar();
$this->content .= $this->initList(); return $this->initList();
} }
public function initToolbar() public function initToolbar()