[cvs] commit: imp/lib Compose.php imp/templates/prefs sourceselect.inc
Michael M Slusarz
slusarz at horde.org
Thu Jul 24 09:17:21 UTC 2008
slusarz 2008-07-24 05:17:21 EDT
Modified files:
lib Compose.php
templates/prefs sourceselect.inc
Log:
Break out expandAddress() into 3 separate functions - 1 for expanding a
string, 1 for generically listing all addresses in the sources, and 1 for
generating the source-related prefs values. The 3rd func can be used on
the prefs page (eliminates duplicate code). Also, do a bunch of minifying
of complete unnecessary long DOM strings while I am in here.
The 2nd func will be used for non-AJAX address expansion on the compose page -
I currently have a working prototype using Autocompleter.Local, but it still
needs to be tweaked a bit. With the Autocompleter.Local option, you can only
search a "Name <email>" sring. Unfortunately, I have to figure out how to deal
with a pref value of search_fields other than "name\temail", although for the
life of me I can't really figure out what other fields you would want to
search here.
Revision Changes Path
1.375 +77 -41 imp/lib/Compose.php
1.30 +100 -94 imp/templates/prefs/sourceselect.inc
Chora Links:
http://cvs.horde.org/diff.php/imp/lib/Compose.php?r1=1.374&r2=1.375&ty=u
http://cvs.horde.org/diff.php/imp/templates/prefs/sourceselect.inc?r1=1.29&r2=1.30&ty=u
More information about the cvs
mailing list