<?php
// Copyright 1999-2015. Parallels IP Holdings GmbH. All Rights Reserved.
?>
<div id="secureDescription" style="display: none;">
    <div>
        <p><b><?php echo $this->lmsg('enabledHeader'); ?></b></p>
    </div>
    <p><?php echo $this->lmsg('enabledExplanation'); ?></p>
    <ol class="ol">
        <li><?php echo $this->lmsg('enabledExplanationItem1'); ?></li>
        <li><?php echo $this->lmsg('enabledExplanationItem2'); ?></li>
    </ol>
    <p><b><?php echo $this->lmsg('enabledNote'); ?></b></p>
</div>

<script type="text/javascript">
    //<![CDATA[
    Jsw.onReady(function() {
        var _hintContainer = new Element('span', {cls: 'hint-inline hint-info'});
        var _hint = new Element('span');
        _hint.insert(<?php echo $this->jsLmsg('hintInfo'); ?>);
        _hintContainer.insert(_hint);

        $$('#encryptionSection label').first().insert({after: _hintContainer});
        var _tooltip = new Jsw.AjaxTooltip.Instance({
            title: <?php echo $this->jsLmsg('hintTitle'); ?>,
            target: _hint
        });
        var _hintData = $('secureDescription').innerHTML;
        $('secureDescription').update();
        _tooltip.setText(_hintData);
    });
    //]]>
</script>