phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: tts/inc hook_home.inc.php,1.11,1.12


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

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

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

Index: hook_home.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/tts/inc/hook_home.inc.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** hook_home.inc.php   19 Aug 2002 12:42:06 -0000      1.11
--- hook_home.inc.php   26 Oct 2002 01:05:28 -0000      1.12
***************
*** 101,135 ****
                        $p->fp('rows','tts_row',true);
                }
!               
                $extra_data = '<td>'."\n".$p->fp('out','tts_list').'</td>'."\n";
-               
-               $portalbox = CreateObject('phpgwapi.listbox',
-                       array(
-                               'title'     => '<font color="#FFFFFF">' . 
lang('Trouble Ticket System') . '</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('tts');
                $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['phpgw']->template->set_var('phpgw_body', "\n".'<!-- 
Begin TTS New/Updated -->'."\n".$portalbox->draw($extra_data)."\n".'<!-- End 
TTS New/Updated -->'."\n",True);
        }
  ?>
--- 101,112 ----
                        $p->fp('rows','tts_row',true);
                }
! 
                $extra_data = '<td>'."\n".$p->fp('out','tts_list').'</td>'."\n";
  
                $app_id = $GLOBALS['phpgw']->applications->name2id('tts');
                $GLOBALS['portal_order'][] = $app_id;
!               $GLOBALS['phpgw']->portalbox->set_params(array('app_id' => 
$app_id,
!                                                                               
                                'title' => lang('tts')));
!               $GLOBALS['phpgw']->portalbox->draw($extra_data);
        }
  ?>





reply via email to

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