aboutsummaryrefslogtreecommitdiff
path: root/mod/twitter_api/pages/twitter_api/interstitial.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/twitter_api/pages/twitter_api/interstitial.php')
-rw-r--r--mod/twitter_api/pages/twitter_api/interstitial.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/mod/twitter_api/pages/twitter_api/interstitial.php b/mod/twitter_api/pages/twitter_api/interstitial.php
new file mode 100644
index 000000000..23b5069cb
--- /dev/null
+++ b/mod/twitter_api/pages/twitter_api/interstitial.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * An interstitial page for newly created Twitter users.
+ *
+ * This prompts them to enter an email address and set a password in case Twitter goes down or they
+ * want to disassociate their account from twitter.
+ */
+
+$title = elgg_echo('twitter_api:interstitial:settings');
+
+$content = elgg_view_form('twitter_api/interstitial_settings');
+
+$params = array(
+ 'content' => $content,
+ 'title' => $title,
+);
+$body = elgg_view_layout('one_sidebar', $params);
+
+echo elgg_view_page($title, $body);