Removing hooks from template one by one...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 31 Dec 2006 06:29:37 +0000 (06:29 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 31 Dec 2006 06:29:37 +0000 (06:29 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12036 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/message_list.tpl

index 6040788..73e6345 100644 (file)
  */
 
 /** add required includes */
  */
 
 /** add required includes */
-include_once(SM_PATH . 'templates/util_message_list.php');
+include_once(SM_PATH . 'functions/template/message_list_util.php');
 
 /* retrieve the template vars */
 extract($t);
 
 
 /* retrieve the template vars */
 extract($t);
 
-//FIXME: no hooks in templates!
-global $null;
-do_hook('mailbox_index_before', $null);
+if (!empty($plugin_output['mailbox_index_before'])) echo $plugin_output['mailbox_index_before'];
 
 /**
  * Calculate string "Viewing message x to y (z total)"
 
 /**
  * Calculate string "Viewing message x to y (z total)"