! Calling relative time outside of the conditional will cause JS errors due to undefined strings (rt_xys language was not defined) which halts other JS from running in some browsers
! move the text strings to an js object, not sure why but I did, and called the relative time function after that.
! moved it to a addInline using deferred vs $context{'javascript_vars'] I don't think that will cause any problems!

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #948 from Spuds/UpdatesIII

Relative Time change
! couple of left over hackign attempt things .. the ones left seem like real attempts so I left those

Signed-off-by: Spuds <spuds@spudsdesign.com>
! remove a few stray newlines

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #949 from Spuds/UpdatesIII

Remove those pesky stray newlines
Added mention bbcode - fixes #942

Signed-off-by: emanuele <emanuele45@gmail.com>
Seems a duplicate

Signed-off-by: emanuele <emanuele45@gmail.com>
Revalidate mentions on form submit (fixes #941) and fix some of the issues in WYSIWYG (Opera is broken when in quickreply+WYSIWYG)

Signed-off-by: emanuele <emanuele45@gmail.com>
- methods visibility.
- moved all non-methods out of the controller :D

Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
if{space}(

Signed-off-by: emanuele <emanuele45@gmail.com>
for{space}(

Signed-off-by: emanuele <emanuele45@gmail.com>
while{space}(

Signed-off-by: emanuele <emanuele45@gmail.com>
foreach{space}(

Signed-off-by: emanuele <emanuele45@gmail.com>
require_once{no-space}(

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Spaces at the end of the line

Signed-off-by: emanuele <emanuele45@gmail.com>
Capitalized AS and ON in queries

Signed-off-by: emanuele <emanuele45@gmail.com>
Spaces before assignments/comparison

Signed-off-by: emanuele <emanuele45@gmail.com>
Spaces after assignments/comparison

Signed-off-by: emanuele <emanuele45@gmail.com>
echo{space}'

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