summaryrefslogtreecommitdiff
path: root/program/include/rcube_template.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-04-26 16:33:22 +0000
committerthomascube <thomas@roundcube.net>2009-04-26 16:33:22 +0000
commit1c932d58b57930ce527a77e885ace5b430a60883 (patch)
treea0bf036a0d2dc88897bb6d7d2be59853caa37a98 /program/include/rcube_template.php
parentd4d1a2505dfa40c21b6268c352d790e3a4d8ee83 (diff)
Allow plugins to define their own tasks + add 'domain' parameter for rcube_template::button()
Diffstat (limited to 'program/include/rcube_template.php')
-rwxr-xr-xprogram/include/rcube_template.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index 5de773821..307bd84d7 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -732,13 +732,13 @@ class rcube_template extends rcube_html_page
}
// get localized text for labels and titles
if ($attrib['title']) {
- $attrib['title'] = Q(rcube_label($attrib['title']));
+ $attrib['title'] = Q(rcube_label($attrib['title'], $attrib['domain']));
}
if ($attrib['label']) {
- $attrib['label'] = Q(rcube_label($attrib['label']));
+ $attrib['label'] = Q(rcube_label($attrib['label'], $attrib['domain']));
}
if ($attrib['alt']) {
- $attrib['alt'] = Q(rcube_label($attrib['alt']));
+ $attrib['alt'] = Q(rcube_label($attrib['alt'], $attrib['domain']));
}
// set title to alt attribute for IE browsers
if ($this->browser->ie && $attrib['title'] && !$attrib['alt']) {