2013-10-05 12:55:03 +02:00
|
|
|
<?php if ($this->context->transport->success === true): ?>
|
2013-11-16 18:40:26 +01:00
|
|
|
<?php $this->renderFile('message') ?>
|
2013-10-05 12:55:03 +02:00
|
|
|
<?php else: ?>
|
2013-10-15 00:41:04 +02:00
|
|
|
<form action="<?php echo \Chibi\UrlHelper::route('auth', 'register') ?>" class="auth aligned" method="post">
|
2013-10-05 12:55:03 +02:00
|
|
|
<div>
|
2013-10-12 19:28:52 +02:00
|
|
|
<p>Registered users can view more content,<br/>upload files and add posts to favorites.</p>
|
2013-10-05 12:55:03 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
2013-10-15 13:14:48 +02:00
|
|
|
<label class="left" for="name">User name:</label>
|
2013-10-20 15:55:29 +02:00
|
|
|
<div class="input-wrapper"><input type="text" id="name" name="name" value="<?php echo $this->context->suppliedName ?>" placeholder="e.g. darth_vader" autocomplete="off"/></div>
|
2013-10-05 12:55:03 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
2013-10-15 13:14:48 +02:00
|
|
|
<label class="left" for="password1">Password:</label>
|
2013-10-19 20:58:51 +02:00
|
|
|
<div class="input-wrapper"><input type="password" id="password1" name="password1" value="<?php echo $this->context->suppliedPassword1 ?>" placeholder="e.g. <?php echo str_repeat('●', 8) ?>" autocomplete="off"/></div>
|
2013-10-05 12:55:03 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
2013-10-15 13:14:48 +02:00
|
|
|
<label class="left" for="password2">Password (repeat):</label>
|
2013-10-19 20:58:51 +02:00
|
|
|
<div class="input-wrapper"><input type="password" id="password2" name="password2" value="<?php echo $this->context->suppliedPassword2 ?>" placeholder="e.g. <?php echo str_repeat('●', 8) ?>" autocomplete="off"/></div>
|
2013-10-05 12:55:03 +02:00
|
|
|
</div>
|
|
|
|
|
2013-10-12 19:28:52 +02:00
|
|
|
<div>
|
2013-10-16 18:07:23 +02:00
|
|
|
<label class="left" for="email">E-mail address:</label>
|
2013-10-20 15:55:29 +02:00
|
|
|
<div class="input-wrapper"><input type="text" id="email" name="email" value="<?php echo $this->context->suppliedEmail ?>" placeholder="e.g. vader@empire.gov" autocomplete="off"/></div>
|
2013-10-12 19:28:52 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
2013-10-15 00:41:04 +02:00
|
|
|
<p id="email-info">Your e-mail will be used to show your <a href="http://gravatar.com/">Gravatar</a>.<br/>Leave blank for random Gravatar.</p>
|
2013-10-12 19:28:52 +02:00
|
|
|
</div>
|
|
|
|
|
2013-11-16 18:40:26 +01:00
|
|
|
<div>
|
|
|
|
<?php $this->renderFile('message') ?>
|
|
|
|
</div>
|
2013-10-12 19:28:52 +02:00
|
|
|
|
2013-10-22 11:40:10 +02:00
|
|
|
<input type="hidden" name="submit" value="1"/>
|
|
|
|
|
2013-10-05 12:55:03 +02:00
|
|
|
<div>
|
2013-10-15 00:41:04 +02:00
|
|
|
<label class="left"></label>
|
2013-10-13 00:36:10 +02:00
|
|
|
<button type="submit">Register</button>
|
2013-10-05 12:55:03 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<?php endif ?>
|