phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: infolog/inc hook_home.inc.php,1.5,1.6


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: infolog/inc hook_home.inc.php,1.5,1.6
Date: Fri, 25 Oct 2002 20:33:24 -0400

Update of /cvsroot/phpgroupware/infolog/inc
In directory subversions:/tmp/cvs-serv13511

Modified Files:
        hook_home.inc.php 
Log Message:
update xslt

Index: hook_home.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/hook_home.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** hook_home.inc.php   3 Oct 2002 21:38:11 -0000       1.5
--- hook_home.inc.php   26 Oct 2002 00:33:22 -0000      1.6
***************
*** 9,13 ****
        *  option) any later version.                                           
   *
        
\**************************************************************************/
- 
        /* $Id$ */
  
--- 9,12 ----
***************
*** 19,58 ****
                $GLOBALS['phpgw']->translation->add_app('infolog');
  
-               $portalbox = CreateObject('phpgwapi.listbox',
-                       Array(
-                               'title' => lang('Infolog'),
-                               'width' => '100%',
-                               'outerborderwidth'      => '0',
-                               'header_background_image'       => 
$GLOBALS['phpgw']->common->image('phpgwapi/templates/default','bg_filler')
-                       )
-               );
- 
                $app_id = $GLOBALS['phpgw']->applications->name2id('infolog');
                $GLOBALS['portal_order'][] = $app_id;
-               $var = Array(
-                       'up'    => Array('url'  => '/set_box.php', 'app'        
=> $app_id),
-                       'down'  => Array('url'  => '/set_box.php', 'app'        
=> $app_id),
-                       'close' => Array('url'  => '/set_box.php', 'app'        
=> $app_id),
-                       'question'      => Array('url'  => '/set_box.php', 
'app'        => $app_id),
-                       'edit'  => Array('url'  => '/set_box.php', 'app'        
=> $app_id)
-               );
- 
-               while(list($key,$value) = each($var))
-               {
-                       $portalbox->set_controls($key,$value);
-               }
  
!               $portalbox->data = Array();
  
                $GLOBALS['HTTP_POST_VARS']['filter'] = $GLOBALS['filter'] = 
'own-open-today';
                $infolog = CreateObject('infolog.uiinfolog');
  
!               /*echo "\n".'<!-- BEGIN infolog info -->'."\n".
!                    $portalbox->draw($infolog->get_list(2))."\n".
!                         '<!-- END infolog info -->'."\n";
*/
  
-               
$GLOBALS['phpgw']->template->set_var('phpgw_body',$portalbox->draw(),True);
- 
                unset($infolog);
                $GLOBALS['phpgw_info']['flags']['currentapp'] = $save_app;
        }
--- 18,34 ----
                $GLOBALS['phpgw']->translation->add_app('infolog');
  
                $app_id = $GLOBALS['phpgw']->applications->name2id('infolog');
                $GLOBALS['portal_order'][] = $app_id;
  
!               $GLOBALS['phpgw']->portalbox->set_params(array('app_id' => 
$app_id,
!                                                                               
                                'title' => lang('infolog')));
  
                $GLOBALS['HTTP_POST_VARS']['filter'] = $GLOBALS['filter'] = 
'own-open-today';
                $infolog = CreateObject('infolog.uiinfolog');
  
!               $GLOBALS['phpgw']->portalbox->draw($infolog->get_list(2));
  
                unset($infolog);
                $GLOBALS['phpgw_info']['flags']['currentapp'] = $save_app;
        }
+ ?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]