X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fmail_fetch%2Ffunctions.php;h=6d48541c722c8662adb786dd33da3166b3e67791;hb=e70f0d1b090fdb853dc47e634f003eb24972ee17;hp=507fa3879f78ccaffa56ccea2adec1a09fda9b7f;hpb=f54ec17df2bfba971e7e3cba9bdc46a501cf7d97;p=squirrelmail.git diff --git a/plugins/mail_fetch/functions.php b/plugins/mail_fetch/functions.php index 507fa387..6d48541c 100644 --- a/plugins/mail_fetch/functions.php +++ b/plugins/mail_fetch/functions.php @@ -24,6 +24,21 @@ include_once (SM_PATH . 'plugins/mail_fetch/class.mail_fetch.php'); /** declare plugin globals */ global $mail_fetch_allow_unsubscribed; +/** + * Add link to menu at top of content pane + * + * @return void + * + */ +function mail_fetch_link_do() { + + global $oTemplate, $nbsp; + $output = makeInternalLink('plugins/mail_fetch/fetch.php', _("Fetch"), '') + . $nbsp . $nbsp; + return array('menuline' => $output); + +} + /** * Controls use of unsubscribed folders in plugin * @global boolean $mail_fetch_allow_unsubscribed