* This is where it all happens :)
*
* @author Jason Munro <jason at stdbev.com>
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright © 1999-2009 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
global $username, $color, $folder_prefix, $default_charset;
$default_charset = strtoupper($default_charset);
-displayPageHeader($color, 'None');
+displayPageHeader($color);
$mailbox = 'INBOX';
/**
* prevent use of plugin if it is not enabled
*/
if (! is_plugin_enabled('info')) {
- error_box(_("Plugin is disabled."),$color);
- echo '</body></html>';
+ error_box(_("Plugin is disabled."));
+ // display footer (closes html) and stop script execution
+ $oTemplate->display('footer.tpl');
exit;
}
/* GLOBALS */
-sqgetGlobalVar('username', $username, SQ_SESSION);
-
sqgetGlobalVar('submit', $submit, SQ_POST);
for($i = 0; $i <= 9; $i++){
*
* Hook allows attaching plugin to bottom of info plugin
*/
-do_hook('info_bottom');
+do_hook('info_bottom', $null);
?>
-</body></html>
\ No newline at end of file
+</body></html>