<?php
// Copyright 1999-2021. Plesk International GmbH. All rights reserved.
?>
<div class="indent-box">
    <?php echo $this->element->getElement('isDenyByConcurrentRequests')->render($this) ?>
    <div class="indent-box-content">
        <?php echo $this->element->getElement('maxConcurrentRequests')->render($this) ?>
    </div>
</div>
<?php echo $this->masterCheckbox($this->element->getElement('isDenyByConcurrentRequests'), [$this->element->getElement('maxConcurrentRequests')], true, false) ?>

<div class="indent-box">
    <?php echo $this->element->getElement('isDenyByRequestRate')->render($this) ?>
    <div class="indent-box-content">
        <?php echo $this->element->getElement('maxRequests')->render($this) ?>
        <?php echo $this->element->getElement('requestInterval')->render($this) ?>
    </div>
</div>
<?php echo $this->masterCheckbox($this->element->getElement('isDenyByRequestRate'), [$this->element->getElement('maxRequests'), $this->element->getElement('requestInterval')], true, false) ?>
