diff options
Diffstat (limited to 'app/translator.php')
-rw-r--r-- | app/translator.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/translator.php b/app/translator.php index 338821d3..ac4d72e2 100644 --- a/app/translator.php +++ b/app/translator.php @@ -9,6 +9,13 @@ function t() return call_user_func_array(array($t, 'translate'), func_get_args()); } +// translate with no html escaping +function e() +{ + $t = new Translator; + return call_user_func_array(array($t, 'translateNoEscaping'), func_get_args()); +} + // Get a locale currency function c($value) { |