|
@@ -693,7 +693,13 @@ function formatMenubar($mailbox, $passed_id, $passed_ent_id, $message, $mbx_resp
|
|
$menu_row .= '</td></tr>';
|
|
$menu_row .= '</td></tr>';
|
|
|
|
|
|
// echo rows, with hooks
|
|
// echo rows, with hooks
|
|
- do_hook('read_body_menu_top');
|
|
|
|
|
|
+ $ret = do_hook_function('read_body_menu_top', array($nav_row, $menu_row));
|
|
|
|
+ if (!empty($ret[0])) {
|
|
|
|
+ $nav_row = $ret[0];
|
|
|
|
+ }
|
|
|
|
+ if (!empty($ret[1])) {
|
|
|
|
+ $menu_row = $ret[1];
|
|
|
|
+ }
|
|
echo '<table width="100%" cellpadding="3" cellspacing="0" align="center" border="0">';
|
|
echo '<table width="100%" cellpadding="3" cellspacing="0" align="center" border="0">';
|
|
echo $nav_on_top ? $nav_row . $menu_row : $menu_row . $nav_row;
|
|
echo $nav_on_top ? $nav_row . $menu_row : $menu_row . $nav_row;
|
|
echo '</table>'."\n";
|
|
echo '</table>'."\n";
|