[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: projects/inc class.soprojects.inc.php,1.34.2.6.2
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: projects/inc class.soprojects.inc.php,1.34.2.6.2.17,1.34.2.6.2.18 class.uiprojects.inc.php,1.47.2.7.2.19,1.47.2.7.2.20 |
Date: |
Mon, 16 Jun 2003 17:47:26 -0400 |
Update of /cvsroot/phpgroupware/projects/inc
In directory subversions:/tmp/cvs-serv8349/inc
Modified Files:
Tag: Version-0_9_16-branch
class.soprojects.inc.php class.uiprojects.inc.php
Log Message:
update
Index: class.soprojects.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.soprojects.inc.php,v
retrieving revision 1.34.2.6.2.17
retrieving revision 1.34.2.6.2.18
diff -C2 -r1.34.2.6.2.17 -r1.34.2.6.2.18
*** class.soprojects.inc.php 15 Jun 2003 23:00:54 -0000 1.34.2.6.2.17
--- class.soprojects.inc.php 16 Jun 2003 21:47:24 -0000 1.34.2.6.2.18
***************
*** 376,379 ****
--- 376,384 ----
. ' AND month='
. $values['monthdate'],__LINE__,__FILE__);
}
+
+ if ($values['status'] == 'archive')
+ {
+ $this->db->query("Update phpgw_p_projects set
status='archive' WHERE parent=" . $values['project_id'],__LINE__,__FILE__);
+ }
}
Index: class.uiprojects.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.uiprojects.inc.php,v
retrieving revision 1.47.2.7.2.19
retrieving revision 1.47.2.7.2.20
diff -C2 -r1.47.2.7.2.19 -r1.47.2.7.2.20
*** class.uiprojects.inc.php 15 Jun 2003 23:00:54 -0000 1.47.2.7.2.19
--- class.uiprojects.inc.php 16 Jun 2003 21:47:24 -0000 1.47.2.7.2.20
***************
*** 190,194 ****
}
! function status_format($status = '')
{
if (!$status)
--- 190,194 ----
}
! function status_format($status = '', $showarchive = False)
{
if (!$status)
***************
*** 205,210 ****
$status_list = '<option value="active"' . $stat_sel[0]
. '>' . lang('Active') . '</option>' . "\n"
! . '<option value="nonactive"' .
$stat_sel[1] . '>' . lang('Nonactive') . '</option>' . "\n"
! . '<option value="archive"' .
$stat_sel[2] . '>' . lang('Archive') . '</option>' . "\n";
return $status_list;
}
--- 205,214 ----
$status_list = '<option value="active"' . $stat_sel[0]
. '>' . lang('Active') . '</option>' . "\n"
! . '<option value="nonactive"' .
$stat_sel[1] . '>' . lang('Nonactive') . '</option>' . "\n";
!
! if ($showarchive)
! {
! $status_list .= '<option value="archive"' .
$stat_sel[2] . '>' . lang('Archive') . '</option>' . "\n";
! }
return $status_list;
}
***************
*** 616,620 ****
$GLOBALS['phpgw']->template->set_var('month',$month['monthformatted']);
!
$GLOBALS['phpgw']->template->set_var('status_list',$this->status_format($values['status']));
$GLOBALS['phpgw']->template->set_var('access','<input
type="checkbox" name="values[access]" value="True"' . ($values['access'] ==
'private'?' checked':'') . '>');
--- 620,624 ----
$GLOBALS['phpgw']->template->set_var('month',$month['monthformatted']);
!
$GLOBALS['phpgw']->template->set_var('status_list',$this->status_format($values['status'],True));
$GLOBALS['phpgw']->template->set_var('access','<input
type="checkbox" name="values[access]" value="True"' . ($values['access'] ==
'private'?' checked':'') . '>');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: projects/inc class.soprojects.inc.php,1.34.2.6.2.17,1.34.2.6.2.18 class.uiprojects.inc.php,1.47.2.7.2.19,1.47.2.7.2.20,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: projects/templates/default form.tpl,1.33.4.10,1.33.4.11
- Next by Date:
[Phpgroupware-cvs] CVS: projects/setup phpgw_br.lang,1.2,1.3 phpgw_de.lang,1.20,1.21 phpgw_en.lang,1.31,1.32 phpgw_es.lang,1.3,1.4 phpgw_fr.lang,1.7,1.8 phpgw_pl.lang,1.2,1.3 phpgw_pt.lang,1.3,1.4 phpgw_zt.lang,1.2,1.3 setup.inc.php,1.18,1.19 tables_current.inc.php,1.13,1.14 tables_update.inc.php,1.19,1.20
- Previous by thread:
[Phpgroupware-cvs] CVS: projects/templates/default form.tpl,1.33.4.10,1.33.4.11
- Next by thread:
[Phpgroupware-cvs] CVS: projects/setup phpgw_br.lang,1.2,1.3 phpgw_de.lang,1.20,1.21 phpgw_en.lang,1.31,1.32 phpgw_es.lang,1.3,1.4 phpgw_fr.lang,1.7,1.8 phpgw_pl.lang,1.2,1.3 phpgw_pt.lang,1.3,1.4 phpgw_zt.lang,1.2,1.3 setup.inc.php,1.18,1.19 tables_current.inc.php,1.13,1.14 tables_update.inc.php,1.19,1.20
- Index(es):