summaryrefslogtreecommitdiffstats
path: root/application/views/user
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-09 11:26:22 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-09 20:48:16 +0200
commitc0f1755842211996a7a21ffb8773b260bb2be281 (patch)
tree609107150d2ee82cdbb3ed9157ceccf0cf98f8a7 /application/views/user
parentcb8b733a6c2333ff90d3af0fc37e8c21c73d9e7a (diff)
Implement simple referral system
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/user')
-rw-r--r--application/views/user/invite.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/application/views/user/invite.php b/application/views/user/invite.php
new file mode 100644
index 000000000..f97804274
--- /dev/null
+++ b/application/views/user/invite.php
@@ -0,0 +1,10 @@
+<?php echo form_open('user/create_invitation_key'); ?>
+ <input type="submit" value="Create new key" name="process" />
+</form>
+
+<p>Unused invitation keys:</p>
+<p>
+<?php foreach($query as $key => $item): ?>
+ <?php echo $item["key"]; ?><br />
+<?php endforeach; ?>
+</p>