import v1.0.0-RC4 | 2009-05-20
This commit is contained in:
30
modules/users/views/scripts/register/eula.phtml
Executable file
30
modules/users/views/scripts/register/eula.phtml
Executable file
@ -0,0 +1,30 @@
|
||||
<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>
|
Reference in New Issue
Block a user