[*] BO : #PSFV-94 - added AdminSuppliersController
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9806 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -962,8 +962,8 @@ class AdminControllerCore extends Controller
|
||||
|
||||
if (trim($tab['module']) != '')
|
||||
$img = _MODULE_DIR_.$tab['module'].'/'.$tab['class_name'].'.png';
|
||||
|
||||
// retrocompatibility
|
||||
|
||||
// retrocompatibility
|
||||
if(!file_exists($img))
|
||||
$img = str_replace('png', 'gif', $img);
|
||||
|
||||
@@ -1091,7 +1091,13 @@ class AdminControllerCore extends Controller
|
||||
return;
|
||||
$this->content .= $this->initForm();
|
||||
}
|
||||
elseif ($this->display != 'view' && !$this->ajax)
|
||||
elseif ($this->display == 'view')
|
||||
{
|
||||
if (!($this->object = $this->loadObject(true)))
|
||||
return;
|
||||
$this->content .= $this->initView();
|
||||
}
|
||||
elseif (!$this->ajax)
|
||||
{
|
||||
$this->content .= $this->initList();
|
||||
$this->content .= $this->initOptions();
|
||||
@@ -1169,10 +1175,17 @@ class AdminControllerCore extends Controller
|
||||
return $helper->generateList($this->_list, $this->fieldsDisplay);
|
||||
}
|
||||
|
||||
/**
|
||||
* Override to init display of the view page
|
||||
*/
|
||||
public function initView()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* this function set various display option for helper list
|
||||
*
|
||||
* @param Helper $helper
|
||||
*
|
||||
* @param Helper $helper
|
||||
* @return void
|
||||
*/
|
||||
public function setHelperListDisplay(Helper $helper)
|
||||
|
||||
Reference in New Issue
Block a user