function t_safe
Same name in other branches
- 7.x-1.x devel.module \t_safe()
4 calls to t_safe()
- devel_exit in ./
devel.module - devel_query_summary in ./
devel.module - devel_shutdown_real in ./
devel.module - See devel_shutdown() which registers this function as a shutdown function. Displays developer information in the footer.
- devel_timer in ./
devel.module - Displays page execution time at the bottom of the page.
File
-
./
devel.module, line 981
Code
function t_safe($string, $args) {
// get_t caused problems here with theme registry after changing on admin/build/modules. the theme_get_registry call is needed.
if (function_exists('t') && function_exists('theme_get_registry')) {
theme_get_registry();
return t($string, $args);
}
else {
strtr($string, $args);
}
}