{implode from=$languages item=__language}
'{@$__language->languageID}': {
iconPath: '{@$__language->getIconPath()|encodeJS}',
- languageName: '{$__language}'
+ languageName: '{@$__language|encodeJS}'
}
{/implode}
};
{implode from=$availableContentLanguages item=__language}
'{@$__language->languageID}': {
iconPath: '{@$__language->getIconPath()|encodeJS}',
- languageName: '{$__language}'
+ languageName: '{@$__language|encodeJS}'
}
{/implode}
};
{implode from=$__wcf->getLanguage()->getLanguages() item=__language}
'{@$__language->languageID}': {
iconPath: '{@$__language->getIconPath()|encodeJS}',
- languageName: '{$__language}'
+ languageName: '{@$__language|encodeJS}'
}
{/implode}
};
var $languages = {
{implode from=$availableLanguages item=language}
'{@$language->languageID}': {
- iconPath: '{@$language->getIconPath()}',
- languageName: '{$language}'
+ iconPath: '{@$language->getIconPath()|encodeJS}',
+ languageName: '{@$language|encodeJS}'
}
{/implode}
};
{implode from=$languages item=__language}
'{@$__language->languageID}': {
iconPath: '{@$__language->getIconPath()|encodeJS}',
- languageName: '{$__language}'
+ languageName: '{@$__language|encodeJS}'
}
{/implode}
};