// fix small bugs

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10813 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-11-30 16:32:51 +00:00
parent 577aa781bc
commit 003ac6e01b
3 changed files with 24 additions and 6 deletions

View File

@@ -1555,13 +1555,13 @@ class AdminControllerCore extends Controller
// retrocomp :
// if value is not set, try with "AdminTab" as prefix.
// @todo : change AdminTab to Helper
if ( isset($_LANGADM[$class.$key]))
if (isset($_LANGADM[$class.$key]))
$str = $_LANGADM[$class.$key];
else if ( isset($_LANGADM['admincontroller'.$key]))
else if (isset($_LANGADM['admincontroller'.$key]))
$str = $_LANGADM['admincontroller'.$key];
else if ( isset($_LANGADM['helper'.$key]))
else if (isset($_LANGADM['helper'.$key]))
$str = $_LANGADM['helper'.$key];
else if ( isset($_LANGADM['admintab'.$key]))
else if (isset($_LANGADM['admintab'.$key]))
$str = $_LANGADM['admintab'.$key];
else
// note in 1.5, some translations has moved from AdminXX to helper/*.tpl