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.5.2.6.2.1, 1.5.2.6


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php, 1.5.2.6.2.1, 1.5.2.6.2.2
Date: Tue, 26 Aug 2003 08:58:14 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        class.ui.inc.php 
Log Message:
fix for bug #4510

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/notes/inc/class.ui.inc.php,v
retrieving revision 1.5.2.6.2.1
retrieving revision 1.5.2.6.2.2
diff -C2 -r1.5.2.6.2.1 -r1.5.2.6.2.2
*** class.ui.inc.php    26 Apr 2003 21:03:45 -0000      1.5.2.6.2.1
--- class.ui.inc.php    26 Aug 2003 12:58:11 -0000      1.5.2.6.2.2
***************
*** 343,353 ****
                {
                        $note_id        = 
get_var('note_id',array('GET','POST'));
-                       $confirm        = get_var('confirm',array('POST'));
  
!                       if ($confirm)
                        {
                                $this->bo->delete($note_id);
!                               $this->_list();
!                               return False;
                        }
                        else
--- 343,351 ----
                {
                        $note_id        = 
get_var('note_id',array('GET','POST'));
  
!                       if ($_POST['confirm'])
                        {
                                $this->bo->delete($note_id);
!                               
$GLOBALS['phpgw']->redirect_link('/index.php','menuaction=notes.ui._list');
                        }
                        else
***************
*** 358,362 ****
  
                                
$this->t->set_var('action_url',$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.delete&note_id='
 . $note_id));
!                               
$this->t->set_var('done_action',$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.list_notes'));
                                $this->t->set_var('deleteheader',lang('Are you 
sure you want to delete this note ?'));
                                $this->t->set_var('lang_no',lang('No'));
--- 356,360 ----
  
                                
$this->t->set_var('action_url',$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.delete&note_id='
 . $note_id));
!                               
$this->t->set_var('done_action',$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui._list'));
                                $this->t->set_var('deleteheader',lang('Are you 
sure you want to delete this note ?'));
                                $this->t->set_var('lang_no',lang('No'));





reply via email to

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