check for defined constants
Fix swapped date/time

Let's recover the original "<time> on <date>" format
Fix number of elements consistency in pagination

Per bug report http://www.concrete5.org/developers/bugs/5-6-3-1/displaypaginationv2-adds-extra-numbers-when-...-is-present/
Allow printing attributes with a value of zero

In case of 'number' attributes, let's print out their values when they
contain also the value of zero.
Merge pull request #1786 from mlocati/patch-1

Allow printing attributes with a value of zero
Removed even number element restriction

I removed the even number of elements restriction AND changed the default number of pages over to 9 to be more similar to the current number of starting elements.

There is still a restriction where you cannot have less than 7 elements showing. I think if someone did want to do something like this it would be more of a [Previous][$current][Next] sort of look but I'm not going to take the time to implement that here.
Merge pull request #1785 from EC-Joe/patch-1

Fix number of elements consistency in pagination
Merge pull request #1783 from mlocati/fix-formatting-datetime-attribute

Fix swapped date/time
make it possible to search for 0/1 and nothing
Merge pull request #1762 from Remo/patch-2

check for defined constants