Admin-side error handling for XML requests.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3732 2fea6a4d-a838-0410-917b-93a53c48e9d2
Constistently set an image's date to "now" when the associated thumbnail is created, deleted, replaced, or updated. 

Fixes issue 126 - maybe.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3733 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduce txpAsyncForm, a jQuery plugin
 
Remove postForm(). Fixes issue 171.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3734 2fea6a4d-a838-0410-917b-93a53c48e9d2
Retooling, thus struggling a bit with white space and indentation.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3735 2fea6a4d-a838-0410-917b-93a53c48e9d2
Fix txpForm for documents  with > 1 form.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3736 2fea6a4d-a838-0410-917b-93a53c48e9d2
Properly bind and unbind AJAX error handler in txpForm.

Also: Short-circuit evalution of boolean terms considered harmful by Brendan Eich: "...the mighty if statement serves better."

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3737 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduce Javascript gTxt() function and matching jQuery plugin. 

See issue 180. Thanks, Gocom.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3738 2fea6a4d-a838-0410-917b-93a53c48e9d2
Merge latest default template from upstream. 

Thanks, philwareham.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3739 2fea6a4d-a838-0410-917b-93a53c48e9d2
E_ERROR and E_USER_ERROR cause immediate abort in admin-side error handler.


git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3740 2fea6a4d-a838-0410-917b-93a53c48e9d2
Validate  types from form submission. Verify success of DB operations.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3741 2fea6a4d-a838-0410-917b-93a53c48e9d2
Validation in write tab: Form override, validate on both 'post' and 'save' steps. 

Refactor ArticleCategoryConstraint into a generic CategoryConstraint class. Introduce article_validate() helper.


git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3742 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduce safe_column_num() to  fetch a db column as a numeric array. 

Thanks, saccade.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3743 2fea6a4d-a838-0410-917b-93a53c48e9d2
Combine multiple style sheets in output_css() with less memory overhead. 

Thanks, saccade.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3744 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduce public error handler, replace hand-rolled db error handling.


git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3745 2fea6a4d-a838-0410-917b-93a53c48e9d2
Permit parent category assignment during creation. Thanks Gil

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3746 2fea6a4d-a838-0410-917b-93a53c48e9d2
Separate comment and date areas on Write panel. Thanks Uli / Els / Phil

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3747 2fea6a4d-a838-0410-917b-93a53c48e9d2
Added div wrapper around tables for better control of overflow on narrow devices. Fixes Issue 167. Thanks ph.wittenbergh

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3748 2fea6a4d-a838-0410-917b-93a53c48e9d2
Use consistent save error messages across tabs.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3749 2fea6a4d-a838-0410-917b-93a53c48e9d2
Remove erroneous 'for' attribute in category pane. Thanks philwareham

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@3750 2fea6a4d-a838-0410-917b-93a53c48e9d2
Drop comments fieldset on Write panel. Fixes Issue 182. Thanks philwareham

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