function theme_update_status_version in Update Status 5.2
1 theme call to theme_update_status_version()
- theme_update_status_report in ./
update_status.module - Theme project status report.
File
- ./
update_status.module, line 1500
Code
function theme_update_status_version($version, $tag, $class) {
$output = '';
$output .= '<table class="version ' . $class . '">';
$output .= '<tr>';
$output .= '<td class="version-title">' . $tag . "</td>\n";
$output .= '<td class="version-details">';
$output .= l($version['version'], $version['release_link']);
$output .= ' <span class="version-date">(' . format_date($version['date'], 'custom', 'Y-M-d') . ')</span>';
$output .= "</td>\n";
$output .= '<td class="version-links">';
$output .= l(t('Download'), $version['download_link']) . ' · ' . l(t('Release notes'), $version['release_link']);
$output .= '</td>';
$output .= '</tr>';
$output .= "</table>\n";
return $output;
}