<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%Links::Update::check%>

<html>
  <head>
    <title>Available Updates</title>
  </head>
  <body>
<%if error%>
    <div id="error"><%error%></div>
<%else%>
    <p class="critical">
      <span id="critical_count"><%critical_installable%></span> critical update(s) available.
    </p>
    <p class="recommended">
    <span id="recommended_count"><%recommended_installable%></span> recommended update(s) available.
    </p>
    <p class="optional">
      <span id="optional_count"><%optional_installable%></span> optional update(s) available.
    </p>
    <p class="version">
      <span id="version_available"><%version_installable%></span> new version is available for download.
    </p>
    <p class="total">
      Total updates available: <span id="total_count">
        <%~set total = $critical_installable%>
        <%~set total += $recommended_installable%>
        <%~set total += $optional_installable%>
        <%~set total += $version_installable%>
        <%~total~%>
      </span>
    </p>
<%endif%>
  </body>
</html>
