phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: addressbook/inc class.uiaddressbook.inc.php,1.3


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: addressbook/inc class.uiaddressbook.inc.php,1.36.2.15,1.36.2.15.2.1
Date: Sun, 06 Apr 2003 08:07:27 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        class.uiaddressbook.inc.php 
Log Message:
fix for custom-fields values are always empty in edit


Index: class.uiaddressbook.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/class.uiaddressbook.inc.php,v
retrieving revision 1.36.2.15
retrieving revision 1.36.2.15.2.1
diff -C2 -r1.36.2.15 -r1.36.2.15.2.1
*** class.uiaddressbook.inc.php 21 Mar 2003 21:19:17 -0000      1.36.2.15
--- class.uiaddressbook.inc.php 6 Apr 2003 12:07:25 -0000       1.36.2.15.2.1
***************
*** 683,686 ****
--- 683,687 ----
                        $qfields = $this->contacts->stock_contact_fields + 
$this->extrafields + $customfields;
                        $fields = $this->bo->read_entry(array('id' => 
$GLOBALS['HTTP_GET_VARS']['ab_id'], 'fields' => $qfields));
+ 
                        
$this->addressbook_form('edit','menuaction=addressbook.uiaddressbook.edit',lang('Edit'),$fields[0],$customfields);
  
***************
*** 839,842 ****
--- 840,846 ----
                        $this->template->set_var('lang_viewpref',lang('Address 
book - view') . $noprefs);
  
+                       unset($qfields['email_type']);          // noone is 
useing that any more
+                       unset($qfields['privat_email_type']);
+ 
                        @reset($qfields);
                        while (list($column,$null) = @each($qfields))
***************
*** 1392,1396 ****
      <td>&nbsp;</td>
      <td><font color="' . $GLOBALS['phpgw_info']['theme']['th_text'] . '" 
face="" size="-1">'.$value.':</font></td>
!     <td colspan="3"><INPUT size="30" name="entry[' . $name . ']" value="' . 
$fields[$value] . '"></td>
    </tr>
  ';
--- 1396,1400 ----
      <td>&nbsp;</td>
      <td><font color="' . $GLOBALS['phpgw_info']['theme']['th_text'] . '" 
face="" size="-1">'.$value.':</font></td>
!     <td colspan="3"><INPUT size="30" name="entry[' . $name . ']" value="' . 
$fields[$name] . '"></td>
    </tr>
  ';





reply via email to

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