CommunityID/modules/default/views/scripts/openid/trust.phtml

40 lines
2.1 KiB
PHTML
Raw Permalink Normal View History

2019-07-17 20:08:50 +00:00
<div id="article">
<div>
2019-07-17 20:16:19 +00:00
<?php echo $this->translate('A site identifying as %s has asked for confirmation that %s is your identity URL.', '<a href="' . $this->siteRoot . '">' . $this->siteRoot . '</a>', '<a href="' . $this->identityUrl . '">' . $this->identityUrl . '</a>') ?>
2019-07-17 20:08:50 +00:00
</div>
2019-07-17 20:16:19 +00:00
<form method="post" action="proceed<?php echo $this->queryString ?>" class="formGrid">
2019-07-17 20:08:50 +00:00
<input type="hidden" name="action" value="proceed">
<? if ($this->showProfileForm): ?>
2019-07-17 20:08:50 +00:00
<br />
2019-07-17 20:16:19 +00:00
<?php echo $this->translate('It also requests this additional information about you:') ?><br /><br />
<?php echo $this->translate('Fields are automatically filled according to the personal info stored in your community-id account.') ?><br />
<?php echo $this->translate('Fields marked with * are required.') ?>
2019-07-17 20:08:50 +00:00
<br />
<div id="profileForm">
<? if ($this->showProfileForm): ?>
<div style="text-align:center; margin:20px 0; font-weight:bold">
<?= $this->translate('Please wait') ?>
<img src="<?= $this->base ?>/images/progress.gif" style="margin-left:15px" />
</div>
<? endif ?>
</div>
2019-07-17 20:16:19 +00:00
<?php endif ?>
2019-07-17 20:08:50 +00:00
<div style="margin-top:20px">
2019-07-17 20:16:19 +00:00
<input type="checkbox" name="forever" style="top:0" /> <?php echo $this->translate('Forever') ?>
2019-07-17 20:08:50 +00:00
</div>
<div style="margin-top:20px">
2019-07-17 20:16:19 +00:00
<input type="submit" id="allow" name="allow" value="<?php echo $this->translate('Allow') ?>" />
<input type="submit" id="deny" name="deny" value="<?php echo $this->translate('Deny') ?>" />
2019-07-17 20:08:50 +00:00
<script type="text/javascript">
var oButton1 = new YAHOO.widget.Button("allow");
var oButton2 = new YAHOO.widget.Button("deny");
<? if ($this->showProfileForm): ?>
YAHOO.util.Event.onDOMReady(function() {
COMMID.profileForm.fetch("<?= $this->queryString ?>", 0);
});
<? endif ?>
2019-07-17 20:08:50 +00:00
</script>
</div>
</form>
</div>