phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.12,1.13


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.12,1.13
Date: Tue, 17 Sep 2002 15:48:11 -0400

Update of /cvsroot/phpgroupware/notes/inc
In directory subversions:/tmp/cvs-serv24629/inc

Modified Files:
        class.ui.inc.php 
Log Message:
update

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/notes/inc/class.ui.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** class.ui.inc.php    17 Sep 2002 16:30:08 -0000      1.12
--- class.ui.inc.php    17 Sep 2002 19:48:08 -0000      1.13
***************
*** 36,40 ****
                (
                        'saved'                 => 'Note has been added for %1 
!',
!                       'error_writing' => 'Error: writing !!!'
                );
  
--- 36,42 ----
                (
                        'saved'                 => 'Note has been added for %1 
!',
!                       'error_writing' => 'Error: writing !!!',
!                       'add_header'    => 'Add note for:',
!                       'edit_header'   => 'Edit note for:',
                );
  
***************
*** 109,113 ****
                }
  
!               function _list()
                {
                        $this->display_app_header();
--- 111,115 ----
                }
  
!               function index()
                {
                        $this->display_app_header();
***************
*** 298,302 ****
                                if ($id > 0)
                                {
!                                       $values = 
$this->bo->read_single($values['id']);
                                }
                        }
--- 300,308 ----
                                if ($id > 0)
                                {
!                                       $values = $this->bo->read_single($id);
!                               }
!                               else
!                               {
!                                       $values = array();
                                }
                        }
***************
*** 339,344 ****
                                $no_button = array
                                (
!                                       'reset' => True
                                );
                        }
                        else
--- 345,352 ----
                                $no_button = array
                                (
!                                       'delete' => True
                                );
+ 
+                               $header = 'Add note for ' . 
$GLOBALS['phpgw_info']['user']['fullname'];
                        }
                        else
***************
*** 346,354 ****
                                $no_button = array
                                (
!                                       'delete' => True
                                );
                        }
  
!                       
$this->tpl->exec('notes.ui.edit',$values,'',$no_button,array('id' => 
$data['id']));
                }
  
--- 354,367 ----
                                $no_button = array
                                (
!                                       'reset' => True
                                );
+ 
+                               $header = 'Edit note for ' . 
$GLOBALS['phpgw_info']['user']['fullname'];
                        }
  
!                       $data = $values + array('header' => $header);
! 
! 
!                       
$this->tpl->exec('notes.ui.edit',$data,'',$no_button,array('id' => 
$values['id']));
                }
  





reply via email to

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