Aleksander Machniak
2015-02-16 af6e4741416ad35b180430db10f54a277c40faa0
Fix regression where Help toolbar buttons have had incorrect title
1 files modified
6 ■■■■■ changed files
plugins/help/help.php 6 ●●●●● patch | view | raw | blame | history
plugins/help/help.php
@@ -82,8 +82,14 @@
    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);
    }