phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] notes/inc class.uinotes.inc.php


From: Caeies
Subject: [Phpgroupware-cvs] notes/inc class.uinotes.inc.php
Date: Wed, 24 Jan 2007 16:45:16 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    notes
Changes by:     Caeies <Caeies> 07/01/24 16:45:16

Modified files:
        inc            : class.uinotes.inc.php 

Log message:
        some call to link() fixed

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/notes/inc/class.uinotes.inc.php?cvsroot=phpgroupware&r1=1.38&r2=1.39

Patches:
Index: class.uinotes.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/notes/inc/class.uinotes.inc.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- class.uinotes.inc.php       13 Nov 2006 12:42:57 -0000      1.38
+++ class.uinotes.inc.php       24 Jan 2007 16:45:16 -0000      1.39
@@ -6,7 +6,7 @@
        * @copyright Copyright (C) 2000-2003,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package notes
-       * @version $Id: class.uinotes.inc.php,v 1.38 2006/11/13 12:42:57 ceb 
Exp $
+       * @version $Id: class.uinotes.inc.php,v 1.39 2007/01/24 16:45:16 Caeies 
Exp $
        */
 
        /**
@@ -135,7 +135,7 @@
                        (
                                'lang_add'                              => 
lang('add'),
                                'lang_add_statustext'   => lang('add a note'),
-                               'add_action'                    => 
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.uinotes.edit')
+                               'add_action'                    => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'notes.uinotes.edit'))
                        );
 
                        $nm = array
@@ -174,11 +174,11 @@
                                        $values['note_id']      = $note_id;
                                        $note_id = 
$this->bonotes->save($values);
                                        $this->cat_id = 
($values['cat_id']?$values['cat_id']:$this->cat_id);
-                                       
$GLOBALS['phpgw']->redirect_link('/index.php','menuaction=notes.uinotes.index');
+                                       
$GLOBALS['phpgw']->redirect_link('/index.php', array('menuaction' => 
'notes.uinotes.index'));
                                }
                                elseif($values['cancel'])
                                {
-                                       
$GLOBALS['phpgw']->redirect_link('/index.php','menuaction=notes.uinotes.index');
+                                       
$GLOBALS['phpgw']->redirect_link('/index.php', array('menuaction' => 
'notes.uinotes.index'));
                                }
                                else
                                {
@@ -276,7 +276,7 @@
 
                        $data = array
                        (
-                               'done_action'           => 
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.uinotes.index'),
+                               'done_action'           => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'notes.uinotes.index')),
                                'lang_content'          => lang('content'),
                                'lang_category'         => lang('category'),
                                'lang_access'           => lang('access'),




reply via email to

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