phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: projects/inc class.uiprojects.inc.php,1.47.2.7.


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: projects/inc class.uiprojects.inc.php,1.47.2.7.2.11,1.47.2.7.2.12
Date: Wed, 11 Jun 2003 17:25:05 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        class.uiprojects.inc.php 
Log Message:
update

Index: class.uiprojects.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.uiprojects.inc.php,v
retrieving revision 1.47.2.7.2.11
retrieving revision 1.47.2.7.2.12
diff -C2 -r1.47.2.7.2.11 -r1.47.2.7.2.12
*** class.uiprojects.inc.php    7 Jun 2003 23:53:12 -0000       1.47.2.7.2.11
--- class.uiprojects.inc.php    11 Jun 2003 21:25:03 -0000      1.47.2.7.2.12
***************
*** 500,503 ****
--- 500,510 ----
                        }
  
+                       if($_POST['delete'])
+                       {
+                               $link_data['menuaction'] = 
'projects.uiprojects.delete_pa';
+                               $link_data['pa_id'] = $project_id;
+                               
$GLOBALS['phpgw']->redirect_link('/index.php',$link_data);
+                       }
+ 
                        if ($action == 'mains' || $action == 'amains')
                        {
***************
*** 679,688 ****
                        $GLOBALS['phpgw']->template->set_var('abid',$abid);
  
-                       $link_data['menuaction'] = 
'projects.uiprojects.delete_pa';
-                       $link_data['pa_id'] = $project_id;
                        if 
($this->bo->check_perms($this->grants[$values['coordinator']],PHPGW_ACL_DELETE) 
|| $values['coordinator'] == $this->account)
                        {
!                               
$GLOBALS['phpgw']->template->set_var('delete','<form method="POST" action="' . 
$GLOBALS['phpgw']->link('/index.php',$link_data)
!                                                                               
        . '"><input type="submit" value="' . lang('Delete') .'"></form>');
                        }
                        else
--- 686,692 ----
                        $GLOBALS['phpgw']->template->set_var('abid',$abid);
  
                        if 
($this->bo->check_perms($this->grants[$values['coordinator']],PHPGW_ACL_DELETE) 
|| $values['coordinator'] == $this->account)
                        {
!                               
$GLOBALS['phpgw']->template->set_var('delete','<input type="submit" 
name="delete" value="' . lang('Delete') .'">');
                        }
                        else





reply via email to

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