phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: felamimail/inc hook_home.inc.php,1.6,1.7


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

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

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

Index: hook_home.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/felamimail/inc/hook_home.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** hook_home.inc.php   13 Apr 2002 04:22:28 -0000      1.6
--- hook_home.inc.php   26 Oct 2002 01:05:28 -0000      1.7
***************
*** 47,82 ****
                else
                {
!                       $title = '<font 
color="#FFFFFF">'.lang('E-Mail').'</font>';
!               
!                       $portalbox = CreateObject('phpgwapi.listbox',
!                               Array(
!                                       'title' => $title,
!                                       '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.gif')
!                               )
!                       );
! 
!                       $app_id = 
$GLOBALS['phpgw']->applications->name2id('calendar');
                        $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();
! 
!               
                        /*  // this is the structure you will get
                          $inbox_data['is_imap'] boolean - pop3 server do not 
know what is "new" or not
--- 47,54 ----
                else
                {
!                       $app_id = 
$GLOBALS['phpgw']->applications->name2id('felamimail');
                        $GLOBALS['portal_order'][] = $app_id;
!                       $GLOBALS['phpgw']->portalbox->set_params(array('app_id' 
=> $app_id,
!                                                                               
                                'title' => lang('felamimail')));                
                        /*  // this is the structure you will get
                          $inbox_data['is_imap'] boolean - pop3 server do not 
know what is "new" or not
***************
*** 151,161 ****
                        if($data)
                        {
!                               $portalbox->data = $data;
                        }
! 
!                       // output the portalbox and below it (1) the folders 
listbox (if applicable) and (2) Compose New mail link
!                       echo "\r\n".'<!-- start Mailbox info -->'."\r\n"
!                               .$portalbox->draw($extra_data)
!                               .'<!-- ends Mailox info -->'."\r\n";
                }
        }
--- 123,129 ----
                        if($data)
                        {
!                               $GLOBALS['phpgw']->portalbox->data = $data;
                        }
!                       $GLOBALS['phpgw']->portalbox->draw($extra_data);
                }
        }





reply via email to

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