aboutsummaryrefslogtreecommitdiff
path: root/views/default/openid_server/forms/trust.php
diff options
context:
space:
mode:
authorPablo Martin <caedes@sindominio.net>2012-10-17 02:38:11 +0000
committerPablo Martin <caedes@sindominio.net>2012-10-17 02:38:11 +0000
commit0b8b67d74a51586c5a45012e9e0f7bbe54f7e954 (patch)
treec091196f6359bc7d6aa0c39b3ec061e0c2c7c983 /views/default/openid_server/forms/trust.php
downloadelgg-0b8b67d74a51586c5a45012e9e0f7bbe54f7e954.tar.gz
elgg-0b8b67d74a51586c5a45012e9e0f7bbe54f7e954.tar.bz2
Elgg OpenID server adapted for Elgg 1.8.
Diffstat (limited to 'views/default/openid_server/forms/trust.php')
-rwxr-xr-xviews/default/openid_server/forms/trust.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/views/default/openid_server/forms/trust.php b/views/default/openid_server/forms/trust.php
new file mode 100755
index 000000000..5a1e05ca1
--- /dev/null
+++ b/views/default/openid_server/forms/trust.php
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * Elgg openid_server trust page
+ *
+ * @package openid_server
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Kevin Jardiner <kevin@radagast.biz>
+ * @copyright Curverider Ltd 2008-2009
+ * @link http://elgg.com/
+ *
+ * @uses the following values in $vars:
+ *
+ * 'openid' the user's OpenID
+ * 'trust_root' the trust root for the OpenID client requesting authentication
+ */
+?>
+
+<div class="layout_canvas">
+<div class="one_column">
+<div class="contentWrapper">
+<div class="form">
+ <p><?php echo sprintf(elgg_echo('openid_server:trust_question'),$vars['openid_url'],$vars['openid_trust_root']) ?></p>
+ <form method="post" action="<?php echo $vars['url'] ?>mod/openid_server/actions/trust.php">
+ <input type="checkbox" name="remember" value="on" id="remember" /><label
+ for="remember"><?php echo elgg_echo('openid_server:remember_trust') ?></label>
+ <br />
+ <input type="hidden" name="trust_root" value="<?php echo $vars['openid_trust_root']; ?>" />
+ <input type="submit" name="trust" value="<?php echo elgg_echo('openid_server:confirm_trust') ?>" />
+ <input type="submit" name = "reject" value="<?php echo elgg_echo('openid_server:reject_trust') ?>" />
+ </form>
+</div>
+</div>
+</div>
+</div>