From eb8b31b9c41e9a346636db152500aa95e0f21cf9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 14 Jul 2001 13:08:47 +0000 Subject: [PATCH] $phpgw->common->phpgw_footer() only in app/index.php and /index.php not in the class.uiapp.inc.php --- infolog/inc/class.uiinfolog.inc.php | 7 ------- infolog/index.php | 10 ++++++---- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/infolog/inc/class.uiinfolog.inc.php b/infolog/inc/class.uiinfolog.inc.php index e4c30e6fd3..0533b58015 100644 --- a/infolog/inc/class.uiinfolog.inc.php +++ b/infolog/inc/class.uiinfolog.inc.php @@ -459,9 +459,6 @@ } $t->pfp('out','info_list_t',true); - - if (!$for_include) - $phpgw->common->phpgw_footer(); } function edit( ) { @@ -745,7 +742,6 @@ $phpgw->common->phpgw_header(); echo parse_navbar(); - $t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); $t->set_file(array( 'info_delete' => 'delete.tpl' )); $t->set_var( $this->setStyleSheet( )); $t->set_var( $this->infoHeaders( )); @@ -760,9 +756,6 @@ array('info_id' => $info_id,'confirm' => 'True')+ $this->menuaction('delete'))); $t->pfp('out','info_delete'); - - $phpgw->common->phpgw_footer(); - echo parse_navbar_end(); } } } diff --git a/infolog/index.php b/infolog/index.php index 297c292d5b..b106c3efdd 100644 --- a/infolog/index.php +++ b/infolog/index.php @@ -17,9 +17,11 @@ 'currentapp' => 'infolog', 'noheader' => True, 'nonavbar' => True - ); - include('../header.inc.php'); + ); + include('../header.inc.php'); - $obj = CreateObject('infolog.uiinfolog'); - $obj->get_list(); + $obj = CreateObject('infolog.uiinfolog'); + $obj->get_list(); + + $phpgw->common->phpgw_footer(); ?>