Updated smarty template to 3.1.19

Tried to update tinymce, but failed due to a bunch of modifications that had been done to the library. Will need more time for that.