[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: addressbook/inc class.uifields.inc.php,1.8,1.9
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: addressbook/inc class.uifields.inc.php,1.8,1.9 |
Date: |
Sun, 06 Apr 2003 08:11:05 -0400 |
Update of /cvsroot/phpgroupware/addressbook/inc
In directory subversions:/tmp/cvs-serv19333
Modified Files:
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.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** class.uifields.inc.php 28 Sep 2002 20:01:43 -0000 1.8
--- class.uifields.inc.php 6 Apr 2003 12:11:03 -0000 1.9
***************
*** 101,109 ****
$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);
--- 101,119 ----
$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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: addressbook/inc class.uifields.inc.php,1.8,1.9,
Ralf Becker <address@hidden> <=