You are here

function theme_maillog_body in Maillog / Mail Developer 6

Same name and namespace in other branches
  1. 7 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

File

./maillog.module, line 287
Provides a 'maillog' node type

Code

function theme_maillog_body($body) {
  $output = '';
  $output .= '<div class="field mail-log-body">';
  $output .= '<div class="field-label">' . t('Body') . ':</div>';
  $output .= '<div class="field-item">';
  $output .= '<pre>';
  $output .= check_plain($body);
  $output .= '</pre>';
  $output .= '</div>';
  $output .= '</div>';
  return $output;
}