Merge pull request #259 from engelnyst/pedantic_adds

Pedantic adds
Login, basic refactoring for queries.

Signed-off-by: Norv <a.w.norv@gmail.com>
Add Stats subs, and start off the refactoring of action_stats().

Signed-off-by: Norv <a.w.norv@gmail.com>
A couple more uses of the logOnline function.

Signed-off-by: Norv <a.w.norv@gmail.com>
Add Who subs, and viewers(), formatViewers().

Signed-off-by: Norv <a.w.norv@gmail.com>
Use the viewers() for display as well.

Signed-off-by: Norv <a.w.norv@gmail.com>
Cleanup, small refactoring, of login. isFirstLogin()

Signed-off-by: Norv <a.w.norv@gmail.com>
Use the right file for them spiders.

Signed-off-by: Norv <a.w.norv@gmail.com>
Quick refactor login history update.

Signed-off-by: Norv <a.w.norv@gmail.com>
Refactor associated topic retrieval (for a message).

Signed-off-by: Norv <a.w.norv@gmail.com>
Oops. Alignment got lost in rebase.

Signed-off-by: Norv <a.w.norv@gmail.com>
Merge pull request #260 from norv/post

Post
Merge pull request #212 from norv/logins

Logins
One missed in b9868394c5d0e058de34f19c98b2a80857d6554d

Signed-off-by: emanuele <emanuele45@gmail.com>
! Add basic capability to search PM Sent items to the controller

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Update the templates to add the option
! Remove a bunch of unused globals since we were there

Signed-off-by: Spuds <spuds@spudsdesign.com>
When  splitting a topic is possible to move the new topic to a different board, plus it is possible to leave a message where the posts have been moved

Signed-off-by: emanuele <emanuele45@gmail.com>

Conflicts:

	sources/subs/Boards.subs.php
	sources/subs/Topic.subs.php
A small parameter to decide the behaviour of the "current board" in the dropdown: disabled or selected

Signed-off-by: emanuele <emanuele45@gmail.com>
These are followups or whatever they would be called

Signed-off-by: emanuele <emanuele45@gmail.com>

Conflicts:

	sources/subs/Messages.subs.php
	sources/subs/Topic.subs.php
Improved getBoardList to include inclusion by permission (through boardsAllowedTo)

Signed-off-by: emanuele <emanuele45@gmail.com>

Conflicts:

	sources/controllers/Post.controller.php
	sources/subs/Boards.subs.php