phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] addressbook/inc class.uicategorize_contacts.inc...


From: Caeies
Subject: [Phpgroupware-cvs] addressbook/inc class.uicategorize_contacts.inc...
Date: Wed, 24 Jan 2007 15:59:38 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    addressbook
Changes by:     Caeies <Caeies> 07/01/24 15:59:38

Modified files:
        inc            : class.uicategorize_contacts.inc.php 
                         class.uivcard.inc.php hook_home.inc.php 
                         hook_notifywindow.inc.php 

Log message:
        some link() call fixes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/addressbook/inc/class.uicategorize_contacts.inc.php?cvsroot=phpgroupware&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/addressbook/inc/class.uivcard.inc.php?cvsroot=phpgroupware&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/addressbook/inc/hook_home.inc.php?cvsroot=phpgroupware&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/addressbook/inc/hook_notifywindow.inc.php?cvsroot=phpgroupware&r1=1.11&r2=1.12

Patches:
Index: class.uicategorize_contacts.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/addressbook/inc/class.uicategorize_contacts.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- class.uicategorize_contacts.inc.php 15 May 2005 13:34:29 -0000      1.4
+++ class.uicategorize_contacts.inc.php 24 Jan 2007 15:59:38 -0000      1.5
@@ -47,7 +47,7 @@
                                $persons = $this->lists->get_resul_list();
                                
$this->save_categories_by_person($this->selected_cat, $persons);
                                Header('Location: '
-                                      . 
$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uicategorize_contacts.index'));
+                                      . $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'addressbook.uicategorize_contacts.index')));
                                $GLOBALS['phpgw']->common->phpgw_exit();
                                break;
                        case 'cancel':

Index: class.uivcard.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/class.uivcard.inc.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- class.uivcard.inc.php       29 Nov 2006 14:39:38 -0000      1.14
+++ class.uivcard.inc.php       24 Jan 2007 15:59:38 -0000      1.15
@@ -11,7 +11,7 @@
   *  option) any later version.                                              *
   \**************************************************************************/
 
-  /* $Id: class.uivcard.inc.php,v 1.14 2006/11/29 14:39:38 sigurdne Exp $ */
+  /* $Id: class.uivcard.inc.php,v 1.15 2007/01/24 15:59:38 Caeies Exp $ */
 
        class uivcard
        {
@@ -58,7 +58,7 @@
                        $this->template->set_file(array('vcardin' => 
'vcardin.tpl'));
 
                        $this->template->set_var('vcard_header','<p>&nbsp;<b>' 
. lang('Address book - VCard in') . '</b><hr /><p>');
-                       
$this->template->set_var('action_url',$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.boaddressbook.add_vcard'));
+                       
$this->template->set_var('action_url',$GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'addressbook.boaddressbook.add_vcard')));
                        $this->template->set_var('lang_access',lang('Access'));
                        $this->template->set_var('lang_groups',lang('Which 
groups'));
                        
$this->template->set_var('access_option',$access_option);
@@ -89,7 +89,7 @@
 
                        if(!$this->contacts->check_edit($ab_id))
                        {
-                               Header("Location: " . 
$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.index'));
+                               Header("Location: " . 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'addressbook.uiaddressbook.index')));
                                $GLOBALS['phpgw']->common->phpgw_exit();
                        }
                        

Index: hook_home.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/hook_home.inc.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- hook_home.inc.php   15 May 2005 13:34:30 -0000      1.25
+++ hook_home.inc.php   24 Jan 2007 15:59:38 -0000      1.26
@@ -9,7 +9,7 @@
   *  option) any later version.                                              *
   \**************************************************************************/
 
-       /* $Id: hook_home.inc.php,v 1.25 2005/05/15 13:34:30 skwashd Exp $ */
+       /* $Id: hook_home.inc.php,v 1.26 2007/01/24 15:59:38 Caeies Exp $ */
        
 /* TODO Update for new contacts back end
        $d1 = strtolower(substr(PHPGW_APP_INC,0,3));
@@ -79,7 +79,7 @@
                {
                        $portalbox->data[] = array(
                                'text' => lang("Today is %1's birthday!", 
$val['per_first_name'] . ' ' . $val['per_last_name']),
-                               'link' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.view_person&ab_id='
 .  $val['contact_id'])
+                               'link' => $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'addressbook.uiaddressbook.view_person', 'ab_id' => 
$val['contact_id']))
                        );
                }
 
@@ -92,7 +92,7 @@
                {
                        $portalbox->data[] = array(
                                'text' => lang("Tomorrow is %1's 
birthday.",$val['per_first_name'] . ' ' . $val['per_last_name']),
-                               'link' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.view_person&ab_id='.$val['contact_id'])
+                               'link' => $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'addressbook.uiaddressbook.view_person', 'ab_id' => 
$val['contact_id']))
                        );
                }
                

Index: hook_notifywindow.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/hook_notifywindow.inc.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- hook_notifywindow.inc.php   15 May 2005 13:34:30 -0000      1.11
+++ hook_notifywindow.inc.php   24 Jan 2007 15:59:38 -0000      1.12
@@ -9,7 +9,7 @@
   *  option) any later version.                                              *
   \**************************************************************************/
 
-       /* $Id: hook_notifywindow.inc.php,v 1.11 2005/05/15 13:34:30 skwashd 
Exp $ */
+       /* $Id: hook_notifywindow.inc.php,v 1.12 2007/01/24 15:59:38 Caeies Exp 
$ */
 
        $d1 = strtolower(substr(PHPGW_APP_INC,0,3));
        if($d1 == 'htt' || $d1 == 'ftp' )
@@ -44,7 +44,7 @@
                while(list($key,$val) = @each($bdays))
                {
                        $tmp = '<a href="'
-                               . 
$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.view_person&ab_id='
 .  $val['contact_id']) . '">'
+                               . $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'addressbook.uiaddressbook.view_person', 'ab_id' => 
$val['contact_id'])) . '">'
                                . $val['per_first_name'] . ' ' . 
$val['per_last_name'] . '</a>';
                        echo '<tr><td align="left">' . lang("Today is %1's 
birthday!", $tmp) . "</td></tr>\n";
                }
@@ -59,7 +59,7 @@
                while(list($key,$val) = @each($bdays))
                {
                        $tmp = '<a href="'
-                               . 
$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.view_person&ab_id='
 .  $val['contact_id']) . '">'
+                               . $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'addressbook.uiaddressbook.view_person', 'ab_id' => 
$val['contact_id'])) . '">'
                                . $val['per_first_name'] . ' ' . 
$val['per_last_name'] . '</a>';
                        echo '<tr><td align="left">' . lang("Tomorrow is %1's 
birthday.", $tmp) . "</td></tr>\n";
                }




reply via email to

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