smarty-view.init event added
Code reformat
Merge branch 'develop'