summaryrefslogtreecommitdiffstats
path: root/application/views/user/invite.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/user/invite.php')
-rw-r--r--application/views/user/invite.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/application/views/user/invite.php b/application/views/user/invite.php
new file mode 100644
index 000000000..5be8b48a3
--- /dev/null
+++ b/application/views/user/invite.php
@@ -0,0 +1,15 @@
+<?php echo form_open('user/create_invitation_key'); ?>
+ <input type="submit" value="Create new key" name="process" />
+</form>
+
+<p>
+You are free to invite anyone you want to, but please keep in
+mind that if this person violates the rules and is banned, your account will also be disabled.
+</p>
+
+<p>Unused invitation keys:</p>
+<p>
+<?php foreach($query as $key => $item): ?>
+ <?php echo anchor("user/register/".$item["key"], $item["key"]); ?><br />
+<?php endforeach; ?>
+</p>