aboutsummaryrefslogtreecommitdiff
path: root/views/default/openid_client
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-12-15 22:00:20 -0500
committerCash Costello <cash.costello@gmail.com>2011-12-15 22:00:20 -0500
commitbc56428d493d99576ff274611df3b029e7e47e0a (patch)
tree7867e8cdc71cc8b0f70dbbf254dff7d0dc06753c /views/default/openid_client
parent49bb5234e9dbef676476bab2936344d8345065c9 (diff)
downloadelgg-bc56428d493d99576ff274611df3b029e7e47e0a.tar.gz
elgg-bc56428d493d99576ff274611df3b029e7e47e0a.tar.bz2
added some registration code for first time users
Diffstat (limited to 'views/default/openid_client')
-rw-r--r--views/default/openid_client/login.php10
-rw-r--r--views/default/openid_client/register.php7
2 files changed, 17 insertions, 0 deletions
diff --git a/views/default/openid_client/login.php b/views/default/openid_client/login.php
new file mode 100644
index 000000000..f89b790c0
--- /dev/null
+++ b/views/default/openid_client/login.php
@@ -0,0 +1,10 @@
+<?php
+/**
+ *
+ */
+
+echo elgg_view('output/url', array(
+ 'text' => 'login with Google',
+ 'href' => 'action/openid_client/login',
+ 'is_action' => true,
+));
diff --git a/views/default/openid_client/register.php b/views/default/openid_client/register.php
new file mode 100644
index 000000000..0c3770ed2
--- /dev/null
+++ b/views/default/openid_client/register.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * Registration content view for OpenID client
+ *
+ */
+
+echo elgg_view_form('openid_client/register', array(), $vars);