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