Clean up and optimize section_delete().

At most generates two SQL queries instead of 102.
This and the memory usage could be cut even more, but
would result in inability to filter values before passing them
to the activity message or callback handlers.

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

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

* Fix page template and css validation.
* Generates two queries at the most instead of 102.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5284 2fea6a4d-a838-0410-917b-93a53c48e9d2
Verbatim criteria on Users panel (see r3891). Also fixes nebulous privs search results when non-integer values are supplied.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5285 2fea6a4d-a838-0410-917b-93a53c48e9d2
Reduce vertical rhythm of form elements

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5286 2fea6a4d-a838-0410-917b-93a53c48e9d2
Fix non-integer search terms on Sections panel

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5287 2fea6a4d-a838-0410-917b-93a53c48e9d2
Amend horizontal rhythm of form elements

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5288 2fea6a4d-a838-0410-917b-93a53c48e9d2
tap-highlight, not just for links

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5289 2fea6a4d-a838-0410-917b-93a53c48e9d2
More work on jQuery UI button styling

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5290 2fea6a4d-a838-0410-917b-93a53c48e9d2
Focus border colours were a too harsh I think - removing

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5291 2fea6a4d-a838-0410-917b-93a53c48e9d2
pageby_form() renders links instead of a form.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5292 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduces '{$event}_ui > pageby_values' callback event.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5293 2fea6a4d-a838-0410-917b-93a53c48e9d2
Focus for all jQuery UI button types

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5294 2fea6a4d-a838-0410-917b-93a53c48e9d2
Reduce vertical margin on .txp-navigation elements

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5295 2fea6a4d-a838-0410-917b-93a53c48e9d2
First stab at denerdifying search criteria. See Issue 348.

Privilege searching on the Users panel can now be performed by privilege number and/or localised privilege name. Multiple entries can be retrieved by comma-separating the priv criteria.

Filtering by yes/no columns on the Section panel is also more human friendly: filter by 'truthy' things like 1, true, yes (localised); or 'falsy' things like 0, false, no (localised); or any unique substring thereof.

Although the core does not implement case sensitive searching at present, the multiCompare() function does. Plugin authors may employ the function flags to configure comparison behaviour.

This feature may be expanded as the search tools are improved across the admin side. No doubt the function can be further extended/optimised as well.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5296 2fea6a4d-a838-0410-917b-93a53c48e9d2
nav_form() renders links instead of a form.

Renders prev and next links, 5 page numbers, and up to 4
jump links depending on the viewed page.

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

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5298 2fea6a4d-a838-0410-917b-93a53c48e9d2
Experimenting with the alternative to PHP based index.

SQL can transliterate values too, and do it the same way
as other comparisons. It's own operators act consistently
across board and handle locale/encoding options
transparently.

This could of course be automated (generation of SQL),
and if we had better DB layer and stuff like prepared
statements, this would become real pretty too.

Ideally, I think there should be "function" that generates
search queries from the given values transparently,
instead of us having to write this type of mess, or using
the application for the searches.

Intentionally left out any type of multi-value support,
or extra parsing since it would increase the results count
when all-fields search functionality is implemented.

Searching sentences containing commas would truly
become impossible unless advanced quote-parser is
implemented.

Also added a small example of searching all fields at
once by feeding HTTP GET search_method parameter
an array. This will invoke notices due to the pages
expecting arrays tho.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5299 2fea6a4d-a838-0410-917b-93a53c48e9d2
In author_save(), do not escape user attributes  twice.
 
Fixes a regression from r4921.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5300 2fea6a4d-a838-0410-917b-93a53c48e9d2
Merge remote-tracking branch 'upstream/master'