[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71,1.72
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71,1.72 |
Date: |
Fri, 15 Mar 2002 22:01:42 -0500 |
Update of /cvsroot/phpgroupware/calendar/inc
In directory subversions:/tmp/cvs-serv4291/calendar/inc
Modified Files:
class.bocalendar.inc.php
Log Message:
This now uses the get_var() function.
Index: class.bocalendar.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/class.bocalendar.inc.php,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -r1.71 -r1.72
*** class.bocalendar.inc.php 12 Jan 2002 01:33:40 -0000 1.71
--- class.bocalendar.inc.php 16 Mar 2002 03:01:39 -0000 1.72
***************
*** 155,162 ****
echo '<!-- Owner : '.$this->owner.' -->'."\n";
}
!
! $owner =
(isset($GLOBALS['owner'])?$GLOBALS['owner']:'');
! $owner =
(isset($GLOBALS['HTTP_GET_VARS']['owner'])?$GLOBALS['HTTP_GET_VARS']['owner']:$owner);
! $owner = ($owner=='' &&
isset($GLOBALS['HTTP_POST_VARS']['owner'])?$GLOBALS['HTTP_POST_VARS']['owner']:$owner);
if(isset($owner) && $owner!='' && substr($owner,0,2) ==
'g_')
--- 155,160 ----
echo '<!-- Owner : '.$this->owner.' -->'."\n";
}
!
! $owner =
get_var('owner',Array('GLOBAL','HTTP_GET_VARS','HTTP_POST_VARS'));
if(isset($owner) && $owner!='' && substr($owner,0,2) ==
'g_')
***************
*** 191,219 ****
$this->holiday_color =
(substr($GLOBALS['phpgw_info']['theme']['bg07'],0,1)=='#'?'':'#').$GLOBALS['phpgw_info']['theme']['bg07'];
! $friendly =
(isset($GLOBALS['HTTP_GET_VARS']['friendly'])?$GLOBALS['HTTP_GET_VARS']['friendly']:'');
! $friendly = ($friendly=='' &&
isset($GLOBALS['HTTP_POST_VARS']['friendly'])?$GLOBALS['HTTP_POST_VARS']['friendly']:$friendly);
!
! $this->printer_friendly = (intval($friendly) ==
1?True:False);
! if(isset($GLOBALS['HTTP_POST_VARS']['filter'])) {
$this->filter = $GLOBALS['HTTP_POST_VARS']['filter']; }
! if(isset($GLOBALS['HTTP_POST_VARS']['cat_id'])) {
$this->cat_id = $GLOBALS['HTTP_POST_VARS']['cat_id']; }
!
! if(!isset($this->filter))
! {
! $this->filter = '
'.$this->prefs['calendar']['defaultfilter'].' ';
! }
!
! $date = (isset($GLOBALS['date'])?$GLOBALS['date']:'');
! $date =
(isset($GLOBALS['HTTP_GET_VARS']['date'])?$GLOBALS['HTTP_GET_VARS']['date']:$date);
! $date = ($date=='' &&
isset($GLOBALS['HTTP_POST_VARS']['date'])?$GLOBALS['HTTP_POST_VARS']['date']:$date);
!
! $year =
(isset($GLOBALS['HTTP_GET_VARS']['year'])?$GLOBALS['HTTP_GET_VARS']['year']:'');
! $year = ($year=='' &&
isset($GLOBALS['HTTP_POST_VARS']['year'])?$GLOBALS['HTTP_POST_VARS']['year']:$year);
!
! $month =
(isset($GLOBALS['HTTP_GET_VARS']['month'])?$GLOBALS['HTTP_GET_VARS']['month']:'');
! $month = ($month=='' &&
isset($GLOBALS['HTTP_POST_VARS']['month'])?$GLOBALS['HTTP_POST_VARS']['month']:$month);
! $day =
(isset($GLOBALS['HTTP_GET_VARS']['day'])?$GLOBALS['HTTP_GET_VARS']['day']:'');
! $day = ($day=='' &&
isset($GLOBALS['HTTP_POST_VARS']['day'])?$GLOBALS['HTTP_POST_VARS']['day']:'');
if(isset($date) && $date!='')
--- 189,201 ----
$this->holiday_color =
(substr($GLOBALS['phpgw_info']['theme']['bg07'],0,1)=='#'?'':'#').$GLOBALS['phpgw_info']['theme']['bg07'];
! $this->printer_friendly =
(intval(get_var('friendly',Array('HTTP_GET_VARS','HTTP_POST_VARS','DEFAULT'),0))
== 1?True:False);
! $this->filter =
get_var('filter',Array('HTTP_POST_VARS','DEFAULT'),'
'.$this->prefs['calendar']['defaultfilter'].' ');
! $this->cat_id =
get_var('cat_id',Array('HTTP_POST_VARS'));
! $date =
get_var('date',Array('HTTP_GET_VARS','HTTP_POST_VARS'));
! $year =
get_var('year',Array('HTTP_GET_VARS','HTTP_POST_VARS'));
! $month =
get_var('month',Array('HTTP_GET_VARS','HTTP_POST_VARS'));
! $day =
get_var('day',Array('HTTP_GET_VARS','HTTP_POST_VARS'));
if(isset($date) && $date!='')
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71,1.72,
Mark A Peters <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc php3_support_functions.inc.php,1.14,1.15
- Next by Date:
[Phpgroupware-cvs] CVS: manual/templates/default/images tree_collapse.gif,1.1,NONE tree_collapse.png,1.1,NONE tree_end.gif,1.1,NONE tree_end.png,1.1,NONE tree_expand.gif,1.1,NONE tree_expand.png,1.1,NONE tree_leaf.gif,1.1,NONE tree_leaf.png,1.1,NONE tree_space.gif,1.1,NONE tree_space.png,1.1,NONE tree_split.gif,1.1,NONE tree_split.png,1.1,NONE tree_vertline.gif,1.1,NONE tree_vertline.png,1.1,NONE
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc php3_support_functions.inc.php,1.14,1.15
- Next by thread:
[Phpgroupware-cvs] CVS: manual/templates/default/images tree_collapse.gif,1.1,NONE tree_collapse.png,1.1,NONE tree_end.gif,1.1,NONE tree_end.png,1.1,NONE tree_expand.gif,1.1,NONE tree_expand.png,1.1,NONE tree_leaf.gif,1.1,NONE tree_leaf.png,1.1,NONE tree_space.gif,1.1,NONE tree_space.png,1.1,NONE tree_split.gif,1.1,NONE tree_split.png,1.1,NONE tree_vertline.gif,1.1,NONE tree_vertline.png,1.1,NONE
- Index(es):