first commit

This commit is contained in:
Roman Pyrih
2026-04-28 09:27:26 +02:00
commit 968c7e1248
4942 changed files with 1507729 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?php
/**
*
* @package templates/default
*/
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
?>
<style>
.recovery-main-info {
text-align: center;
margin: 0 100px;
}
</style>

View File

@@ -0,0 +1,31 @@
<?php
/**
*
* @package templates/default
*/
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
use Duplicator\Installer\Core\Params\PrmMng;
?>
<div id="next_action" class="bottom-step-action no-display" >
<div class="footer-buttons">
<div class="content-left">
<?php
dupxTplRender('pages-parts/step1/terms-and-conditions');
PrmMng::getInstance()->getHtmlFormParam(PrmMng::PARAM_ACCEPT_TERM_COND);
?>
</div>
<div class="content-right" >
<button
id="s1-deploy-btn"
type="button"
title="<?php echo DUPX_U::esc_attr('To enable this button the checkbox above under the "Terms & Notices" must be checked.'); ?>"
class="default-btn">
<i class="fas fa-undo-alt"></i> Restore Backup
</button>
</div>
</div>
</div>

View File

@@ -0,0 +1,22 @@
<?php
/**
*
* @package templates/default
*/
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
?>
<form id="s1-input-form" method="post" class="content-form" autocomplete="off" >
<?php
dupxTplRender('pages-parts/step1/info');
//dupxTplRender('pages-parts/step1/recovery-alert-info');
dupxTplRender('parts/validation/validate-area');
dupxTplRender('pages-parts/step1/actions-part');
?>
</form>
<?php
dupxTplRender(
'pages-parts/step1/proceed-confirm-dialog',
array('tableCount' => 0)
);

View File

@@ -0,0 +1,22 @@
<?php
/**
*
* @package templates/default
*/
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
$packageLife = DUPX_ArchiveConfig::getInstance()->getPackageLife('hours');
$created = DUPX_ArchiveConfig::getInstance()->created;
?><div class="generic-box" >
<div class="box-title" >
<i class="fas fa-exclamation-triangle"></i>Restore Backup Site Info
</div>
<div class="box-content" >
<div class="recovery-main-info red" >
This installer is about to overwrite the current data in this site with data from the Backup
created on <b><?php echo $created; ?></b> which is <b><?php echo $packageLife; ?> hour(s) old</b>.
</div>
</div>
</div>

View File

@@ -0,0 +1,15 @@
<?php
/**
*
* @package templates/default
*/
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
dupxTplRender('pages-parts/head/header-main', array(
'htmlTitle' => 'Step <span class="step">1</span> of 2: ' .
'Restore Backup <div class="sub-header">Launch the installer to restore the site.</div>',
'showSwitchView' => false,
'showHeaderLinks' => false,
));

View File

@@ -0,0 +1,14 @@
<?php
/**
*
* @package templates/default
*/
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
dupxTplRender('pages-parts/step4/actions/admin-login-button');
dupxTplRender('pages-parts/step4/important-final-notice');
dupxTplRender('pages-parts/step4/installer-result-summary');
dupxTplRender('pages-parts/step4/final-review-actions');
dupxTplRender('pages-parts/step4/full-report');

View File

@@ -0,0 +1,14 @@
<?php
/**
*
* @package templates/default
*/
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
dupxTplRender('pages-parts/head/header-main', array(
'htmlTitle' => 'Step <span class="step">2</span> of 2: Recovery process done',
'showSwitchView' => false,
'showHeaderLinks' => false,
));