Testing suggestions on ajaxify things

Signed-off-by: emanuele <emanuele45@gmail.com>
Some more changes to properly handle the "api" requests

Signed-off-by: emanuele <emanuele45@gmail.com>
And the javascript to handle the notification button

Signed-off-by: emanuele <emanuele45@gmail.com>
Ajaxify'ed disregard button

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Mix of refactoring of the Markasread controller plus adding of ajax "mark board read" and "mark all messages as read" in an ajax fashion

Signed-off-by: emanuele <emanuele45@gmail.com>
On-the-fly refactoring of some queries moved to a function

Signed-off-by: emanuele <emanuele45@gmail.com>
Forgot a change proposed by Norv

Signed-off-by: emanuele <emanuele45@gmail.com>
A function to retrieve child boards + some documentation

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

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Ajax for mark "all messages as read" in action=unread

Signed-off-by: emanuele <emanuele45@gmail.com>
Another couple of queris moved to a function

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Add quick 'n dirty Util class, legacy string functions from $smcFunc.

Signed-off-by: Norv <a.w.norv@gmail.com>
Quick ->elk_ replacement.

Signed-off-by: Norv <a.w.norv@gmail.com>
Refactor db layer. (add db classes, add init per type)

Signed-off-by: Norv <a.w.norv@gmail.com>
Add database subs general file, and mysql class. Initialize in the class...

Signed-off-by: Norv <a.w.norv@gmail.com>
Add postresql class with quick init.

Signed-off-by: Norv <a.w.norv@gmail.com>
Add SQLite class and quick initialization.

Signed-off-by: Norv <a.w.norv@gmail.com>