You are here

function theme_upgrade_status_version in Upgrade Status 5

1 theme call to theme_upgrade_status_version()
theme_upgrade_status_report in ./upgrade_status.admin.inc
Theme project status report.

File

./upgrade_status.admin.inc, line 552
Checks to see if your installed modules are available for the next major release of Drupal.

Code

function theme_upgrade_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;
}