From ae3980014325d2fcb9c40d20effb021bd36f2091 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 16 Feb 2012 15:36:35 +0000 Subject: [PATCH] [-] BO : #PSTEST-775 - Change button cancel, for back to list on the attribute and feature form --- controllers/admin/AdminAttributesGroupsController.php | 4 ++-- controllers/admin/AdminFeaturesController.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/controllers/admin/AdminAttributesGroupsController.php b/controllers/admin/AdminAttributesGroupsController.php index de4550d8a..eb60553c2 100644 --- a/controllers/admin/AdminAttributesGroupsController.php +++ b/controllers/admin/AdminAttributesGroupsController.php @@ -464,9 +464,9 @@ class AdminAttributesGroupsControllerCore extends AdminController ); $back = self::$currentIndex.'&token='.$this->token; - $this->toolbar_btn['cancel'] = array( + $this->toolbar_btn['back'] = array( 'href' => $back, - 'desc' => $this->l('Cancel') + 'desc' => $this->l('Back to list') ); break; default: // list diff --git a/controllers/admin/AdminFeaturesController.php b/controllers/admin/AdminFeaturesController.php index 83471bda7..812c6d5fb 100644 --- a/controllers/admin/AdminFeaturesController.php +++ b/controllers/admin/AdminFeaturesController.php @@ -217,9 +217,9 @@ class AdminFeaturesControllerCore extends AdminController if (empty($back)) $back = self::$currentIndex.'&token='.$this->token; - $this->toolbar_btn['cancel'] = array( + $this->toolbar_btn['back'] = array( 'href' => $back, - 'desc' => $this->l('Cancel') + 'desc' => $this->l('Back to list') ); break;