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.16.2.1,1.16.2.2


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.16.2.1,1.16.2.2
Date: Tue, 01 Oct 2002 14:27:34 -0400

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

Modified Files:
      Tag: eTemplate
        class.ui.inc.php 
Log Message:
show note, before deleteing

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/notes/inc/class.ui.inc.php,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -C2 -r1.16.2.1 -r1.16.2.2
*** class.ui.inc.php    24 Sep 2002 17:29:56 -0000      1.16.2.1
--- class.ui.inc.php    1 Oct 2002 18:27:32 -0000       1.16.2.2
***************
*** 197,202 ****
                                if ($values > 0)
                                {
                                        $this->tpl->read('notes.delete');
!                                       
$this->tpl->exec('notes.ui.delete','','','',array('id' => $values));
                                        return;
                                }
--- 197,205 ----
                                if ($values > 0)
                                {
+                                       $content = 
$this->bo->read_single($values);
+                                       $content['cat']    = 
$this->cats->id2name($content['cat']);
+                                       $content['owner'] = 
$GLOBALS['phpgw']->accounts->id2name($content['owner_id'] = $content['owner']);
                                        $this->tpl->read('notes.delete');
!                                       
$this->tpl->exec('notes.ui.delete',$content,'','',array('id' => $values));
                                        return;
                                }





reply via email to

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