Fix link
This commit is contained in:
parent
f0892b08b8
commit
2d87da8815
@ -1498,7 +1498,7 @@ class Website extends CommonObject
|
||||
$countrycode = strtolower(substr($languagecodeselected, -2));
|
||||
$label = $weblangs->trans("Language_".$languagecodeselected);
|
||||
if ($countrycode == 'us') $label = preg_replace('/\s*\(.*\)/', '', $label);
|
||||
$out .= '<a href="'.$url.substr($languagecodeselected, 0, 2).'"><li><img height="12px" src="medias/image/common/flags/'.$countrycode.'.png" style="margin-right: 5px;"/><span class="websitecomponentlilang">'.$label.'</span>';
|
||||
$out .= '<a href="'.$url.substr($languagecodeselected, 0, 2).'"><li><img height="12px" src="/medias/image/common/flags/'.$countrycode.'.png" style="margin-right: 5px;"/><span class="websitecomponentlilang">'.$label.'</span>';
|
||||
$out .= '<span class="fa fa-caret-down" style="padding-left: 5px;" />';
|
||||
$out .= '</li></a>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user