phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/inc class.boprojects.inc.php, 1.42.2.5.2.37,


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] projects/inc class.boprojects.inc.php, 1.42.2.5.2.37, 1.42.2.5.2.38
Date: Wed, 12 Nov 2003 14:34:39 +0000

Update of /cvsroot/phpgroupware/projects/inc
In directory subversions:/tmp/cvs-serv6761

Modified Files:
      Tag: Version-0_9_16-branch
        class.boprojects.inc.php 
Log Message:
fix sessiondata

Index: class.boprojects.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.boprojects.inc.php,v
retrieving revision 1.42.2.5.2.37
retrieving revision 1.42.2.5.2.38
diff -C2 -d -r1.42.2.5.2.37 -r1.42.2.5.2.38
*** class.boprojects.inc.php    23 Oct 2003 11:16:34 -0000      1.42.2.5.2.37
--- class.boprojects.inc.php    12 Nov 2003 14:34:37 -0000      1.42.2.5.2.38
***************
*** 76,79 ****
--- 76,80 ----
                        $this->contacts                 = 
CreateObject('phpgwapi.contacts');
                        $this->cats                             = 
CreateObject('phpgwapi.categories');
+                       $this->debug                    = False;
  
                        if ($session)
***************
*** 83,112 ****
                        }
  
!                       $start  = get_var('start',array('POST','GET'));
!                       $query  = get_var('query',array('POST','GET'));
!                       $sort   = get_var('sort',array('POST','GET'));
!                       $order  = get_var('order',array('POST','GET'));
!                       $cat_id = get_var('cat_id',array('POST','GET'));
!                       $filter = get_var('filter',array('POST','GET'));
!                       $status = get_var('status',array('POST','GET'));
  
!                       if(!empty($start) || ($start == '0') || ($start == 0))
                        {
!                               if($this->debug) { echo '<br>overriding $start: 
"' . $this->start . '" now "' . $start . '"'; }
!                               $this->start = $start;
                        }
  
!                       if(isset($query)) { $this->query = $query; }
!                       if(!empty($filter)) { $this->filter = $filter; }
!                       if(isset($sort)) { $this->sort = $sort; }
!                       if(isset($order)) { $this->order = $order; }
!                       if(isset($status)) { $this->status = $status; }
!                       if(isset($cat_id) && !empty($cat_id))
                        {
!                               $this->cat_id = $cat_id;
                        }
!                       if($cat_id == '0' || $cat_id == 0 || $cat_id == 'none' 
|| $cat_id == '')
                        {
!                               unset($this->cat_id);
                        }
                        $this->limit = True;
--- 84,138 ----
                        }
  
!                       $_start = get_var('start',array('POST','GET'));
!                       $_query = get_var('query',array('POST','GET'));
!                       $_sort  = get_var('sort',array('POST','GET'));
!                       $_order = get_var('order',array('POST','GET'));
!                       $_cat_id        = get_var('cat_id',array('POST','GET'));
!                       $_filter        = get_var('filter',array('POST','GET'));
!                       $_status        = get_var('status',array('POST','GET'));
  
!                       if(!empty($_start) || ($_start == '0') || ($_start == 
0))
                        {
!                               if($this->debug) { echo '<br>overriding $start: 
"' . $this->start . '" now "' . $_start . '"'; }
!                               $this->start = $_start;
                        }
  
!                       if((empty($_query) && !empty($this->query)) || 
!empty($_query))
                        {
!                               $this->query  = $_query;
                        }
! 
!                       if(isset($_status) && !empty($_status))
                        {
!                               $this->status = $_status;
!                       }
! 
!                       if(isset($_cat_id) && !empty($_cat_id))
!                       {
!                               $this->cat_id = $_cat_id;
!                       }
! 
!                       if(isset($_sort) && !empty($_sort))
!                       {
!                               if($this->debug)
!                               {
!                                       echo '<br>overriding $sort: "' . 
$this->sort . '" now "' . $_sort . '"';
!                               }
!                               $this->sort   = $_sort;
!                       }
! 
!                       if(isset($_order) && !empty($_order))
!                       {
!                               if($this->debug)
!                               {
!                                       echo '<br>overriding $order: "' . 
$this->order . '" now "' . $_order . '"';
!                               }
!                               $this->order  = $_order;
!                       }
! 
!                       if(isset($_filter) && !empty($_filter))
!                       {
!                               if($this->debug) { echo '<br>overriding 
$filter: "' . $this->filter . '" now "' . $_filter . '"'; }
!                               $this->filter = $_filter;
                        }
                        $this->limit = True;





reply via email to

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