// Add title for details action link
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9426 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -339,10 +339,13 @@ class HelperListCore extends Helper
|
|||||||
*/
|
*/
|
||||||
protected function displayDetailsLink($token = null, $id)
|
protected function displayDetailsLink($token = null, $id)
|
||||||
{
|
{
|
||||||
|
if (!array_key_exists('Details', self::$cache_lang))
|
||||||
|
self::$cache_lang['Details'] = $this->l('Details');
|
||||||
$this->context->smarty->assign(array(
|
$this->context->smarty->assign(array(
|
||||||
'id' => $id,
|
'id' => $id,
|
||||||
'controller' => str_replace('Controller', '', get_class($this->context->controller)),
|
'controller' => str_replace('Controller', '', get_class($this->context->controller)),
|
||||||
'token' => $this->token
|
'token' => $this->token,
|
||||||
|
'action' => self::$cache_lang['Details'],
|
||||||
));
|
));
|
||||||
return $this->context->smarty->fetch(_PS_ADMIN_DIR_.'/themes/template/list_action_details.tpl');
|
return $this->context->smarty->fetch(_PS_ADMIN_DIR_.'/themes/template/list_action_details.tpl');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user