*
* Fetch code.
*
- * @copyright © 1999-2007 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
include_once(SM_PATH . 'functions/imap_general.php');
include_once(SM_PATH . 'plugins/mail_fetch/functions.php' );
+// don't load this page if this plugin is not enabled
+//
+global $plugins;
+if (!in_array('mail_fetch', $plugins)) exit;
+
/* globals */
sqgetGlobalVar('delimiter', $delimiter, SQ_SESSION);
/* end globals */
}
if ($mailfetch_lmos == 'on') {
- Mail_Fetch_Status(_("Leaving mail on server..."));
+ Mail_Fetch_Status(_("Leaving messages on server..."));
} else {
Mail_Fetch_Status(_("Deleting messages from server..."));
}
}
$oTemplate->display('footer.tpl');
-