From variable to constants for directories (at least it runs)

Signed-off-by: emanuele <emanuele45@gmail.com>
direcories defined in index.php (so that Settings.php doesn't change and should be even easier the upgrade)

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

Dir to const
saving some function calls ..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
typo :P
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
show the 'view results' button only if needed..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
missing function from Poll.subs.php
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge pull request #139 from eurich/poll_fixes

Poll fixes
Merge pull request #138 from eurich/code_saving

saving some function calls ..