phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: addressbook/inc class.uifields.inc.php,1.3.2.3,


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: addressbook/inc class.uifields.inc.php,1.3.2.3,1.3.2.3.2.1
Date: Sun, 06 Apr 2003 08:07:39 -0400

Update of /cvsroot/phpgroupware/addressbook/inc
In directory subversions:/tmp/cvs-serv18790

Modified Files:
      Tag: Version-0_9_16-branch
        class.uifields.inc.php 
Log Message:
fix for not editable/deletable custom-fields with with certain special chars in 
there name, field-name was not url-encoded


Index: class.uifields.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/class.uifields.inc.php,v
retrieving revision 1.3.2.3
retrieving revision 1.3.2.3.2.1
diff -C2 -r1.3.2.3 -r1.3.2.3.2.1
*** class.uifields.inc.php      27 Feb 2003 21:07:19 -0000      1.3.2.3
--- class.uifields.inc.php      6 Apr 2003 12:07:37 -0000       1.3.2.3.2.1
***************
*** 102,110 ****
  
                                
$GLOBALS['phpgw']->template->set_var('cfield',$title);
! 
!                               
$GLOBALS['phpgw']->template->set_var('edit',$GLOBALS['phpgw']->link('/index.php',"menuaction=addressbook.uifields.edit&field=$field&start=$start&query=$query&sort=$sort&order=$order&filter=$filter"));
                                
$GLOBALS['phpgw']->template->set_var('lang_edit_entry',lang('Edit'));
  
!                               
$GLOBALS['phpgw']->template->set_var('delete',$GLOBALS['phpgw']->link('/index.php',"menuaction=addressbook.uifields.delete&field=$field&start=$start&query=$query&sort=$sort&order=$order&filter=$filter"));
                                
$GLOBALS['phpgw']->template->set_var('lang_delete_entry',lang('Delete'));
                                
$GLOBALS['phpgw']->template->parse('list','field_list',True);
--- 102,120 ----
  
                                
$GLOBALS['phpgw']->template->set_var('cfield',$title);
!                               
!                               $params = array(
!                                       'menuaction' => 
'addressbook.uifields.edit',
!                                       'field'      => urlencode($field),
!                                       'start'      => $start,
!                                       'query'      => $query,
!                                       'sort'       => $sort,
!                                       'order'      => $order,
!                                       'filter'     => $filter
!                               );
!                               
$GLOBALS['phpgw']->template->set_var('edit',$GLOBALS['phpgw']->link('/index.php',$params));
                                
$GLOBALS['phpgw']->template->set_var('lang_edit_entry',lang('Edit'));
  
!                               $params['menuaction'] = 
'addressbook.uifields.delete';
!                               
$GLOBALS['phpgw']->template->set_var('delete',$GLOBALS['phpgw']->link('/index.php',$params));
                                
$GLOBALS['phpgw']->template->set_var('lang_delete_entry',lang('Delete'));
                                
$GLOBALS['phpgw']->template->parse('list','field_list',True);





reply via email to

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