Moving hook_after_navbar hook

This commit is contained in:
Miles Lott 2001-06-16 19:39:33 +00:00
parent e1a68b0862
commit e04d9617ed
5 changed files with 12 additions and 6 deletions

View File

@ -887,7 +887,6 @@
!$phpgw_info['flags']['navbar_target'])) !$phpgw_info['flags']['navbar_target']))
{ {
echo parse_navbar(); echo parse_navbar();
$this->hook('after_navbar');
} }
} }

View File

@ -98,7 +98,9 @@
{ {
} }
return $tpl->fp("out","navbar"); $tpl->pfp('out','navbar');
$phpgw->common->hook('after_navbar');
return;
} }
function parse_navbar_end() function parse_navbar_end()

View File

@ -134,7 +134,9 @@
{ {
} }
return $tpl->fp('out','navbar'); $tpl->pfp('out','navbar');
$phpgw->common->hook('after_navbar');
return;
} }
function parse_navbar_end() function parse_navbar_end()

View File

@ -93,7 +93,9 @@
if ($phpgw_info["flags"]["noheader"] && ! $phpgw_info["flags"]["noappheader"]) { if ($phpgw_info["flags"]["noheader"] && ! $phpgw_info["flags"]["noappheader"]) {
} }
return $tpl->finish($tpl->parse("out","navbar")); $tpl->pfp('out','navbar');
$phpgw->common->hook('after_navbar');
return;
} }
function parse_navbar_end() function parse_navbar_end()

View File

@ -118,8 +118,9 @@
{ {
$tpl->set_var('messages',$api_messages . '<br>' . checkcode($cd)); $tpl->set_var('messages',$api_messages . '<br>' . checkcode($cd));
} }
$tpl->pfp('out','navbar');
return $tpl->pfp('out','navbar'); $phpgw->common->hook('after_navbar');
return;
} }
function parse_navbar_end() function parse_navbar_end()