Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/themes/CleanFS/templates/register.magic.tpl
blob: b93e743f94b46d76fe46a4c21ef3bd3c8918aa92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<h3><?php echo Filters::noXSS(L('registernewuser')); ?></h3>
<div class="box">
    <!--
<?php echo tpl_form(Filters::noXSS($baseurl).'index.php','registernewuser',null,null,'id="registernewuser"'); ?>
    -->
<?php echo tpl_form(Filters::noXSS(CreateUrl('registernewuser')),null,null,null,'id="registernewuser"'); ?>
  <p><?php echo Filters::noXSS(L('entercode')); ?></p>
  <ul class="form_elements wide">
    <li>
      <label for="confirmation_code"><?php echo Filters::noXSS(L('confirmationcode')); ?></label>
      <input id="confirmation_code" class="text" name="confirmation_code" value="<?php echo Filters::noXSS(Req::val('confirmation_code')); ?>" type="text" size="20" maxlength="20" />
    </li>

    <li>
      <label for="user_pass"><?php echo Filters::noXSS(L('password')); ?></label>
      <input id="user_pass" class="password" name="user_pass" value="<?php echo Filters::noXSS(Req::val('user_pass')); ?>" type="password" size="20" maxlength="100" /> <em><?php echo Filters::noXSS(L('minpwsize')); ?></em>
    </li>
    <?php if($fs->prefs['repeat_password']): ?>
    <li>
      <label for="user_pass2"><?php echo Filters::noXSS(L('confirmpass')); ?></label>
      <input id="user_pass2" class="password" name="user_pass2" value="<?php echo Filters::noXSS(Req::val('user_pass2')); ?>" type="password" size="20" maxlength="100" />
    </li>
    <?php endif;?>
  </ul>
  <div>
    <input type="hidden" name="action" value="register.registeruser" />
    <input type="hidden" name="magic_url" value="<?php echo Filters::noXSS(Req::val('magic_url')); ?>" />
    <button type="submit" name="buSubmit"><?php echo Filters::noXSS(L('registeraccount')); ?></button>
  </div>
</form>
</div>