From abe0f76684f6228950c6bb84533289bc1b11e61d Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 25 Jan 2004 21:39:54 +0000 Subject: [PATCH] Remove echo of alphabet - oops! --- addressbook/inc/class.uiaddressbook.inc.php | 5 ++++- addressbook/index.php | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.uiaddressbook.inc.php b/addressbook/inc/class.uiaddressbook.inc.php index 72d3ee06ac..74781e185d 100644 --- a/addressbook/inc/class.uiaddressbook.inc.php +++ b/addressbook/inc/class.uiaddressbook.inc.php @@ -244,6 +244,7 @@ $chars = 'a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z'; } $aar = explode(',', $chars); + unset($chars); $aar[] = 'all'; foreach($aar as $char) { @@ -273,6 +274,8 @@ $GLOBALS['phpgw']->template->set_var('char',$char != 'all' ? strtoupper($char) : lang('all')); $GLOBALS['phpgw']->template->fp('alphalinks','addressbook_alpha',True); } + unset($aar); + unset($char); $custom = $this->fields->read_custom_fields(); $customfields = array(); @@ -611,7 +614,7 @@ { $GLOBALS['phpgw']->template->fp('delete_button','delete_block'); } - $GLOBALS['phpgw']->template->pparse('out','addressbook_footer'); + $GLOBALS['phpgw']->template->pfp('out','addressbook_footer'); $this->save_sessiondata(); /* $GLOBALS['phpgw']->common->phpgw_footer(); */ } diff --git a/addressbook/index.php b/addressbook/index.php index bebe3bca7b..dad16b7bdc 100755 --- a/addressbook/index.php +++ b/addressbook/index.php @@ -22,7 +22,6 @@ $obj = CreateObject('addressbook.uiaddressbook'); $obj->index(); - echo lang('alphabet'); $GLOBALS['phpgw']->common->phpgw_footer(); ?>