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