summaryrefslogtreecommitdiffstats
path: root/views/signup
diff options
context:
space:
mode:
authorMichael Francis <edude03@gmail.com>2011-07-10 00:36:26 -0400
committerMichael Francis <edude03@gmail.com>2011-07-10 00:36:26 -0400
commit821f6d08f47778e430c1368ad9b3fd5c2c9d70fb (patch)
tree74d52e5bafcd721726544d71351a9f946f26df59 /views/signup
parentcfba0ecd08b5af5a56cfdfe3e5225ae98f5107da (diff)
downloadotakuhub-821f6d08f47778e430c1368ad9b3fd5c2c9d70fb.tar.xz
Moved signup stuff to it's own controller
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