<div id="register-name-wrapper" class="form-group">
<label for="register-name" id="label-register-name" >{{$namelabel}}</label>
- <input type="text" maxlength="60" size="32" name="username" id="register-name" class="form-control" value="{{$username}}">
+ <input type="text" maxlength="60" size="32" name="username" id="register-name" class="form-control" value="{{$username}}" required>
</div>
<div id="register-name-end" ></div>
<div id="register-email-wrapper" class="form-group">
<label for="register-email" id="label-register-email" >{{$addrlabel}}</label>
- <input type="text" maxlength="60" size="32" name="email" id="register-email" class="form-control" value="{{$email}}">
+ <input type="text" maxlength="60" size="32" name="field1" id="register-email" class="form-control" value="{{$email}}" required>
</div>
<div id="register-email-end" ></div>
- {{if $passwords}}
+ <div id="register-repeat-wrapper" class="form-group">
+ <label for="register-repeat" id="label-register-repeat" >{{$addrlabel2}}</label>
+ <input type="text" maxlength="60" size="32" name="repeat" id="register-repeat" class="form-control" value="" required>
+ </div>
+ <div id="register-repeat-end" ></div>
+
+ {{if $ask_password}}
{{include file="field_password.tpl" field=$password1}}
{{include file="field_password.tpl" field=$password2}}
{{/if}}
<div id="register-nickname-wrapper" class="form-group">
<label for="register-nickname" id="label-register-nickname" >{{$nicklabel}}</label>
- <input type="text" maxlength="60" size="32" name="nickname" id="register-nickname" class="form-control" value="{{$nickname}}">
- <span class="help-block" id="nickname_tip">{{$nickdesc}}</span>
+ <input type="text" maxlength="60" size="32" name="nickname" id="register-nickname" class="form-control" value="{{$nickname}}" required>
+ <span class="help-block" id="nickname_tip">{{$nickdesc nofilter}}</span>
</div>
<div id="register-nickname-end" ></div>
+ <input type="input" id=tarpit" name="email" style="display: none;" placeholder="Don't enter anything here"/>
+
{{if $permonly}}
{{include file="field_textarea.tpl" field=$permonlybox}}
{{/if}}