summaryrefslogtreecommitdiffstats
path: root/views/signup
diff options
context:
space:
mode:
Diffstat (limited to 'views/signup')
-rw-r--r--views/signup/confirm.html.php1
-rw-r--r--views/signup/index.html.php17
2 files changed, 18 insertions, 0 deletions
diff --git a/views/signup/confirm.html.php b/views/signup/confirm.html.php
new file mode 100644
index 0000000..cd0a6a7
--- /dev/null
+++ b/views/signup/confirm.html.php
@@ -0,0 +1 @@
+<p>Thanks for signing up. Please check your email to confirm your registration. If you lost you key click <a href = "/signup/reconfirm">here </a> to have it resent</p>
diff --git a/views/signup/index.html.php b/views/signup/index.html.php
new file mode 100644
index 0000000..5b26977
--- /dev/null
+++ b/views/signup/index.html.php
@@ -0,0 +1,17 @@
+<?php
+$this->styles($this->html->style("/css/signup.css"));
+?>
+
+<?php if (isset($key)): ?>
+Confirmation Link: <a href="<?=$link ?>/<?=$key->key ?>"> Link </a>
+<?php else: ?>
+<?=$this->flashMessage->output(); ?>
+
+
+<?=$this->form->create($user); ?>
+ <?=$this->form->field('username'); ?>
+ <?=$this->form->field('newpass', array('type' => 'password', 'label' => 'password')); ?>
+ <?=$this->form->field('email'); ?>
+ <?=$this->form->submit('Signup!'); ?>
+<?=$this->form->end(); ?>
+<?php endif; ?> \ No newline at end of file