Add class attribute to template
[squirrelmail.git] / plugins / newmail / setup.php
index 4039a56d67b088313555fad0725517b99a23a3d7..248ee317db6c1f1366280f452f12022b1e812f0b 100644 (file)
  * This was tested with IE5.0 - but I hear Netscape works well,
  * too (with a plugin).
  *
- * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @copyright © 1999-2006 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage newmail
  */
 
-/** @ignore */
-if (! defined('SM_PATH')) define('SM_PATH','../../');
 
 /**
  * Init newmail plugin
  */
 function squirrelmail_plugin_init_newmail() {
     global $squirrelmail_plugin_hooks;
+    $totalNewArr=array();
+    global $totalNewArr;
 
-    $squirrelmail_plugin_hooks['left_main_before']['newmail'] = 'newmail_plugin';
+    $squirrelmail_plugin_hooks['folder_status']['newmail'] = 'newmail_folder_status';
+    $squirrelmail_plugin_hooks['left_main_after']['newmail'] = 'newmail_plugin';
     $squirrelmail_plugin_hooks['optpage_register_block']['newmail'] = 'newmail_optpage_register_block';
     $squirrelmail_plugin_hooks['options_save']['newmail'] = 'newmail_sav';
     $squirrelmail_plugin_hooks['loading_prefs']['newmail'] = 'newmail_pref';
@@ -84,4 +85,3 @@ function newmail_plugin() {
     include_once(SM_PATH . 'plugins/newmail/functions.php');
     newmail_plugin_function();
 }
-?>
\ No newline at end of file