function theme_maillog_body in Maillog / Mail Developer 7
Same name and namespace in other branches
- 6 maillog.module \theme_maillog_body()
Render the 'Body' field in the node type 'Logged Mail'.
1 theme call to theme_maillog_body()
- theme_maillog in ./
maillog.module - Render a maillog record.
File
- ./
maillog.module, line 240 - Primary hook implementations for the Maillog module.
Code
function theme_maillog_body($variables) {
$output = '<div class="field mail-log-body">' . "\n";
$output .= ' <div class="field-label">' . t('Body') . ":</div>\n";
$output .= ' <div class="field-item">' . "\n";
$output .= " <pre>\n";
$output .= check_plain($variables['body']);
$output .= " </pre>\n";
$output .= " </div>\n";
$output .= "</div>\n";
return $output;
}