sprintf on attachment view/download times

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge branch 'master' of https://github.com/elkarte/Elkarte
Re-use post.js in polls too

Signed-off-by: emanuele <emanuele45@gmail.com>
Reduced duplication of templates for polls

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

Signed-off-by: emanuele <emanuele45@gmail.com>
another typo and wrong variable

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge branch 'master' into poll_template
Merge pull request #62 from emanuele45/poll_template

Poll template refactoring.
I'll merge it in, to make it available for our live testing. Code review is very useful imho, it might spot things, but of course it doesn't replace testing. :)