Changed source root directory

This commit is contained in:
2026-03-05 16:30:11 +01:00
parent dc85447ee1
commit 538f85d7a2
5868 changed files with 749734 additions and 99 deletions

View File

@@ -0,0 +1,25 @@
<?php
/**
*
* @package templates/default
*/
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
?>
<div id="installer-switch-wrapper">
<span class="btn-group">
<button type="button" id="s1-switch-template-btn-basic" class="s1-switch-template-btn active" title="Enable basic installer mode">
Basic
</button>
<button
type="button"
id="s1-switch-template-btn-advanced"
class="s1-switch-template-btn"
data-template="<?php echo DUPX_Template::TEMPLATE_ADVANCED; ?>"
title="Enable advanced installer mode"
>
Advanced
</button>
</span>
</div>

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">
Next <i class="fa fa-caret-right"></i>
</button>
</div>
</div>
</div>

View File

@@ -0,0 +1,8 @@
<?php
/**
*
* @package templates/default
*/
defined('ABSPATH') || defined('DUPXABSPATH') || exit;

View File

@@ -0,0 +1,16 @@
<?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: Deployment ' .
'<div class="sub-header">This step will extract the archive file, install & update the database.</div>',
'showInstallerMode' => true,
'showSwitchView' => true,
'showInstallerLog' => false
));

View File

@@ -0,0 +1,12 @@
<?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: Test Site'
));

View File

@@ -0,0 +1,22 @@
<?php
/**
*
* @package templates/default
*/
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
use Duplicator\Installer\Core\Params\PrmMng;
use Duplicator\Libs\Snap\SnapJson;
$nextStepPrams = array(
PrmMng::PARAM_CTRL_ACTION => 'ctrl-step4',
DUPX_Security::CTRL_TOKEN => DUPX_CSRF::generate('ctrl-step4')
);
?>
<script>
DUPX.deployStep1 = function () {
DUPX.oneStepDeploy($('#s1-input-form'), <?php echo SnapJson::jsonEncode($nextStepPrams); ?>);
};
</script>