function theme_update_detailed_email_message_version in Update Status Detailed Email 6
Same name and namespace in other branches
- 7 update_detailed_email.module \theme_update_detailed_email_message_version()
Theme a project version.
Parameters
$version: An array of version information to be themed.
$title: A string to use as the title.
Return value
$output Themed output.
1 theme call to theme_update_detailed_email_message_version()
- theme_update_detailed_email_message in ./
update_detailed_email.module - Theme the detailed update email.
File
- ./
update_detailed_email.module, line 311 - Adds detail to the email message Drupal core's Update Status sends.
Code
function theme_update_detailed_email_message_version($version, $title) {
$output = "<br />\n";
$output .= t($title);
$output .= ' ' . l($version['version'], $version['release_link']);
$output .= ' (' . format_date($version['date'], 'custom', 'Y-M-d') . ') ';
$output .= ' ' . l(t('Download'), $version['download_link']);
$output .= ' | ' . l(t('Release notes'), $version['release_link']);
return $output;
}