31 lines
1.4 KiB
PHTML
31 lines
1.4 KiB
PHTML
|
<h2><?= $this->translate('Please read the following EULA in order to continue') ?></h2>
|
||
|
<form name="eulaForm" action="accepteula" method="post">
|
||
|
<input type="hidden" name="token" value="<?= $this->token ?>" />
|
||
|
<div>
|
||
|
<textarea rows="30" style="width:700px"><?= $this->eula ?></textarea>
|
||
|
</div>
|
||
|
<div style="margin-top:20px">
|
||
|
<input type="submit" id="agree" value="<?= $this->translate('I AGREE') ?>" />
|
||
|
<input type="submit" id="disagree" value="<?= $this->translate('I DISAGREE') ?>" onclick="this.form.action='declineeula'; return true" />
|
||
|
<script>
|
||
|
YAHOO.util.Event.onDOMReady(function () {
|
||
|
COMMID.loader.insert(
|
||
|
["button"],
|
||
|
function() {
|
||
|
new YAHOO.widget.Button("disagree", {
|
||
|
type: "push",
|
||
|
label: "I DISAGREE",
|
||
|
onclick : {fn: function(){
|
||
|
document.eulaForm.action = 'declineeula';
|
||
|
document.eulaForm.submit();
|
||
|
}}
|
||
|
});
|
||
|
new YAHOO.widget.Button("disagree");
|
||
|
new YAHOO.widget.Button("agree");
|
||
|
}
|
||
|
);
|
||
|
});
|
||
|
</script>
|
||
|
</div>
|
||
|
</form>
|