From a7ead1945763e6ab9328cf18d01b5dfedb568b6d 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 --- 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();