From 8a5493103dccb1d67829b2778256b90ca1923739 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Wed, 23 Nov 2011 14:25:13 +0000 Subject: [PATCH] // fix bug change translate AdminTab for AdminController in AdminTranslationsController git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10536 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminTranslationsController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/admin/AdminTranslationsController.php b/controllers/admin/AdminTranslationsController.php index 6e0e968c4..25ba8993c 100644 --- a/controllers/admin/AdminTranslationsController.php +++ b/controllers/admin/AdminTranslationsController.php @@ -950,7 +950,7 @@ class AdminTranslationsControllerCore extends AdminController // @todo this is retrcompatible, but we should not leave this if ( $prefix_key == 'Admin') - $prefix_key = 'AdminTab'; + $prefix_key = 'AdminController'; $fd = fopen($tpl, 'r'); $content = fread($fd, filesize($tpl)); fclose($fd); @@ -1012,9 +1012,9 @@ class AdminTranslationsControllerCore extends AdminController $prefix_key = 'Admin'.substr($prefix_key, 0, strpos($prefix_key, DIRECTORY_SEPARATOR)); // @todo retrompatibility : we assume here than files directly in template/ - // use the prefix "AdminTab (like old php files 'header', 'footer.inc', 'index', 'login', 'password', 'functions' + // use the prefix "AdminController" (like old php files 'header', 'footer.inc', 'index', 'login', 'password', 'functions' if ( $prefix_key == 'Admin') - $prefix_key = 'AdminTab'; + $prefix_key = 'AdminController'; // and helpers in helper $new_lang = array();