phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: timetrack index.php,1.8.2.4,1.8.2.5


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: timetrack index.php,1.8.2.4,1.8.2.5
Date: Thu, 20 Mar 2003 00:13:53 -0500

Update of /cvsroot/phpgroupware/timetrack
In directory subversions:/tmp/cvs-serv2334

Modified Files:
      Tag: Version-0_9_14-branch
        index.php 
Log Message:
Fix for Bug #2418

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/timetrack/index.php,v
retrieving revision 1.8.2.4
retrieving revision 1.8.2.5
diff -C2 -r1.8.2.4 -r1.8.2.5
*** index.php   21 Nov 2002 02:22:48 -0000      1.8.2.4
--- index.php   20 Mar 2003 05:13:51 -0000      1.8.2.5
***************
*** 16,21 ****
  $GLOBALS['phpgw_info'] = array();
  $GLOBALS['phpgw_info']['flags'] = Array(
!       'currentapp'              => 'timetrack',
!       'enable_nextmatchs_class' => True
  );
  
--- 16,21 ----
  $GLOBALS['phpgw_info'] = array();
  $GLOBALS['phpgw_info']['flags'] = Array(
! 'currentapp'              => 'timetrack',
! 'enable_nextmatchs_class' => True
  );
  
***************
*** 26,35 ****
  if (!$GLOBALS['phpgw']->accounts->exists($n_group))
  {
!       echo '<center><br><br><b>Warning: Timetrack has detected that required 
post installation<br>'
!                       . "steps have not been performed yet. Please <a href=\""
!                       . $GLOBALS['phpgw']->link("/timetrack/admin5.php") . 
"\">"
!                       . lang("Click Here") . "</a> to complete installation.";
!       $GLOBALS['phpgw']->common->phpgw_footer();
!       $GLOBALS['phpgw']->common->phpgw_exit();
  
  }
--- 26,35 ----
  if (!$GLOBALS['phpgw']->accounts->exists($n_group))
  {
! echo '<center><br><br><b>Warning: Timetrack has detected that required post 
installation<br>'
!               . "steps have not been performed yet. Please <a href=\""
!               . $GLOBALS['phpgw']->link("/timetrack/admin5.php") . "\">"
!               . lang("Click Here") . "</a> to complete installation.";
! $GLOBALS['phpgw']->common->phpgw_footer();
! $GLOBALS['phpgw']->common->phpgw_exit();
  
  }
***************
*** 49,60 ****
  
  if ($submit) {
!       //echo "Status is: " . $status;
!       //echo " UID is: " . $uid;
!       $GLOBALS['phpgw']->db->query("UPDATE phpgw_ttrack_emplyprof SET 
inorout='$status' "
!               . "WHERE id=$uid");
  }
!       ?>
!        <center><h3><?php echo lang("Employee In/Out Board"); ?></h3></center>
!        <? /* Here I have to do my first query, to check the user's checkin 
status */
         $uid = $GLOBALS['phpgw_info']["user"]["account_id"];
         /* Now use the uid to reference the employee_stats.inorout field */
--- 49,61 ----
  
  if ($submit) {
! //echo "Status is: " . $status;
! //echo " UID is: " . $uid;
! $GLOBALS['phpgw']->db->query("UPDATE phpgw_ttrack_emplyprof SET 
inorout='$status' "
!       . "WHERE id=$uid");
  }
! ?>
!  <center><h3><?php echo lang("Employee In/Out Board"); ?></h3></center>
!        <?php
!        /* Here I have to do my first query, to check the user's checkin 
status */
         $uid = $GLOBALS['phpgw_info']["user"]["account_id"];
         /* Now use the uid to reference the employee_stats.inorout field */





reply via email to

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