phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: stocks/inc class.bo.inc.php,1.10,1.11 class.ui.i


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: stocks/inc class.bo.inc.php,1.10,1.11 class.ui.inc.php,1.9,1.10
Date: Sun, 28 Apr 2002 23:09:20 -0400

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

Modified Files:
        class.bo.inc.php class.ui.inc.php 
Log Message:
Converting to get_var() for all HTTP_*_VARS.

Index: class.bo.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/class.bo.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** class.bo.inc.php    4 Feb 2002 23:38:45 -0000       1.10
--- class.bo.inc.php    29 Apr 2002 03:09:18 -0000      1.11
***************
*** 37,41 ****
                        $this->read_sessiondata();
  
!                       $country = $GLOBALS['HTTP_POST_VARS']['country']  ? 
$GLOBALS['HTTP_POST_VARS']['country'] : $GLOBALS['HTTP_GET_VARS']['country'];
  
                        if (isset($country) && !empty($country))
--- 37,41 ----
                        $this->read_sessiondata();
  
!                       $country = get_var('country',Array('GET','POST'));
  
                        if (isset($country) && !empty($country))

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/class.ui.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** class.ui.inc.php    4 Feb 2002 23:38:45 -0000       1.9
--- class.ui.inc.php    29 Apr 2002 03:09:18 -0000      1.10
***************
*** 161,166 ****
                function index()
                {
-                       $country        = $GLOBALS['HTTP_GET_VARS']['country'];
- 
                        $this->display_app_header();
                        $this->t->set_file(array('quotes_list' => 'main.tpl'));
--- 161,164 ----
***************
*** 174,179 ****
                function list_stocks()
                {
!                       $action         = $GLOBALS['HTTP_GET_VARS']['action'] ? 
$GLOBALS['HTTP_GET_VARS']['action'] : $GLOBALS['HTTP_POST_VARS']['action'];
!                       $stock_id       = $GLOBALS['HTTP_GET_VARS']['stock_id'];
  
                        $link_data = array
--- 172,177 ----
                function list_stocks()
                {
!                       $action         = get_var('action',Array('POST','GET'));
!                       $stock_id       = get_var('stock_id',Array('GET'));
  
                        $link_data = array
***************
*** 240,244 ****
                function preferences()
                {
!                       $prefs = $GLOBALS['HTTP_POST_VARS']['prefs'];
  
                        $link_data = array
--- 238,242 ----
                function preferences()
                {
!                       $prefs = get_var('prefs',Array('POST'));
  
                        $link_data = array
***************
*** 278,283 ****
                function add_stock()
                {
!                       $submit         = $GLOBALS['HTTP_POST_VARS']['submit'];
!                       $values         = $GLOBALS['HTTP_POST_VARS']['values'];
  
                        if ($submit)
--- 276,281 ----
                function add_stock()
                {
!                       $submit         = get_vars('submit',Array('POST'));
!                       $values         = get_vars('values',Array('POST'));
  
                        if ($submit)
***************
*** 303,309 ****
                function edit_stock()
                {
!                       $submit         = $GLOBALS['HTTP_POST_VARS']['submit'];
!                       $values         = $GLOBALS['HTTP_POST_VARS']['values'];
!                       $stock_id       = $GLOBALS['HTTP_GET_VARS']['stock_id'];
  
                        $link_data = array
--- 301,307 ----
                function edit_stock()
                {
!                       $submit         = get_var('submit',Array('POST'));
!                       $values         = get_var('values',Array('POST'));
!                       $stock_id       = get_var('stock_id',Array('POST'));
  
                        $link_data = array




reply via email to

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