Encode aLink()'s arguments properly.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4624 2fea6a4d-a838-0410-917b-93a53c48e9d2
aLink()'s additional arguments are optional.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4625 2fea6a4d-a838-0410-917b-93a53c48e9d2
Programming style and consistency.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4626 2fea6a4d-a838-0410-917b-93a53c48e9d2
Make IMPATH constant accessible anywhere.

First step towards making uploading to the Images
panel feasible.

See issue #314

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4627 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduces get_safe_image_types().

Second step towards making uploading to the Images
panel feasible.

See issue #314

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4628 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduce a CSS grid layout system

Will gradually phase out remaining table-based layouts

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4629 2fea6a4d-a838-0410-917b-93a53c48e9d2
Moved check_gd() to txplib_misc.php.

Third step towards making uploading to the Images
panel feasible.

See issue #314

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4630 2fea6a4d-a838-0410-917b-93a53c48e9d2
Improvements and fixes to image_data().

* Proper default values.
* Uses get_safe_image_types().
* Removed reliance on error suppression.
* Restrict '$meta', and make all params optional.

Fourth step towards making uploading to the Images
panel feasible.

See issue #314

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4631 2fea6a4d-a838-0410-917b-93a53c48e9d2
Remove a #content_switcher CSS rule

May cause some shonky layout on forms/pages/styles pages until a couple of upcoming patches are landed by Stef.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4632 2fea6a4d-a838-0410-917b-93a53c48e9d2
Moves image_data() to txplib_misc.php.

Closes issue #314

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4633 2fea6a4d-a838-0410-917b-93a53c48e9d2
Needs a 'white-space:nowrap' CSS rule on switcher-list content. Thanks Philippe Wittenbergh.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4634 2fea6a4d-a838-0410-917b-93a53c48e9d2
Start of responsive grid work.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4635 2fea6a4d-a838-0410-917b-93a53c48e9d2
De-table programm: Styles panel improvements.

* Markup tidying. Remove presentational tables and use grid-based layout instead.
* Sheets can now be renamed at will. Referential integrity with Sections is maintained.
* 'Copy as' replaced with a 'Duplicate' feature. Cloned sheets have '_copy' appended to their name unless the name is altered prior to duplication. Current textarea content is used as new content.
* New callback 'css_saved' on successful save/rename/clone. Old and new names passed as arguments so plugins can react accordingly.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@4636 2fea6a4d-a838-0410-917b-93a53c48e9d2
Remove X-UA-Compatible from front-side theme files. Invalid HTML5.

I think it's more beneficial that the front-side theme is seen to pass W3C validator than the forcing an IE render engine - so removing this.

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