You are here

function theme_mail_edit_variables in Mail Editor 5

1 theme call to theme_mail_edit_variables()
mail_edit_form in ./mail_edit.module

File

./mail_edit.module, line 198

Code

function theme_mail_edit_variables($element) {
  $output = "<p>Usable variables are:</p>";
  $output .= "<dl>\n";
  foreach ($element['#variables'] as $dt => $dd) {
    $output .= "<dt>{$dt}</dt><dd>{$dd}</dd>\n";
  }
  $output .= "</dl>\n";
  return $output;
}