fix admin templates for smarty 3