[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] projects/inc/class.soprojects.inc.php, 1.101
From: |
nomail |
Subject: |
[Phpgroupware-cvs] projects/inc/class.soprojects.inc.php, 1.101 |
Date: |
Thu, 17 Jun 2004 16:23:24 +0200 |
Update of /projects/inc
Modified Files:
Branch:
class.soprojects.inc.php
date: 2004/06/17 14:23:24; author: ceb; state: Exp; lines: +14 -3
Log Message:
update
=====================================================================
Index: projects/inc/class.soprojects.inc.php
diff -u projects/inc/class.soprojects.inc.php:1.100
projects/inc/class.soprojects.inc.php:1.101
--- projects/inc/class.soprojects.inc.php:1.100 Thu Jun 3 13:38:59 2004
+++ projects/inc/class.soprojects.inc.php Thu Jun 17 14:23:24 2004
@@ -706,9 +706,10 @@
}
}
- function return_value($action,$pro_id)
+ function return_value($action,$pro_id,$account_id = 0)
{
- $pro_id = intval($pro_id);
+ $pro_id = intval($pro_id);
+ $account_id = intval($account_id);
if ($action == 'act')
{
$this->db->query('SELECT a_number,descr from
phpgw_p_activities where id=' . $pro_id,__LINE__,__FILE__);
@@ -717,6 +718,16 @@
$bla =
$GLOBALS['phpgw']->strip_html($this->db->f('descr')) . ' [' .
$GLOBALS['phpgw']->strip_html($this->db->f('a_number')) . ']';
}
}
+ else if($action == 'role')
+ {
+ $this->db->query('SELECT role_id from
phpgw_p_projectmembers where project_id=' . $pro_id . ' and account_id=' .
$account_id
+ . " and
type='role'",__LINE__,__FILE__);
+ if($this->db->next_record())
+ {
+ $bla = $this->id2item(array('action' =>
'role','item' => 'role_name', 'item_id' => $this->db->f('role_id')));
+
+ }
+ }
else
{
switch ($action)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] projects/inc/class.soprojects.inc.php, 1.101,
nomail <=