function i18ncck_get_safe_value in Internationalization 6
Makes safe keys for using in i18nstrings().
2 calls to i18ncck_get_safe_value()
- i18ncck_content_allowed_values_alter in i18ncck/
i18ncck.module - Translate allowed values lists.
- i18ncck_locale_refresh in i18ncck/
i18ncck.module - Refresh locale strings.
File
- i18ncck/
i18ncck.module, line 25 - Internationalization (i18n) submodule: CCK.
Code
function i18ncck_get_safe_value($value) {
return html_entity_decode(strip_tags($value), ENT_QUOTES);
}