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.9,1.10 class.ui.in


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: stocks/inc class.bo.inc.php,1.9,1.10 class.ui.inc.php,1.8,1.9
Date: Mon, 04 Feb 2002 18:38:47 -0500

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

Modified Files:
        class.bo.inc.php class.ui.inc.php 
Log Message:
submitted patch

Index: class.bo.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/class.bo.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** class.bo.inc.php    4 Feb 2002 22:47:24 -0000       1.9
--- class.bo.inc.php    4 Feb 2002 23:38:45 -0000       1.10
***************
*** 113,117 ****
                        }
  
!                       $regexp_stocks = '/(' . implode('|',$symbollist) . ')/';
  
                        $url = $this->get_url($this->country) . $symbolstr;
--- 113,124 ----
                        }
  
!                       if ($this->country == 'US')
!                       {
!                               $regexp_stocks = '/^\"(' . 
implode('|',$symbollist) . ')/';
!                       }
!                       else
!                       {
!                               $regexp_stocks = '/(' . 
implode('|',$symbollist) . ')/';
!                       }
  
                        $url = $this->get_url($this->country) . $symbolstr;

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/class.ui.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** class.ui.inc.php    25 Jan 2002 00:07:03 -0000      1.8
--- class.ui.inc.php    4 Feb 2002 23:38:45 -0000       1.9
***************
*** 139,145 ****
                }
  
!               function selected_country()
                {
!                       switch($this->country)
                        {
                                case 'US': $country_sel[0]=' selected'; break;
--- 139,150 ----
                }
  
!               function selected_country($country = '')
                {
!                       if (!$country)
!                       {
!                               $country = $this->country;
!                       }
! 
!                       switch($country)
                        {
                                case 'US': $country_sel[0]=' selected'; break;




reply via email to

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