You are here

function theme_maillog in Maillog / Mail Developer 7

Same name and namespace in other branches
  1. 6 maillog.module \theme_maillog()

Render a maillog record.

1 theme call to theme_maillog()
maillog_maillog_page in ./maillog.pages.inc
Display a maillog record.

File

./maillog.module, line 171
Primary hook implementations for the Maillog module.

Code

function theme_maillog($variables) {
  $output = theme('maillog_header_from', array(
    'header_from' => $variables['maillog']['header_from'],
  ));
  $output .= theme('maillog_header_to', array(
    'header_to' => $variables['maillog']['header_to'],
  ));
  $output .= theme('maillog_header_reply_to', array(
    'header_reply_to' => $variables['maillog']['header_reply_to'],
  ));
  $output .= theme('maillog_header_all', array(
    'header_all' => $variables['maillog']['header_all'],
  ));
  $output .= theme('maillog_body', array(
    'body' => $variables['maillog']['body'],
  ));
  return $output;
}