diff options
author | thomascube <thomas@roundcube.net> | 2011-08-13 09:10:11 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-08-13 09:10:11 +0000 |
commit | a02cfa9b085fc875fc55f57029a8e5846771ed5e (patch) | |
tree | f9d95a215d3aaa8c6efc2feac0d261ce94a52a75 /program/include/main.inc | |
parent | 3b4dee3735c976d5ecd21430515df014262b8e21 (diff) |
Fix incomplete backport from trunkv0.5.4@5065
Diffstat (limited to 'program/include/main.inc')
-rw-r--r-- | program/include/main.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 3c04e20bf..842b93323 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -92,6 +92,16 @@ function rcube_label($p, $domain=null) return rcmail::get_instance()->gettext($p, $domain); } +/** + * Global wrapper of rcmail::text_exists() + * to check whether a text label is defined + * + * @see rcmail::text_exists() + */ +function rcube_label_exists($name, $domain=null) +{ + return rcmail::get_instance()->text_exists($name, $domain); +} /** * Overwrite action variable |