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.10,1.11


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.10,1.11
Date: Tue, 17 Sep 2002 12:11:09 -0400

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

Modified Files:
        class.ui.inc.php 
Log Message:
started porting notes to use etemplates

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/notes/inc/class.ui.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** class.ui.inc.php    17 Sep 2002 15:43:02 -0000      1.10
--- class.ui.inc.php    17 Sep 2002 16:11:07 -0000      1.11
***************
*** 297,301 ****
                                if ($values['id'] > 0)
                                {
!                                       $data = $this->bo->read($values['id']);
                                }
  
--- 297,301 ----
                                if ($values['id'] > 0)
                                {
!                                       $data = 
$this->bo->read_single($values['id']);
                                }
  
***************
*** 308,323 ****
                                //echo "<p>edit: data ="; 
_debug_array($this->data);
  
!                               switch($values)
                                {
!                                       case 'save':
!                                               $this->bo->save();
!                                               $msg .= 
$this->messages[!$this->save() ? 'saved' : 'error_writing'];
!                                               break;
!                                       case 'done':
!                                               $this->index();
!                                               break;
!                                       case 'delete':
!                                               $this->delete();
!                                               break;
                                }
  
--- 308,323 ----
                                //echo "<p>edit: data ="; 
_debug_array($this->data);
  
!                               if ($values['save'])
                                {
!                                       $this->bo->save();
!                                       $msg .= $this->messages[!$this->save() 
? 'saved' : 'error_writing'];
!                               }
!                               elseif($values['done'])
!                               {
!                                       $this->index();
!                               }
!                               elseif($values['delete'])
!                               {
!                                       $this->delete();
                                }
  





reply via email to

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