forked from extern/egroupware
Remove superfluous prefs->read_repository, and chg custom field size
This commit is contained in:
parent
a9183356a1
commit
f31696c256
@ -78,7 +78,6 @@
|
|||||||
$this = new export_conv;
|
$this = new export_conv;
|
||||||
|
|
||||||
// Read in user custom fields, if any
|
// Read in user custom fields, if any
|
||||||
$phpgw->preferences->read_repository();
|
|
||||||
$customfields = array();
|
$customfields = array();
|
||||||
while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) {
|
while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) {
|
||||||
if ( substr($col,0,6) == 'extra_' ) {
|
if ( substr($col,0,6) == 'extra_' ) {
|
||||||
|
@ -347,7 +347,7 @@
|
|||||||
<td><font color="#000000" face="" size="-1">'.$value.':</font></td>
|
<td><font color="#000000" face="" size="-1">'.$value.':</font></td>
|
||||||
<td>
|
<td>
|
||||||
<font size="-1">
|
<font size="-1">
|
||||||
<INPUT name="' . $name . '" value="' . $fields[$name] . '">
|
<INPUT size="30" name="' . $name . '" value="' . $fields[$name] . '">
|
||||||
</font></td>
|
</font></td>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -30,8 +30,6 @@
|
|||||||
$this = CreateObject("phpgwapi.contacts");
|
$this = CreateObject("phpgwapi.contacts");
|
||||||
//$this->delete_all($phpgw_info["user"]["account_id"]);
|
//$this->delete_all($phpgw_info["user"]["account_id"]);
|
||||||
//exit;
|
//exit;
|
||||||
// Read in user custom fields, if any
|
|
||||||
$phpgw->preferences->read_repository();
|
|
||||||
$customfields = array();
|
$customfields = array();
|
||||||
while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) {
|
while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) {
|
||||||
if ( substr($col,0,6) == 'extra_' ) {
|
if ( substr($col,0,6) == 'extra_' ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user