From 47d3af17f8717f0fd7d76b185cd7b04dd95f94b0 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Tue, 18 Oct 2011 14:04:35 +0000 Subject: [PATCH] // Add title for details action link --- classes/HelperList.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/HelperList.php b/classes/HelperList.php index 088f1355e..9c887e05e 100644 --- a/classes/HelperList.php +++ b/classes/HelperList.php @@ -339,10 +339,13 @@ class HelperListCore extends Helper */ 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( 'id' => $id, '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'); }