This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/views/user/signup.php

60 lines
2.0 KiB
PHP
Raw Normal View History

2013-10-27 01:06:58 +02:00
<div style="width: 40em;">
<h4><?= $this->t('user_signup_text') ?></h4>
<?php if (!CONFIG()->enable_signups) : ?>
<p><?= $this->t('user_signup_text2') ?></p>
<?php else: ?>
<p><?= $this->t('user_signup_text3') ?><a href="/static/terms_of_service"><?= $this->t('user_signup_text4') ?></a><?= $this->t('user_signup_text5') ?><strong><?= $this->t('user_signup_text6') ?></strong></p>
<?= $this->formTag('user#create', function(){ ?>
<table class="form">
<tfoot>
<tr>
<td colspan="2">
<input type="submit" value="<?= $this->t('user_signup') ?>">
</td>
</tr>
</tfoot>
<tbody>
<tr>
<th width="15%">
<label class="block" for="user_name"><?= $this->t('user_signup_name') ?></label>
<p><?= $this->t('user_signup_text') ?></p>
</th>
<td width="85%">
<?= $this->textField("user", "name", ['size' => '30']) ?>
</td>
</tr>
<tr>
<th>
<label class="block" for="user_email"><?= $this->t('user_signup_email') ?></label>
<p><?= $this->t('user_signup_email_text') ?></p>
</th>
<td>
<?= $this->textField("user", "email", ['size' => '30']) ?>
</td>
</tr>
<tr>
<th>
<label class="block" for="user_password"><?= $this->t('user_password') ?></label>
<p><?= $this->t('user_password_text') ?></p>
</th>
<td>
<?= $this->passwordField("user", "password", ['size' => '30']) ?>
</td>
</tr>
<tr>
<th>
<label class="block" for="user_password_confirmation"><?= $this->t('user_password_confirm') ?></label>
</th>
<td>
<?= $this->passwordField("user", "password_confirmation", ['size' => '30']) ?>
</td>
</tr>
</tbody>
</table>
<?php }) ?>
<?php endif ?>
</div>
<?= $this->partial("footer") ?>