bug #1917: Remove conf parameter and use @conf instead
bug #1717: unescape string when updating a template
bug #1779: Handle error when the marketplace is not available