<?php
// Copyright 1999-2017. Plesk International GmbH. All Rights Reserved.
?>
<textarea readonly="readonly" spellcheck="false" style="width: 100%; height: 600px;"><?php echo htmlspecialchars($this->fileContents); ?></textarea>

<div class="btns-box">
    <div class="box-area">
        <div class="form-row">
            <span id="btn-cancel" class="btn"><button type="button" value="" name="cancel">Cancel</button></span>
            <script type="text/javascript">
                Jsw.onReady(function() {
                    $('btn-cancel').observe('click', function() {
                        Jsw.redirect(<?php echo json_encode($this->cancelUrl); ?>);
                    });
                });
            </script>
        </div>
    </div>
</div>