forked from ZwiiCMS-Team/ZwiiCMS
alt drapeaux traduits
This commit is contained in:
parent
8d40bf9f10
commit
ec252292cc
@ -2060,6 +2060,7 @@ class common {
|
||||
*/
|
||||
public function showi18n() {
|
||||
foreach (self::$i18nList as $key => $value) {
|
||||
|
||||
if ($this->getData(['config', 'i18n', $key]) === 'site'
|
||||
OR (
|
||||
$this->getData(['config', 'i18n','scriptGoogle']) === true
|
||||
@ -2080,7 +2081,7 @@ class common {
|
||||
}
|
||||
|
||||
echo '<li>';
|
||||
echo '<a href="' . helper::baseUrl() . 'translate/language/' . $key . '/' . $this->getData(['config', 'i18n',$key]) . '/' . $this->getUrl(0) . '"><img ' . $select . ' class="flag" src="' . helper::baseUrl(false) . 'core/vendor/i18n/png/' . $key . '.png" alt=' . $key . '/></a>';
|
||||
echo '<a href="' . helper::baseUrl() . 'translate/language/' . $key . '/' . $this->getData(['config', 'i18n',$key]) . '/' . $this->getUrl(0) . '"><img ' . $select . ' class="flag" alt="' . $value . '" src="' . helper::baseUrl(false) . 'core/vendor/i18n/png/' . $key . '.png"/></a>';
|
||||
echo '</li>';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user