projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing hooks from template one by one...
[squirrelmail.git]
/
templates
/
default
/
message_list.tpl
diff --git
a/templates/default/message_list.tpl
b/templates/default/message_list.tpl
index 6040788559f3e3bcf06594dbfa1f3e4e7bf646ab..73e6345ab93547a9b363d662ea1bcac46d39f468 100644
(file)
--- a/
templates/default/message_list.tpl
+++ b/
templates/default/message_list.tpl
@@
-68,14
+68,12
@@
*/
/** 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)"