phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: todo/inc class.bo.inc.php,1.3,1.4 class.ui.inc.p


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: todo/inc class.bo.inc.php,1.3,1.4 class.ui.inc.php,1.4,1.5
Date: Wed, 30 Jan 2002 21:43:33 -0500

Update of /cvsroot/phpgroupware/todo/inc
In directory subversions:/tmp/cvs-serv25249/inc

Modified Files:
        class.bo.inc.php class.ui.inc.php 
Log Message:
added the option to assign todos to groups

Index: class.bo.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/inc/class.bo.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** class.bo.inc.php    31 Jan 2002 01:33:02 -0000      1.3
--- class.bo.inc.php    31 Jan 2002 02:43:30 -0000      1.4
***************
*** 178,182 ****
                                                                                
$cached_data[$a]['firstname'],$cached_data[$a]['lastname']) . '<br>';
                                        }
!                                       else
                                        {
                                                $aout .= 
$cached_data[$a]['firstname'] . ' ' . lang('Group') . '<br>';
--- 178,182 ----
                                                                                
$cached_data[$a]['firstname'],$cached_data[$a]['lastname']) . '<br>';
                                        }
!                                       elseif($cached_data[$a]['type'] == 'g')
                                        {
                                                $aout .= 
$cached_data[$a]['firstname'] . ' ' . lang('Group') . '<br>';

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/inc/class.ui.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** class.ui.inc.php    31 Jan 2002 01:33:02 -0000      1.4
--- class.ui.inc.php    31 Jan 2002 02:43:30 -0000      1.5
***************
*** 103,106 ****
--- 103,107 ----
                        $this->t->set_var('lang_submit',lang('Submit'));
                        $this->t->set_var('lang_save',lang('Save'));
+                       $this->t->set_var('lang_done',lang('Done'));
                        $this->t->set_var('lang_assigned',lang('Assigned to'));
                        $this->t->set_var('lang_owner',lang('Created by'));
***************
*** 513,517 ****
  
                        $this->t->set_var('value_completed',$values['status']);
!                       
$this->t->set_var('assigned',$this->bo->list_assigned($this->bo->format_assigned($values['assigned'])));
  
                        $cached_data = 
$this->bo->cached_accounts($values['owner']);
--- 514,522 ----
  
                        $this->t->set_var('value_completed',$values['status']);
! 
!                       $assigned = 
$this->bo->list_assigned($this->bo->format_assigned($values['assigned']));
!                       $assigned .= 
$this->bo->list_assigned($this->bo->format_assigned($values['assigned_group']));
! 
!                       $this->t->set_var('assigned',$assigned);
  
                        $cached_data = 
$this->bo->cached_accounts($values['owner']);
***************
*** 532,535 ****
--- 537,541 ----
  
                        
$this->t->set_var('history',$this->historylog->return_html(array(),'','',$GLOBALS['todo_id']));
+                       
$this->t->set_var('done_action',$GLOBALS['phpgw']->link('/index.php','menuaction=todo.ui.show_list'));
                        $this->t->pfp('out','_view');
                }




reply via email to

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