diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-07-09 18:57:12 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-07-09 18:57:12 +0200 |
commit | 95a18fa549c9576b7035d27ef1712c5dfd01422d (patch) | |
tree | 6b9eca8e060c831398a4275f92273528fcae74bb /plugins/help/help.php | |
parent | e89d8f1fec3743e9ee1018d3bab1a375ab79cebf (diff) | |
parent | d8e10161098db2dcd03390bc7169cd88b31d4c60 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'plugins/help/help.php')
-rw-r--r-- | plugins/help/help.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/help/help.php b/plugins/help/help.php index ab665d0a8..37fd908a3 100644 --- a/plugins/help/help.php +++ b/plugins/help/help.php @@ -61,6 +61,7 @@ class help extends rcube_plugin // register UI objects $rcmail->output->add_handlers(array( 'helpcontent' => array($this, 'content'), + 'tablink' => array($this, 'tablink'), )); if ($rcmail->action == 'about') @@ -73,6 +74,14 @@ class help extends rcube_plugin $rcmail->output->send('help.help'); } + 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)); + return $rcmail->output->button($attrib); + } + function content($attrib) { $rcmail = rcmail::get_instance(); |