[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] todo/inc class.sotodo.inc.php class.uitodo.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] todo/inc class.sotodo.inc.php class.uitodo.inc.php |
Date: |
Tue, 31 Oct 2006 10:38:57 +0000 |
CVSROOT: /sources/phpgroupware
Module name: todo
Changes by: Sigurd Nes <sigurdne> 06/10/31 10:38:57
Modified files:
inc : class.sotodo.inc.php class.uitodo.inc.php
Log message:
get_grants from top-location
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/todo/inc/class.sotodo.inc.php?cvsroot=phpgroupware&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/todo/inc/class.uitodo.inc.php?cvsroot=phpgroupware&r1=1.24&r2=1.25
Patches:
Index: class.sotodo.inc.php
===================================================================
RCS file: /sources/phpgroupware/todo/inc/class.sotodo.inc.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- class.sotodo.inc.php 10 May 2005 15:48:57 -0000 1.18
+++ class.sotodo.inc.php 31 Oct 2006 10:38:57 -0000 1.19
@@ -7,7 +7,7 @@
* @copyright Copyright (C) 2000-2003,2005 Free Software Foundation,
Inc. http://www.fsf.org/
* @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
* @package todo
- * @version $Id: class.sotodo.inc.php,v 1.18 2005/05/10 15:48:57
powerstat Exp $
+ * @version $Id: class.sotodo.inc.php,v 1.19 2006/10/31 10:38:57
sigurdne Exp $
*/
@@ -26,7 +26,7 @@
{
$this->db = $GLOBALS['phpgw']->db;
$this->db2 = $this->db;
- $this->grants =
$GLOBALS['phpgw']->acl->get_grants('todo');
+ $this->grants =
$GLOBALS['phpgw']->acl->get_grants('todo','.');
$this->user_groups =
$GLOBALS['phpgw']->accounts->membership($this->account);
$this->account =
$GLOBALS['phpgw_info']['user']['account_id'];
$this->historylog =
CreateObject('phpgwapi.historylog','todo');
Index: class.uitodo.inc.php
===================================================================
RCS file: /sources/phpgroupware/todo/inc/class.uitodo.inc.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- class.uitodo.inc.php 10 May 2005 15:48:57 -0000 1.24
+++ class.uitodo.inc.php 31 Oct 2006 10:38:57 -0000 1.25
@@ -7,7 +7,7 @@
* @copyright Copyright (C) 2000-2003,2005 Free Software Foundation,
Inc. http://www.fsf.org/
* @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
* @package todo
- * @version $Id: class.uitodo.inc.php,v 1.24 2005/05/10 15:48:57
powerstat Exp $
+ * @version $Id: class.uitodo.inc.php,v 1.25 2006/10/31 10:38:57
sigurdne Exp $
*/
@@ -63,7 +63,7 @@
$this->matrix = CreateObject('phpgwapi.matrixview');
$this->account =
$GLOBALS['phpgw_info']['user']['account_id'];
$this->t =
CreateObject('phpgwapi.Template',$GLOBALS['phpgw']->common->get_tpl_dir('todo'));
- $this->grants =
$GLOBALS['phpgw']->acl->get_grants('todo');
+ $this->grants =
$GLOBALS['phpgw']->acl->get_grants('todo','.');
$this->start = $this->botodo->start;
$this->query = $this->botodo->query;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] todo/inc class.sotodo.inc.php class.uitodo.inc.php,
Sigurd Nes <=