cleaning from unused vars and $db init..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
methods visibility, forgot $db init.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved function get_file_listing() to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Fixed disregard due to a wrong query

Signed-off-by: emanuele <emanuele45@gmail.com>
Slight re-work of the _api method and small change to is_not_guest to better handle these methods (at least I hope)

Signed-off-by: emanuele <emanuele45@gmail.com>
made some methods private since they are internals an not used outsite the class..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Now is AJAX and not SJAX + fixed some (several) errors

Signed-off-by: emanuele <emanuele45@gmail.com>
Missing global - thanks Norv

Signed-off-by: emanuele <emanuele45@gmail.com>
Just a tiny comment and a probably more meaningful variable name

Signed-off-by: emanuele <emanuele45@gmail.com>
Added a test for poll creation. Fixed the default values in createPoll function because
test failed from the beginning with them. ;D

Signed-off-by: Norv <a.w.norv@gmail.com>
Add tests for poll subs functions.

Signed-off-by: Norv <a.w.norv@gmail.com>
Disable testing by default (we're using db). Add documentation.

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

Picks
Merge pull request #566 from norv/unittest

Small additions for testing
Merge pull request #549 from emanuele45/ajax_improved

Ajax improved
Bit of standarization, add action_index() to Display controller.

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

Display controller.
Security policy: reject magic_quotes configuration if enabled. Cleanup QueryString.php of magic quotes.

Signed-off-by: Norv <a.w.norv@gmail.com>
Move utility functions _recursive() to Util class. They aren't currently used, but potentially useful...

Signed-off-by: Norv <a.w.norv@gmail.com>
htmlspecialchars() HTTP_USER_AGENT. (from Util.) This removes db entirely from QueryString.php..

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