* a button to show the bug report mail message in order to actually
* send it.
*
- * @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
/** load plugin functions */
require_once(SM_PATH . 'plugins/bug_report/functions.php');
-displayPageHeader($color, 'None');
+displayPageHeader($color);
/** is bug_report plugin disabled or called by wrong user */
if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) {
- error_box(_("Plugin is disabled."),$color);
- echo "\n</body></html>\n";
+ error_box(_("Plugin is disabled."));
+ $oTemplate->display('footer.tpl');
exit();
}
echo '<ul>';
echo '<li>';
-printf(_("Make sure that you are running the most recent copy of %s. You are currently using version %s."), '<a href="http://www.squirrelmail.org/" target="_blank">SquirrelMail</a>', $version);
+printf(_("Make sure that you are running the most recent copy of %s. You are currently using version %s."), '<a href="http://squirrelmail.org/" target="_blank">SquirrelMail</a>', $version);
echo "</li>\n";
echo '<li>';
</form>
<br />
</body>
-</html>
\ No newline at end of file
+</html>