Ejemplo n.º 1
0
function paeme_preprocess_htmlmail(&$variables)
{
    // default preprocess
    template_preprocess_htmlmail($variables);
    // use the HTML email text format for the message body
    //$variables['body'] = check_markup($variables['body'], 'mail_format');
}
Ejemplo n.º 2
0
/**
 * Process variables to format email messages.
 *
 * @see htmlmail.tpl.php
 */
function bollaert_preprocess_htmlmail(&$variables)
{
    // Run the default preprocess function.
    template_preprocess_htmlmail($variables);
    // Use the 'HTML Email' text format for the message body.
    $variables['body'] = check_markup($variables['body'], 'html_email');
}