{$subject="Новый комментарий от `$comment->name|escape`" scope=root}

{$properties = array(
    "name"     => "Имя",
    "email"    => "E-mail",
    "text"     => "Текст",
    "ip"       => "IP"
)}

{foreach $comment AS $property => $value}
    {if !empty($properties[$property])}
        {$properties[$property]}: {$value}<br>
    {/if}
{/foreach}
