diff --git a/core/class/template.class.php b/core/class/template.class.php index 339c51b3..f71fc6f9 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -484,9 +484,9 @@ class template */ public static function flag($langId, $size = 'auto') { + $lang = 'fr_FR'; switch ($langId) { case '': - $lang = 'fr_FR'; break; case in_array($langId, core::$languages): $lang = $langId; @@ -498,11 +498,11 @@ class template $lang = 'fr_FR'; } } - return '(' . $langId . ')'; + title="' . $lang . '" + alt="(' . $lang . ')"/>'; } /**