<?php

/**
 *
 * @package templates/default
 */

defined('ABSPATH') || defined('DUPXABSPATH') || exit;

use Duplicator\Installer\Core\Params\PrmMng;

$paramsManager = PrmMng::getInstance();
$title         = DUPX_InstallerState::isNewSiteIsMultisite() ? 'New SUPER ADMIN account' : 'New Admin Account';
?>
<div class="hdr-sub3 margin-top-2"><?php echo $title; ?></div>
<p style="text-align: center">
    <i style="color:gray;font-size: 11px">
        This feature is optional.  If the username already exists the account will NOT be created or updated.
    </i>
</p>
<div class="dupx-opts">
    <?php $paramsManager->getHtmlFormParam(PrmMng::PARAM_WP_ADMIN_CREATE_NEW); ?>
    <div id="new-admin-fields-wrapper" >
        <?php
        $paramsManager->getHtmlFormParam(PrmMng::PARAM_WP_ADMIN_NAME);
        $paramsManager->getHtmlFormParam(PrmMng::PARAM_WP_ADMIN_PASSWORD);
        $paramsManager->getHtmlFormParam(PrmMng::PARAM_WP_ADMIN_MAIL);
        $paramsManager->getHtmlFormParam(PrmMng::PARAM_WP_ADMIN_NICKNAME);
        $paramsManager->getHtmlFormParam(PrmMng::PARAM_WP_ADMIN_FIRST_NAME);
        $paramsManager->getHtmlFormParam(PrmMng::PARAM_WP_ADMIN_LAST_NAME);
        ?>
    </div>
</div>
