send_email() supports arrays of email addresses.

Merges separate email and name arguments while allowing
list of addresses.

Adds Cc and Bcc field support.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4979 2fea6a4d-a838-0410-917b-93a53c48e9d2
Should be 'bcc', not 'bbc'.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4980 2fea6a4d-a838-0410-917b-93a53c48e9d2
Turn set_pref() into a wrapper for create_ and update_pref().

While keeping set_pref() 'unique' behavior intact. It still
will can add privates when site-wide pref exists, but will
update all if trying to access just the global one instead of
just the one.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4981 2fea6a4d-a838-0410-917b-93a53c48e9d2
Renamed create_pref()'s '$value' argument to '$val'.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4982 2fea6a4d-a838-0410-917b-93a53c48e9d2
Double spaces.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4983 2fea6a4d-a838-0410-917b-93a53c48e9d2
Give set_pref() a example.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4984 2fea6a4d-a838-0410-917b-93a53c48e9d2
Give get_pref() a example.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4985 2fea6a4d-a838-0410-917b-93a53c48e9d2
Give pref_exists() a example.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4986 2fea6a4d-a838-0410-917b-93a53c48e9d2
Give create_pref() a example.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4987 2fea6a4d-a838-0410-917b-93a53c48e9d2
Times were tough.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4988 2fea6a4d-a838-0410-917b-93a53c48e9d2
Use Pref API for Preferences panel.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4989 2fea6a4d-a838-0410-917b-93a53c48e9d2
Use tag()s for Preferences listing.

Sanitize used HTML attributes and clean up programming
style.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4990 2fea6a4d-a838-0410-917b-93a53c48e9d2
Pass compacted data arrays to User API's callback handlers.

Uses named arrays instead of nameless arguments. This
allows adding new arguments without breaking b/c or
messing the argument order when mixing additional values
and original parent argument.

This also matches other callback events (like article_saved),
which pass data blobs to handlers.

Since the event gives a consistent data array, the user
can know the available options by just inspecting the array,
where normally you would have to read docs or source
code.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4991 2fea6a4d-a838-0410-917b-93a53c48e9d2
Pass 'nonce' and 'hash' on 'user.create > done' event.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4992 2fea6a4d-a838-0410-917b-93a53c48e9d2
Pass 'hash' on 'user.password_change > done' event.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4993 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduces 'preference.create > done' callback event.

Is fired each time new preference string is created.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4994 2fea6a4d-a838-0410-917b-93a53c48e9d2
Wrong function in the example.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4995 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduces 'preference.update > done' callback event.

Is fired each time a preference string is updated.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4996 2fea6a4d-a838-0410-917b-93a53c48e9d2