From a1081ade5d21fc9598b94e40b60c35cf9d95f855 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 4 Aug 2011 14:25:18 +0000 Subject: added tabs on the description entry - updated jquery ui library --- h-source/Application/Include/languages.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'h-source/Application/Include/languages.php') diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php index 5dd3858..b9ed55a 100644 --- a/h-source/Application/Include/languages.php +++ b/h-source/Application/Include/languages.php @@ -33,6 +33,16 @@ class Lang 'de' => 'de.png,Deutsch', ); + public static function getLabel($langCode) + { + if (array_key_exists($langCode,self::$complete)) + { + $all = explode(',',self::$complete[$langCode]); + return $all[1]; + } + return $langCode; + } + public static $i18n = array( 'it' => array ( -- cgit v1.2.3