[MOD] Reskin layout.tpl to fit smarty's syntax