$plugin_compat = version_compare($plugin_version, '0.4.5'); $status = $settings['status']; $notes = empty($settings['notes']) ? __("No notes were given for this package", 'wpduplicator') : $settings['notes']; ?> <?php if ($plugin_compat >= 0) { ?> <?php //Links $uniqueid = "{$row['token']}_{$row['packname']}"; $sqlfilelink = duplicator_snapshot_urlpath() . "{$uniqueid}_database.sql"; $packagepath = duplicator_snapshot_urlpath() . "{$uniqueid}_package.zip"; $installerpath = duplicator_snapshot_urlpath() . "{$uniqueid}_installer.php"; $installfilelink = "{$installerpath}?get=1&file={$uniqueid}_installer.php"; $logfilelink = duplicator_snapshot_urlpath() . "{$uniqueid}.log"; $logfilename = "{$uniqueid}.log"; ?> <?php if ($status == 'Pass') { ?> <tr class="dup-pack-info"> <td style="padding-right:20px !important"><input name="delete_confirm" type="checkbox" id="<?php echo $uniqueid; ?> " /></td> <td><a href="javascript:void(0);" onclick="return Duplicator.Pack.ToggleDetail('<?php echo $detail_id; ?> ');">[<?php
?> ); return false;"><?php _e("Show Download Links", 'wpduplicator'); ?> </button> </div> </td> </tr> <!-- LEGACY PRE 0.3.1 PACKS --> <?php } else { ?> <?php $legacy_package = duplicator_snapshot_urlpath() . "{$row['zipname']}"; ?> <tr class="dup-pack-info"> <td style="padding-right:20px !important"><input name="delete_confirm" type="checkbox" id="<?php echo $row['zipname']; ?> " onclick="Duplicator.rowColor(this)" /></td> <td><a href="javascript:void(0);" onclick="return Duplicator.toggleDetail('<?php echo $detail_id; ?> ');">[<?php echo __("View", 'wpduplicator') . ' ' . $row['id']; ?> </a>]</td> <td><?php