<p class="info">{lang}wcf.acp.packageUpdate.noneAvailable{/lang}</p>
{else}
{foreach from=$availableUpdates item=availableUpdate}
- <article class="wcf-message wcf-messageDecor{if $availableUpdate.version.updateType == 'security'} wcf-messageRed{/if}"><!-- ToDo: Style! -->
+ <article class="wcf-message wcf-messageDecor{if $availableUpdate.version.isCritical} wcf-messageRed{/if}"><!-- ToDo: Style! -->
<div>
<hgroup class="wcf-subHeading">
<h1>
$conditions->add("package IN (SELECT DISTINCT package FROM wcf".WCF_N."_package)");
$sql = "SELECT pu.packageUpdateID, pu.packageUpdateServerID, pu.package,
- puv.packageUpdateVersionID, puv.updateType, puv.packageDate, puv.filename, puv.packageVersion
+ puv.packageUpdateVersionID, puv.isCritical, puv.packageDate, puv.filename, puv.packageVersion
FROM wcf".WCF_N."_package_update pu
LEFT JOIN wcf".WCF_N."_package_update_version puv
ON (puv.packageUpdateID = pu.packageUpdateID)
// version data
if (!isset($updates[$existingVersion['packageID']]['versions'][$row['packageVersion']])) {
$updates[$existingVersion['packageID']]['versions'][$row['packageVersion']] = array(
- 'updateType' => $row['updateType'],
+ 'isCritical' => $row['isCritical'],
'packageDate' => $row['packageDate'],
'packageVersion' => $row['packageVersion'],
'servers' => array()