From 0b8b67d74a51586c5a45012e9e0f7bbe54f7e954 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Wed, 17 Oct 2012 02:38:11 +0000 Subject: Elgg OpenID server adapted for Elgg 1.8. --- views/default/forms/openid_server/trust.php | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 views/default/forms/openid_server/trust.php (limited to 'views/default/forms') diff --git a/views/default/forms/openid_server/trust.php b/views/default/forms/openid_server/trust.php new file mode 100755 index 000000000..3dac9b648 --- /dev/null +++ b/views/default/forms/openid_server/trust.php @@ -0,0 +1,34 @@ + + * @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 + */ + +$user = elgg_get_logged_in_user_entity(); +$openid_trust_root = elgg_extract('openid_trust_root', $vars); + +echo '
' . elgg_echo('openid_server:trust_question', array($openid_trust_root, elgg_get_site_entity()->name, $user->username)); + +/*echo '
'.elgg_view('input/checkbox', array( + 'name' => 'name', +*/ + +echo ''; + +echo '
'.elgg_view('input/checkbox', array('name' => 'remember', 'id' => 'remember', 'checked' => true)); +echo '
'; -- cgit v1.2.3