$tplData * @var bool $blur */ $tplMng = TplMng::getInstance(); $system_global = SystemGlobalEntity::getInstance(); // Filter out failed backups (status < 0) from the main backup list $statusConditions = [ [ 'op' => '>=', 'status' => 0, ], ]; $totalElements = PackageUtils::getNumPackages([DupPackage::getBackupType()], $statusConditions); $statusActive = DupPackage::isPackageRunning(); $activePackage = DupPackage::getNextActive(); $isTransfer = $activePackage === null ? false : $activePackage->getStatus() == AbstractPackage::STATUS_STORAGE_PROCESSING; $pager = new PackageListTable(); $perPage = $pager->get_per_page(); $currentPage = $statusActive && !$isTransfer ? 1 : $pager->get_pagenum(); $offset = ($currentPage - 1) * $perPage; $global = GlobalEntity::getInstance(); do_action('duplicator_before_packages_table_action'); ?>
$perPage) { ?>