[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: projects/inc class.boprojects.inc.php, 1.42.2.5.
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: projects/inc class.boprojects.inc.php, 1.42.2.5.2.25, 1.42.2.5.2.26 class.uiprojects.inc.php, 1.47.2.7.2.28, 1.47.2.7.2.29 |
Date: |
Mon, 25 Aug 2003 21:27:57 -0400 |
Update of /cvsroot/phpgroupware/projects/inc
In directory subversions:/tmp/cvs-serv21795/inc
Modified Files:
Tag: Version-0_9_16-branch
class.boprojects.inc.php class.uiprojects.inc.php
Log Message:
update
Index: class.boprojects.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.boprojects.inc.php,v
retrieving revision 1.42.2.5.2.25
retrieving revision 1.42.2.5.2.26
diff -C2 -r1.42.2.5.2.25 -r1.42.2.5.2.26
*** class.boprojects.inc.php 24 Aug 2003 22:53:19 -0000 1.42.2.5.2.25
--- class.boprojects.inc.php 26 Aug 2003 01:27:55 -0000 1.42.2.5.2.26
***************
*** 233,236 ****
--- 233,237 ----
$prefs['mysize'] =
$GLOBALS['phpgw_info']['user']['preferences']['projects']['mysize'];
$prefs['allsize'] =
$GLOBALS['phpgw_info']['user']['preferences']['projects']['allsize'];
+ $prefs['notification'] =
$GLOBALS['phpgw_info']['user']['preferences']['projects']['notification'];
}
return $prefs;
***************
*** 241,245 ****
$GLOBALS['phpgw']->preferences->read_repository();
! if ($prefs)
{
$GLOBALS['phpgw']->preferences->change('projects','tax',$prefs['tax']);
--- 242,246 ----
$GLOBALS['phpgw']->preferences->read_repository();
! if (is_array($prefs))
{
$GLOBALS['phpgw']->preferences->change('projects','tax',$prefs['tax']);
***************
*** 249,252 ****
--- 250,255 ----
$GLOBALS['phpgw']->preferences->change('projects','mysize',$prefs['mysize']);
$GLOBALS['phpgw']->preferences->change('projects','allsize',$prefs['allsize']);
+
$GLOBALS['phpgw']->preferences->change('projects','notification',(isset($prefs['notification'])?'yes':''));
+
$GLOBALS['phpgw']->preferences->save_repository(True);
// _debug_array($prefs);
***************
*** 304,307 ****
--- 307,311 ----
$prefs['mysize'] =
$GLOBALS['phpgw_info']['user']['preferences']['projects']['mysize'];
$prefs['allsize'] =
$GLOBALS['phpgw_info']['user']['preferences']['projects']['allsize'];
+ $prefs['notification'] =
$GLOBALS['phpgw_info']['user']['preferences']['projects']['notification'];
}
}
Index: class.uiprojects.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.uiprojects.inc.php,v
retrieving revision 1.47.2.7.2.28
retrieving revision 1.47.2.7.2.29
diff -C2 -r1.47.2.7.2.28 -r1.47.2.7.2.29
*** class.uiprojects.inc.php 25 Aug 2003 23:53:00 -0000 1.47.2.7.2.28
--- class.uiprojects.inc.php 26 Aug 2003 01:27:55 -0000 1.47.2.7.2.29
***************
*** 1535,1539 ****
$prefs = $this->bo->read_prefs();
!
$GLOBALS['phpgw']->template->set_var('notif_selected',$prefs['notification']);
if ($this->bo->isprojectadmin('pbo') ||
$this->bo->isprojectadmin('pad'))
--- 1535,1539 ----
$prefs = $this->bo->read_prefs();
!
$GLOBALS['phpgw']->template->set_var('notif_selected',($prefs['notification']
== 'yes'? ' checked':''));
if ($this->bo->isprojectadmin('pbo') ||
$this->bo->isprojectadmin('pad'))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: projects/inc class.boprojects.inc.php, 1.42.2.5.2.25, 1.42.2.5.2.26 class.uiprojects.inc.php, 1.47.2.7.2.28, 1.47.2.7.2.29,
Bettina Gille <address@hidden> <=