Merge pull request #326 from emanuele45/master

Couple of quick fixes
single commit with many changes (cleanup, methods visibility, moved db queries to subs)
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
docs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved functions to their related subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
merge similar tasks into a sinlge function.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge pull request #328 from emanuele45/master

Fix for #327
typo in function call..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge branch 'master' of git://github.com/elkarte/Elkarte into manage_paid
typos in comments..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Adapted graphic to work even if gdf fonts are missing + removal of some code for php < 4.3 compatibility

Signed-off-by: emanuele <emanuele45@gmail.com>
 Adapted the credits template to accomodate more categories of external stuff

Signed-off-by: emanuele <emanuele45@gmail.com>
Added a new set of fonts for the CAPTCHA

Signed-off-by: emanuele <emanuele45@gmail.com>
Add possibility to select the number of chars required for captcha

Signed-off-by: emanuele <emanuele45@gmail.com>
Enfoce a minimum of 5 chars

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #330 from emanuele45/fonts

New set of fonts (SIL - OFL) and some other change to the captcha
Merge pull request #329 from eurich/manage_paid

ManagePaid Refactoring
Merge pull request #331 from emanuele45/captcha_enhance

Captcha enhance
Moved (most of the) logic out from Settings.php

Signed-off-by: emanuele <emanuele45@gmail.com>
A couple of dir-related variables not unset

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #332 from emanuele45/dir_checks

Dir checks