phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: infolog/inc class.uiinfolog.inc.php,1.46,1.47


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: infolog/inc class.uiinfolog.inc.php,1.46,1.47
Date: Wed, 09 Oct 2002 07:45:52 -0400

Update of /cvsroot/phpgroupware/infolog/inc
In directory subversions:/tmp/cvs-serv24648

Modified Files:
        class.uiinfolog.inc.php 
Log Message:
finished infolog.edit port

Index: class.uiinfolog.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/class.uiinfolog.inc.php,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -r1.46 -r1.47
*** class.uiinfolog.inc.php     8 Oct 2002 00:10:02 -0000       1.46
--- class.uiinfolog.inc.php     9 Oct 2002 11:45:50 -0000       1.47
***************
*** 361,365 ****
  
                        $GLOBALS['phpgw']->template->set_file(array( 
'info_list_t' => 'list.tpl' ));
!                       
$GLOBALS['phpgw']->template->set_block('info_list_t','projdetails','projdetailshandle');
                        
$GLOBALS['phpgw']->template->set_block('info_list_t','info_headers');
                        
$GLOBALS['phpgw']->template->set_block('info_list_t','info_list','list');
--- 361,368 ----
  
                        $GLOBALS['phpgw']->template->set_file(array( 
'info_list_t' => 'list.tpl' ));
!                       if ($action == 'sp')
!                       {
!                               
$GLOBALS['phpgw']->template->set_block('info_list_t','projdetails','projdetailshandle');
!                       }
                        
$GLOBALS['phpgw']->template->set_block('info_list_t','info_headers');
                        
$GLOBALS['phpgw']->template->set_block('info_list_t','info_list','list');
***************
*** 698,701 ****
--- 701,714 ----
                }
  
+               /*!
+               @function edit
+               @syntax edit( $content=0,$action='',$action_id=0,$type='' )
+               @author ralfbecker
+               @abstract Edit/Create an InfoLog Entry
+               @param $content   Content from the eTemplate Exec call or 
info_id on inital call
+               @param $action    Name of an app of 'sp' for a infolog-sub
+               @param $action_id Id of app-entry to which a link is created
+               @param $type      Type of log-entry: note,todo,task
+               */
                function edit($content = 0,$action = '',$action_id=0,$type='')
                {
***************
*** 760,763 ****
--- 773,777 ----
                                        $content['info_subject']=lang('Re:').' 
'.$parent['info_subject'];
                                        $content['info_des'] = '';
+                                       $content['info_lastmodified'] = '';
                                }
                                else
***************
*** 801,805 ****
                        
$this->tmpl->exec('infolog.uiinfolog.edit',$content,array(
                                'info_type'     => $this->bo->enums['type'],
!                               'info_priority' => $this->bo->enums['priority'],
                                'info_confirm'  => $this->bo->enums['confirm'],
                                'info_status'   => 
$this->bo->status[$content['info_type']]
--- 815,819 ----
                        
$this->tmpl->exec('infolog.uiinfolog.edit',$content,array(
                                'info_type'     => $this->bo->enums['type'],
!                               'info_pri'      => $this->bo->enums['priority'],
                                'info_confirm'  => $this->bo->enums['confirm'],
                                'info_status'   => 
$this->bo->status[$content['info_type']]





reply via email to

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