[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: stocks/inc hook_home.inc.php,1.11,1.12
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: stocks/inc hook_home.inc.php,1.11,1.12 |
Date: |
Thu, 03 Oct 2002 17:37:37 -0400 |
Update of /cvsroot/phpgroupware/stocks/inc
In directory subversions:/tmp/cvs-serv14274
Modified Files:
hook_home.inc.php
Log Message:
update to use xslt
Index: hook_home.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/hook_home.inc.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** hook_home.inc.php 3 Oct 2002 00:23:46 -0000 1.11
--- hook_home.inc.php 3 Oct 2002 21:37:35 -0000 1.12
***************
*** 21,25 ****
if ($GLOBALS['phpgw_info']['user']['apps']['stocks'] &&
$GLOBALS['phpgw_info']['user']['preferences']['stocks']['mainscreen']['enabled'])
{
! $title = '<font color="#FFFFFF">'.lang('Stocks').'</font>';
$portalbox = CreateObject('phpgwapi.listbox',
--- 21,25 ----
if ($GLOBALS['phpgw_info']['user']['apps']['stocks'] &&
$GLOBALS['phpgw_info']['user']['preferences']['stocks']['mainscreen']['enabled'])
{
! $title = lang('Stocks');
$portalbox = CreateObject('phpgwapi.listbox',
***************
*** 52,57 ****
$stocks = CreateObject('stocks.ui');
! echo "\n" . '<!-- BEGIN Stock Quotes info -->' . "\n" .
$portalbox->draw('<td>' . "\n" . $stocks->return_quotes() . "\n" . '</td>') .
"\n"
! . '<!-- END Stock Quotes info -->' .
"\n";
}
flush();
--- 52,59 ----
$stocks = CreateObject('stocks.ui');
!
$GLOBALS['phpgw']->template->set_var('phpgw_body',$portalbox->draw($stocks->return_quotes()),True);
!
! /*echo "\n" . '<!-- BEGIN Stock Quotes info -->' . "\n" .
$portalbox->draw('<td>' . "\n" . $stocks->return_quotes() . "\n" . '</td>') .
"\n"
! . '<!-- END Stock Quotes info -->' .
"\n";*/
}
flush();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: stocks/inc hook_home.inc.php,1.11,1.12,
Bettina Gille <address@hidden> <=