phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phonelog index.php,1.10,1.11


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phonelog index.php,1.10,1.11
Date: Mon, 29 Apr 2002 21:06:37 -0400

Update of /cvsroot/phpgroupware/phonelog
In directory subversions:/tmp/cvs-serv16838

Modified Files:
        index.php 
Log Message:
Converting to get_var() for all HTTP_*_VARS.

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/phonelog/index.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** index.php   13 Nov 2001 03:51:36 -0000      1.10
--- index.php   30 Apr 2002 01:06:34 -0000      1.11
***************
*** 19,27 ****
  <?php
  // CHECK & INIT STUFF
!       $filter_callfor = 
(isset($GLOBALS['HTTP_POST_VARS']['filter_callfor'])?$GLOBALS['HTTP_POST_VARS']['filter_callfor']:$GLOBALS['phpgw']->accounts->name2id($GLOBALS['phpgw_info']['user']['userid']));
!       $filter_callstatus = 
(isset($GLOBALS['HTTP_POST_VARS']['filter_callstatus'])?intval($GLOBALS['HTTP_POST_VARS']['filter_callstatus']):1);
!       $orderby = 
(isset($GLOBALS['HTTP_POST_VARS']['orderby'])?$GLOBALS['HTTP_POST_VARS']['orderby']:'callstatus');
  
!       if(isset($GLOBALS['HTTP_POST_VARS']['orderway']) && 
$GLOBALS['HTTP_POST_VARS']['orderway']=='DESC')
        {
                $orderway='ASC';
--- 19,28 ----
  <?php
  // CHECK & INIT STUFF
!       $filter_callfor = 
get_var('filter_callfor',Array('DEFAULT','POST'),$GLOBALS['phpgw']->accounts->name2id($GLOBALS['phpgw_info']['user']['userid']));
!       $filter_callstatus = 
intval(get_var('filter_callstatus',Array('DEFAULT','POST'),1));
!       $orderby = get_var('orderby',Array('DEFAULT','POST'),'callstatus');
!       $orderway = get_var('orderway',Array('POST'));
  
!       if($orderway=='DESC')
        {
                $orderway='ASC';




reply via email to

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