phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] tasks/class.base.php, 1.1.2.13


From: nomail
Subject: [Phpgroupware-cvs] tasks/class.base.php, 1.1.2.13
Date: Fri, 9 Jul 2004 08:43:21 +0200

Update of /tasks
Modified Files:
        Branch: proposal-branch
          class.base.php

date: 2004/07/09 06:43:21;  author: jengo;  state: Exp;  lines: +5 -2

Log Message:
Added ACL history
=====================================================================
Index: tasks/class.base.php
diff -u tasks/class.base.php:1.1.2.12 tasks/class.base.php:1.1.2.13
--- tasks/class.base.php:1.1.2.12       Tue Jul  6 07:22:00 2004
+++ tasks/class.base.php        Fri Jul  9 06:43:21 2004
@@ -286,7 +286,8 @@
                                'task_priority'    => lang('Priority'),
                                'task_start'       => lang('Start date'),
                                'task_end'         => lang('End date'),
-                               'task_status'      => lang('Status')
+                               'task_status'      => lang('Status'),
+                               'acl'              => lang('ACL')
                        );
                }
 
@@ -503,6 +504,7 @@
                                                'task_end'         => 
$epoch_end_timestamp,
                                                'task_status'      => 
$args['status']
                                        );
+                                       $history_data = 
$acl_mgr->_add_history('tasks.base.create',$history_data);
 
                                        if 
($GLOBALS['phpgw']->db->affected_rows())
                                        {
@@ -737,6 +739,7 @@
                        $this->history->field_execMethod['task_responsible'] = 
'api.prefs._display_account_fullname';
                        $this->history->field_execMethod['task_start']       = 
'api.prefs._show_date';
                        $this->history->field_execMethod['task_end']         = 
'api.prefs._show_date';
+                       $this->history->field_execMethod['acl']              = 
'api.acl_mgr._history_value';
 
                        $result['history_data'] = 
$this->history->get('tasks.base.' . $args['task_id']);
                        $acl_mgr = createObject('api_acl_mgr');




reply via email to

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