phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: stocks/inc class.so.inc.php,1.2,1.3 class.ui.inc


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: stocks/inc class.so.inc.php,1.2,1.3 class.ui.inc.php,1.2,1.3
Date: Sun, 20 Jan 2002 19:38:31 -0500

Update of /cvsroot/phpgroupware/stocks/inc
In directory subversions:/tmp/cvs-serv21851/inc

Modified Files:
        class.so.inc.php class.ui.inc.php 
Log Message:
moved stocks to ntier

Index: class.so.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/class.so.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.so.inc.php    21 Jan 2002 00:19:02 -0000      1.2
--- class.so.inc.php    21 Jan 2002 00:38:28 -0000      1.3
***************
*** 84,88 ****
                {
                        $this->db->query("UPDATE phpgw_stocks set stock_name='" 
. $values['name'] . "', stock_symbol='" . $values['symbol']
!                                                       . " where stock_id='" . 
$values['id'] . "'",__LINE__,__FILE__);
                }
        }
--- 84,88 ----
                {
                        $this->db->query("UPDATE phpgw_stocks set stock_name='" 
. $values['name'] . "', stock_symbol='" . $values['symbol']
!                                                       . "' where stock_id='" 
. $values['id'] . "'",__LINE__,__FILE__);
                }
        }

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/class.ui.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.ui.inc.php    21 Jan 2002 00:19:02 -0000      1.2
--- class.ui.inc.php    21 Jan 2002 00:38:28 -0000      1.3
***************
*** 224,230 ****
                        $submit         = $GLOBALS['HTTP_POST_VARS']['submit'];
                        $values         = $GLOBALS['HTTP_POST_VARS']['values'];
!                       $stock_id       = 
$GLOBALS['HTTP_POST_VARS']['stock_id'];
  
!                       if ($stock_id)
                        {
                                Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php','menuaction=stocks.ui.preferences'));
--- 224,230 ----
                        $submit         = $GLOBALS['HTTP_POST_VARS']['submit'];
                        $values         = $GLOBALS['HTTP_POST_VARS']['values'];
!                       $stock_id       = $GLOBALS['HTTP_GET_VARS']['stock_id'];
  
!                       if (! $stock_id)
                        {
                                Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php','menuaction=stocks.ui.preferences'));
***************
*** 252,256 ****
                        $this->t->set_var('lang_action',lang('Stock Quote 
preferences'));
  
!                       $this->t->set_var('hidden_vars','<input type="hidden" 
name="stock_is" value="' . $stock_id . '">' . "\n");
                        $this->t->set_var('h_lang_edit',lang('Edit stock'));
  
--- 252,256 ----
                        $this->t->set_var('lang_action',lang('Stock Quote 
preferences'));
  
!                       $this->t->set_var('hidden_vars','<input type="hidden" 
name="stock_id" value="' . $stock_id . '">' . "\n");
                        $this->t->set_var('h_lang_edit',lang('Edit stock'));
  




reply via email to

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