[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: stocks/inc class.bo.inc.php,NONE,1.1 class.so.in
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: stocks/inc class.bo.inc.php,NONE,1.1 class.so.inc.php,NONE,1.1 class.ui.inc.php,NONE,1.1 hook_add_def_pref.inc.php,1.1,1.2 hook_home.inc.php,1.7,1.8 hook_preferences.inc.php,1.6,1.7 functions.inc.php,1.9,NONE |
Date: |
Sun, 20 Jan 2002 18:40:41 -0500 |
Update of /cvsroot/phpgroupware/stocks/inc
In directory subversions:/tmp/cvs-serv15912/inc
Modified Files:
hook_add_def_pref.inc.php hook_home.inc.php
hook_preferences.inc.php
Added Files:
class.bo.inc.php class.so.inc.php class.ui.inc.php
Removed Files:
functions.inc.php
Log Message:
moved stocks to ntier
***** Error reading new file: [Errno 2] No such file or directory:
'class.bo.inc.php'
***** Error reading new file: [Errno 2] No such file or directory:
'class.so.inc.php'
***** Error reading new file: [Errno 2] No such file or directory:
'class.ui.inc.php'
Index: hook_add_def_pref.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/hook_add_def_pref.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** hook_add_def_pref.inc.php 23 Jun 2001 00:48:08 -0000 1.1
--- hook_add_def_pref.inc.php 20 Jan 2002 23:40:39 -0000 1.2
***************
*** 12,16 ****
global $pref;
! $pref->change('stocks','disabled','True');
$pref->change('stocks','LNUX','VA%20Linux');
$pref->change('stocks','RHAT','RedHat');
--- 12,16 ----
global $pref;
! $pref->change('stocks','mainscreen','disabled');
$pref->change('stocks','LNUX','VA%20Linux');
$pref->change('stocks','RHAT','RedHat');
Index: hook_home.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/hook_home.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** hook_home.inc.php 23 Nov 2001 20:28:43 -0000 1.7
--- hook_home.inc.php 20 Jan 2002 23:40:39 -0000 1.8
***************
*** 21,25 ****
$tmp_app_inc = $GLOBALS['phpgw']->common->get_inc_dir('stocks');
! if ($GLOBALS['phpgw_info']['user']['apps']['stocks'] &&
$GLOBALS['phpgw_info']['user']['preferences']['stocks']['enabled'])
{
$title = '<font color="#FFFFFF">'.lang('Stocks').'</font>';
--- 21,25 ----
$tmp_app_inc = $GLOBALS['phpgw']->common->get_inc_dir('stocks');
! if ($GLOBALS['phpgw_info']['user']['apps']['stocks'] &&
$GLOBALS['phpgw_info']['user']['preferences']['stocks']['mainscreen']['enabled'])
{
$title = '<font color="#FFFFFF">'.lang('Stocks').'</font>';
***************
*** 52,59 ****
}
- include($tmp_app_inc . '/functions.inc.php');
$portalbox->data = Array();
! echo "\n".'<!-- BEGIN Stock Quotes info
-->'."\n".$portalbox->draw('<td>'."\n".return_quotes()."\n".'</td>')."\n".'<!--
END Stock Quotes info -->'."\n";
}
?>
--- 52,60 ----
}
$portalbox->data = Array();
+ $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";
}
?>
Index: hook_preferences.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/hook_preferences.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** hook_preferences.inc.php 23 Nov 2001 20:04:21 -0000 1.6
--- hook_preferences.inc.php 20 Jan 2002 23:40:39 -0000 1.7
***************
*** 9,24 ****
* option) any later version.
*
\**************************************************************************/
-
/* $Id$ */
! {
// Only Modify the $file and $title variables.....
! $title = 'Stock Quotes';
! $file = Array(
! 'Select displayed stocks' =>
$GLOBALS['phpgw']->link('/stocks/preferences.php')
! );
//Do not modify below this line
! display_section($appname,$title,$file);
! }
?>
--- 9,27 ----
* option) any later version.
*
\**************************************************************************/
/* $Id$ */
! {
// Only Modify the $file and $title variables.....
!
! $title = 'Stock Quotes';
! $file = Array
! (
! 'Select displayed stocks' =>
$GLOBALS['phpgw']->link('/index.php','menuaction=stocks.ui.preferences')
! );
!
//Do not modify below this line
!
! display_section($appname,$title,$file);
! }
?>
--- functions.inc.php DELETED ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: stocks/inc class.bo.inc.php,NONE,1.1 class.so.inc.php,NONE,1.1 class.ui.inc.php,NONE,1.1 hook_add_def_pref.inc.php,1.1,1.2 hook_home.inc.php,1.7,1.8 hook_preferences.inc.php,1.6,1.7 functions.inc.php,1.9,NONE,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: stocks index.php,1.8,1.9 preferences.php,1.23,NONE
- Next by Date:
[Phpgroupware-cvs] CVS: email/templates/default filters.tpl,1.3,1.4 filters_blocks.tpl,1.1,1.2
- Previous by thread:
[Phpgroupware-cvs] CVS: stocks index.php,1.8,1.9 preferences.php,1.23,NONE
- Next by thread:
[Phpgroupware-cvs] CVS: email/templates/default filters.tpl,1.3,1.4 filters_blocks.tpl,1.1,1.2
- Index(es):