$schemas .= sprintf($th, $totalRows); //$schemas.= sprintf($th, 'Delete'); $schemas .= "</tr>"; $schemas .= "</table>"; return $schemas; } $oUpgrader->initDatabaseConnection(); if (array_key_exists('btn_clean_audit', $_POST)) { $upgrade_id = $_POST['upgrade_action_id']; $oUpgrader->oAuditor->cleanAuditArtifacts($upgrade_id); } $aAudit = $oUpgrader->oAuditor->queryAuditAllDescending(); /*-------------------------------------------------------*/ /* Error handling */ /*-------------------------------------------------------*/ $aErrors = $oUpgrader->getErrors(); if (count($aErrors) > 0) { ?> <div class='errormessage'><img class='errormessage' src='<?php echo OX::assetPath(); ?> /images/errormessage.gif' width='16' height='16' border='0' align='absmiddle'> <?php foreach ($aErrors as $k => $err) { echo $err . '<br />'; } ?> </div> <?php } $aMessages = $oUpgrader->getMessages();