phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: tts index.php,1.43,1.44


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: tts index.php,1.43,1.44
Date: Mon, 18 Feb 2002 08:43:48 -0500

Update of /cvsroot/phpgroupware/tts
In directory subversions:/tmp/cvs-serv23441/tts

Modified Files:
        index.php 
Log Message:
 A few GLOBALS beign fixed.

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/tts/index.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** index.php   4 Jan 2002 04:25:39 -0000       1.43
--- index.php   18 Feb 2002 13:43:46 -0000      1.44
***************
*** 25,29 ****
        include('../header.inc.php');
  
!       $phpgw->historylog = createobject('phpgwapi.historylog','tts');
  
        $GLOBALS['phpgw']->template->set_file('index','index.tpl');
--- 25,29 ----
        include('../header.inc.php');
  
!       $GLOBALS['phpgw']->historylog = 
createobject('phpgwapi.historylog','tts');
  
        $GLOBALS['phpgw']->template->set_file('index','index.tpl');
***************
*** 178,183 ****
                        }
  
!                       $db2->query("select count(*) from phpgw_tts_views where 
view_id='" . $phpgw->db->f('ticket_id')
!                               . "' and view_account_id='" . 
$phpgw_info['user']['account_id'] . "'",__LINE__,__FILE__);
                        $db2->next_record();
  
--- 178,183 ----
                        }
  
!                       $db2->query("select count(*) from phpgw_tts_views where 
view_id='" . $GLOBALS['phpgw']->db->f('ticket_id')
!                               . "' and view_account_id='" . 
$GLOBALS['phpgw_info']['user']['account_id'] . "'",__LINE__,__FILE__);
                        $db2->next_record();
  
***************
*** 212,220 ****
                        
$GLOBALS['phpgw']->template->set_var('row_category',$cat_name);
  
!                       
$GLOBALS['phpgw']->template->set_var('tts_t_assignedto', 
$GLOBALS['phpgw']->db->f('ticket_assignedto')?$phpgw->accounts->id2name($GLOBALS['phpgw']->db->f('ticket_assignedto')):lang('None'));
!                       
$GLOBALS['phpgw']->template->set_var('tts_t_user',$phpgw->accounts->id2name($GLOBALS['phpgw']->db->f('ticket_owner')));
  
!                       $history_values = 
$phpgw->historylog->return_array(array(),array('O'),'','',$phpgw->db->f('ticket_id'));
!                       
$GLOBALS['phpgw']->template->set_var('tts_t_timestampopened',$phpgw->common->show_date($history_values[0]['datetime']));
  
                        if ($GLOBALS['phpgw']->db->f('ticket_status') == 'C')
--- 212,220 ----
                        
$GLOBALS['phpgw']->template->set_var('row_category',$cat_name);
  
!                       
$GLOBALS['phpgw']->template->set_var('tts_t_assignedto', 
$GLOBALS['phpgw']->db->f('ticket_assignedto')?$GLOBALS['phpgw']->accounts->id2name($GLOBALS['phpgw']->db->f('ticket_assignedto')):lang('None'));
!                       
$GLOBALS['phpgw']->template->set_var('tts_t_user',$GLOBALS['phpgw']->accounts->id2name($GLOBALS['phpgw']->db->f('ticket_owner')));
  
!                       $history_values = 
$GLOBALS['phpgw']->historylog->return_array(array(),array('O'),'','',$GLOBALS['phpgw']->db->f('ticket_id'));
!                       
$GLOBALS['phpgw']->template->set_var('tts_t_timestampopened',$GLOBALS['phpgw']->common->show_date($history_values[0]['datetime']));
  
                        if ($GLOBALS['phpgw']->db->f('ticket_status') == 'C')




reply via email to

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