<div class="page-title">
    <h1><?php echo $this->user->lang("Security Settings - Domain Encryption");?></h1>
    <p class="alert-content"><?php echo $this->user->lang("Manage hosting password encryption");?></p>
</div>

<div class="cm-holder settings-wrapper">
    <div class="sec-box">
        <h3><?php echo $this->user->lang("Encrypt Domain Passwords"); ?></h3>
        <p><?php echo $this->user->lang("Encrypt/Decrypt your client's domain passwords"); ?>.</p>

        <div class="alert alert-danger">
            <?php echo $this->user->lang("Performing this action could take some time, please be patient"); ?>
        </div>

        <?php if (!empty($this->STATUS)) { ?>
            <div class="alert <?php echo ($this->COLOR === 'green') ? 'alert-success' : 'alert-danger'; ?>">
                <?php echo $this->unescape($this->STATUS); ?>
            </div>
        <?php } ?>

        <form name="encryptdomainpasswords" method="post"
              action="index.php?fuse=admin&action=encryptdomainpasswords&settings=security&controller=settings">
            <div class="mb-3">
                <button <?php echo $this->DISABLED; ?> class="btn btn-primary">
                    <?php echo $this->BUTTON_NAME; ?>
                </button>
            </div>
        </form>

        <?php if (!empty($this->MESSAGE)) { ?>
            <div class="alert alert-danger text-center">
                <strong><?php echo $this->MESSAGE; ?></strong>
            </div>
        <?php } ?>


    </div>
</div>