$recoveablePackages
* @var bool $selector
* @var string $subtitle
* @var bool $displayCopyLink
* @var bool $displayCopyButton
* @var bool $displayLaunch
* @var bool $displayDownload
* @var bool $displayInfo
* @var string $viewMode
* @var string $importFailMessage
*/
if (empty($recoveablePackages)) {
return;
}
$installerLink = ($recoverPackage instanceof RecoveryPackage) ? $recoverPackage->getInstallLink() : '';
$disabledClass = empty($installerLink) ? 'disabled' : '';
if ($displayCopyLink) {
$toolTipContent = __(
'The recovery point URL is the link to the recovery point package installer.
The link will run the installer wizard used to re-install and recover the site.
Copy this link and keep it in a safe location to easily restore this site.',
'duplicator-pro'
);
$toolTipContent .= '
';
$toolTipContent .= __('This URL is valid until another recovery point is set.', 'duplicator-pro');
$toolTipContent .= '';
?>