You are here

function theme_mail_safety_details in Mail Safety 7

Same name and namespace in other branches
  1. 7.2 mail_safety.module \theme_mail_safety_details()

Returns HTML for the details of a mail.

Parameters

array $variables: An associative array containing:

  • mail: The message array that is being formatted.
1 theme call to theme_mail_safety_details()
mail_safety_admin_details_mail in ./mail_safety.admin.inc
Page callback: Displays a mail its parameters filtered by the dashboard.

File

./mail_safety.module, line 280
The core Mail Safety module file

Code

function theme_mail_safety_details($variables) {
  $mail = $variables['mail']['mail'];
  $output = '<h2>' . $mail['subject'] . '</h2>';
  $output .= '<pre>' . print_r($mail, TRUE) . '</pre>';
  return check_markup($output);
}