Email templates: Set default value for type of template, fix CSS
Don't rely on short_open_tag in PHP5.3