/**
* Bug Report plugin - setup script
*
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright © 1999-2007 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
function squirrelmail_plugin_init_bug_report() {
global $squirrelmail_plugin_hooks;
- $squirrelmail_plugin_hooks['menuline']['bug_report'] = 'bug_report_button';
+ $squirrelmail_plugin_hooks['template_construct_page_header.tpl']['bug_report'] = 'bug_report_button';
$squirrelmail_plugin_hooks['loading_prefs']['bug_report'] = 'bug_report_load';
$squirrelmail_plugin_hooks['optpage_loadhook_display']['bug_report'] = 'bug_report_block';
}
return;
}
- displayInternalLink('plugins/bug_report/bug_report.php', _("Bug"), '');
- echo " \n";
+ global $oTemplate, $nbsp;
+ $output = makeInternalLink('plugins/bug_report/bug_report.php', _("Bug"), '')
+ . $nbsp . $nbsp;
+ return array('menuline' => $output);
}
/**