Merge pull request #314 from emanuele45/master

mistake
! method visibility and globals

Signed-off-by: Spuds <spuds@spudsdesign.com>
! spacing, newlines, brakcets .. oh my

Signed-off-by: Spuds <spuds@spudsdesign.com>
! some directory case updates

Signed-off-by: Spuds <spuds@spudsdesign.com>
! move some querys to Themes.subs

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Move the other querys to Pacakge.subs

Signed-off-by: Spuds <spuds@spudsdesign.com>
! update to Themes.subs.php to add the moved querys

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Updates to Package.subs.php, adding querys from package controller

Signed-off-by: Spuds <spuds@spudsdesign.com>
! some more pesky directory case changes

Signed-off-by: Spuds <spuds@spudsdesign.com>
! wrong variable used in the array or the return, your choice :P

Signed-off-by: Spuds <spuds@spudsdesign.com>
! spacing, tabs and the like that get found along the way

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Spelling errors

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Add missing documentation
! Fix spelling errors
! Make better use of the moved querys to reduce redundant redundancy
! wrong var used in the query

Signed-off-by: Spuds <spuds@spudsdesign.com>
Quick convert of anti-spam questions to their own table

Signed-off-by: emanuele <emanuele45@gmail.com>
a bit of interface

Signed-off-by: emanuele <emanuele45@gmail.com>
Reworked the entire create_control_verification function to make it easier (I hope) to read and use

Signed-off-by: emanuele <emanuele45@gmail.com>
I don't like at all validateToken...

Signed-off-by: emanuele <emanuele45@gmail.com>
! unused globals, missing docs and wrong variables fixed

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #318 from emanuele45/master

too lazy move to its own branch...
basic cleaning
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>