projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bring the left_main_after_each_folder hook to life
[squirrelmail.git]
/
templates
/
default_advanced
/
left_main.tpl
diff --git
a/templates/default_advanced/left_main.tpl
b/templates/default_advanced/left_main.tpl
index 2deb4aa9baa0503c7803bbd8fc1d3ed9639ebacb..47005eab964439477dbf4ab53bdbf4a2fd456201 100644
(file)
--- a/
templates/default_advanced/left_main.tpl
+++ b/
templates/default_advanced/left_main.tpl
@@
-195,6
+195,11
@@
function buildMailboxTree ($box, $settings, $icon_theme_path, $parent_node=-1) {
}
}
}
}
+ // Add any extra output that may have been added by plugins, etc
+ //
+ if (!empty($box['ExtraOutput']))
+ $end .= $box['ExtraOutput'];
+
$span = '';
$spanend = '';
if ($settings['useSpecialFolderColor'] && $box['IsSpecial']) {
$span = '';
$spanend = '';
if ($settings['useSpecialFolderColor'] && $box['IsSpecial']) {
@@
-205,11
+210,6
@@
function buildMailboxTree ($box, $settings, $icon_theme_path, $parent_node=-1) {
$spanend = '</span>';
}
$spanend = '</span>';
}
- /**
- * NOTE: Plugins would horribly break this advanced tree, so we are
- * going to skip that part altogether.
- */
-
$name = str_replace(
array(' ','<','>'),
array(' ','<','>'),
$name = str_replace(
array(' ','<','>'),
array(' ','<','>'),