> I changed this to $label = newlabel, but that only changed the default for
> empty value, so that any row (under info column) without a returning value
> carries the value "newlabel", and any row that has an attribute
> value
> still shows the standard default info.

see attached patch. If it does not apply to stock SM 1.4.2, try to
understand what it does. plus shows added lines, minus - removed lines.

> Strange that phonenumber is among other attributes requested in the
> addressbook query, but not "accounted for" in the UI...just
> trying to
> understand so I can customize it. :)

I guess it won't stay there for long, because it does unneeded functions
calls.

Do you need a phone number to send email? It is always nice to have thing
that can send emails and make coffee or bootleg liquor, but SquirrelMail
is not like squirrel, but more like elephant already.

Please note, that you want to have phone numbers and some other people
might want to have SSIDs, faxes, home addresses, pet pieves stored in
address book. If you want address book with extra fields - use plugins.

Currently SquirrelMail allows to store address book in csv or SQL. It also
reads LDAP. It is possible to write plugin that works with SQL same way
ldapquery works with LDAP. If you create some custom address book backend,
you will need to add it manually to functions/addressbook.php. There are
people working on vcard backend support.

-- 
Tomas

Attachment: abook_ldap_server.php.diff
Description: Binary data

Reply via email to