Use change_user_group() for Users panel's multi-edit tool.

Fixes undefined '$msg' variable notice that appears when
removing an user fails.

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

Don't need extended rules now we aren't supporting IE < 8

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4883 2fea6a4d-a838-0410-917b-93a53c48e9d2
Class 'plugin-column' deprecated in favour of 'txp-layout-textbox'

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4884 2fea6a4d-a838-0410-917b-93a53c48e9d2
Add prefs-form class on setup forms

Means one less class rule needed.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4885 2fea6a4d-a838-0410-917b-93a53c48e9d2
'raw' is the escape value, not the attribute value

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4886 2fea6a4d-a838-0410-917b-93a53c48e9d2
Use function span, plus a few spaces

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4887 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduces functions for updating and creating users.

Introduces create_user(), update_user() and
change_user_password().

See issue #330

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4888 2fea6a4d-a838-0410-917b-93a53c48e9d2
Few examples for user functions.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4889 2fea6a4d-a838-0410-917b-93a53c48e9d2
change_user_group() fires an event on success.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4890 2fea6a4d-a838-0410-917b-93a53c48e9d2
Users API uses 'done' as the optional success step.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4891 2fea6a4d-a838-0410-917b-93a53c48e9d2
callback_event() always returns a string.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4892 2fea6a4d-a838-0410-917b-93a53c48e9d2
Spacing to register_callback().

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4893 2fea6a4d-a838-0410-917b-93a53c48e9d2
Use User API for creating new users.

This also fixes SQL quoting that carried over to sent
emails, causing emails to contain incorrect information.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4894 2fea6a4d-a838-0410-917b-93a53c48e9d2
Use User API for changing passwords.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4895 2fea6a4d-a838-0410-917b-93a53c48e9d2
Drop direct call to mysql_error() from change_pass().

Best if the form didn't announce last MySQL error to
whole world to see. The error will be invoked and shown
if necessary even without that, but only to those that have
correct permissions.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4896 2fea6a4d-a838-0410-917b-93a53c48e9d2
Use User API for updating emails.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4897 2fea6a4d-a838-0410-917b-93a53c48e9d2
Only accept new email from POST.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4898 2fea6a4d-a838-0410-917b-93a53c48e9d2
Make it a bit clearer what author_edit() outputs and when.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4899 2fea6a4d-a838-0410-917b-93a53c48e9d2
Sanitize user-defined name present in the User editor form.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4900 2fea6a4d-a838-0410-917b-93a53c48e9d2
Label isn't dictated by that condition.

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