summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2015-02-17 11:54:50 +0100
committerAleksander Machniak <alec@alec.pl>2015-02-17 11:54:50 +0100
commit701ef30c28a9db9a1ec905d3911a1fa346d1d010 (patch)
tree4cbdbd5f1398e974922a5beaf18efb845a9db764 /plugins
parentf7af22c7801afcc248b004c84d0f1fb45e1a1632 (diff)
parentaf6e4741416ad35b180430db10f54a277c40faa0 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'plugins')
-rw-r--r--plugins/help/help.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/help/help.php b/plugins/help/help.php
index df08caf71..d71cd0ec6 100644
--- a/plugins/help/help.php
+++ b/plugins/help/help.php
@@ -82,8 +82,14 @@ class help extends rcube_plugin
function tablink($attrib)
{
$rcmail = rcmail::get_instance();
+
$attrib['name'] = 'helplink' . $attrib['action'];
$attrib['href'] = $rcmail->url(array('_action' => $attrib['action'], '_extwin' => !empty($_REQUEST['_extwin']) ? 1 : null));
+
+ // title might be already translated here, so revert to it's initial value
+ // so button() will translate it correctly
+ $attrib['title'] = $attrib['label'];
+
return $rcmail->output->button($attrib);
}