phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: todo/inc hook_home.inc.php,1.5,1.6
Date: Fri, 25 Oct 2002 21:05:30 -0400

Update of /cvsroot/phpgroupware/todo/inc
In directory subversions:/tmp/cvs-serv24197/todo/inc

Modified Files:
        hook_home.inc.php 
Log Message:
update hook about

Index: hook_home.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/inc/hook_home.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** hook_home.inc.php   28 Sep 2002 20:01:44 -0000      1.5
--- hook_home.inc.php   26 Oct 2002 01:05:28 -0000      1.6
***************
*** 1,13 ****
  <?php
!   /**************************************************************************\
!   * phpGroupWare - E-Mail                                                    *
!   * http://www.phpgroupware.org                                              *
!   * --------------------------------------------                             *
!   *  This program is free software; you can redistribute it and/or modify it *
!   *  under the terms of the GNU General Public License as published by the   *
!   *  Free Software Foundation; either version 2 of the License, or (at your  *
!   *  option) any later version.                                              *
!   \**************************************************************************/
! 
        /* $Id$ */
  
--- 1,12 ----
  <?php
!       
/**************************************************************************\
!       * phpGroupWare - E-Mail                                                 
   *
!       * http://www.phpgroupware.org                                           
   *
!       * --------------------------------------------                          
   *
!       *  This program is free software; you can redistribute it and/or modify 
it *
!       *  under the terms of the GNU General Public License as published by 
the   *
!       *  Free Software Foundation; either version 2 of the License, or (at 
your  *
!       *  option) any later version.                                           
   *
!       
\**************************************************************************/
        /* $Id$ */
  
***************
*** 30,63 ****
                $extra_data = 
'<td>'."\n".$todo->show_list_body(False).'</td>'."\n";
  
-               $portalbox = CreateObject('phpgwapi.listbox',
-                       Array(
-                               'title'     => '<font 
color="#FFFFFF">'.lang('todo').'</font>',
-                               'primary'   => 
$GLOBALS['phpgw_info']['theme']['navbar_bg'],
-                               'secondary' => 
$GLOBALS['phpgw_info']['theme']['navbar_bg'],
-                               'tertiary'  => 
$GLOBALS['phpgw_info']['theme']['navbar_bg'],
-                               'width'     => '100%',
-                               'outerborderwidth' => '0',
-                               'header_background_image' => 
$GLOBALS['phpgw']->common->image('phpgwapi/templates/phpgw_website','bg_filler')
-                       )
-               );
                $app_id = $GLOBALS['phpgw']->applications->name2id('todo');
                $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();
  
! //            echo "\n".'<!-- ToDo info 
-->'."\n".$portalbox->draw($extra_data).'<!-- ToDo info -->'."\n";
!               $GLOBALS['phpgw']->template->set_var('phpgw_body', "\n".'<!-- 
ToDo info -->'."\n".$portalbox->draw($extra_data).'<!-- ToDo info -->'."\n", 
True);
        }
  ?>
--- 29,38 ----
                $extra_data = 
'<td>'."\n".$todo->show_list_body(False).'</td>'."\n";
  
                $app_id = $GLOBALS['phpgw']->applications->name2id('todo');
                $GLOBALS['portal_order'][] = $app_id;
  
!               $GLOBALS['phpgw']->portalbox->set_params(array('app_id' => 
$app_id,
!                                                                               
                                'title' => lang('todo')));
!               $GLOBALS['phpgw']->portalbox->draw($extra_data);
        }
  ?>





reply via email to

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