1 {extends file="layout.tpl"}
4 <div class="row-fluid">
5 <div class="span12 center login-header">
6 <a href="?"><img src="img/mainlogo.png"/></a>
10 <div class="row-fluid">
11 <div class="well span5 center login-box">
12 <div class="alert alert-info">
15 {if $userRegistration == '0'|| $userRegistration == '2'}
16 <form id="signup" class="form-vertical" method="post" action="index.php">
17 <legend>{$title}</legend>
19 <div class="control-group {if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}error{else if
20 isset($USERNAME) and $USERNAME eq "success"}success{else}{/if}">
21 <label class="control-label">{$username_tag}</label>
22 <div class="controls">
23 <div class="input-prepend">
24 <span class="add-on"><span class="icon-user"></span></span>
25 <input type="text" class="input-xlarge" id="Username" name="Username" placeholder="{$username_default}" {if isset($prevUsername)}value="{$prevUsername}"{/if} rel="popover" data-content="{$username_tooltip}" data-original-title="{$username_default}">
31 <div class="control-group {if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}error{else if
32 isset($PASSWORD) and $PASSWORD eq "success"}success{else}{/if}">
33 <label class="control-label">{$password_tag}</label>
34 <div class="controls">
35 <div class="input-prepend">
36 <span class="add-on"><span class="icon-lock"></span></span>
37 <input type="Password" id="Password" class="input-xlarge" name="Password" placeholder="{$password_default}" {if isset($prevPassword)}value="{$prevPassword}"{/if} rel="popover" data-content="{$password_tooltip}" data-original-title="{$password_default}">
42 <div class="control-group {if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE"}error{else if
43 isset($CPASSWORD) and $CPASSWORD eq "success"}success{else}{/if}">
44 <label class="control-label">{$cpassword_tag}</label>
45 <div class="controls">
46 <div class="input-prepend">
47 <span class="add-on"><span class="icon-lock"></span></span>
48 <input type="Password" id="ConfirmPass" class="input-xlarge" name="ConfirmPass" placeholder="{$cpassword_default}" {if isset($prevConfirmPass)}value="{$prevConfirmPass}"{/if} rel="popover" data-content="{$cpassword_tooltip}" data-original-title="{$cpassword_default}">
53 <div class="control-group {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}error{else if
54 isset($EMAIL) and $EMAIL eq "success"}success{else}{/if}">
55 <label class="control-label">{$email_tag}</label>
56 <div class="controls">
57 <div class="input-prepend">
58 <span class="add-on"><span class="icon-envelope"></span></span>
59 <input type="text" class="input-xlarge" id="Email" name="Email" placeholder="{$email_default}" {if isset($prevEmail)}value="{$prevEmail}"{/if} rel="popover" data-content="{$email_tooltip}" data-original-title="{$email_default}">
64 <div class="control-group {if isset($TAC_ERROR) and $TAC_ERROR eq "TRUE"}error{else if
65 isset($TAC) and $TAC eq "success"}success{else}{/if}">
66 <div class="controls">
67 <div class="input-prepend">
68 <input type="checkbox" class="input-xlarge" id="TaC" name="TaC" placeholder="Email">{$tac_tag1}<a href='{$TOS_URL}'>{$tac_tag2}</a>
74 {if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}
75 <div class="alert alert-error">
76 <button type="button" class="close" data-dismiss="alert">×</button>
77 <strong>Username Error</strong> {$USERNAME}
81 {if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}
82 <div class="alert alert-error">
83 <button type="button" class="close" data-dismiss="alert">×</button>
84 <strong>Password Error</strong> {$PASSWORD}
88 {if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE" and $CPASSWORD != ""}
89 <div class="alert alert-error">
90 <button type="button" class="close" data-dismiss="alert">×</button>
91 <strong>Confirmation Password Error</strong> {$CPASSWORD}
95 {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}
96 <div class="alert alert-error">
97 <button type="button" class="close" data-dismiss="alert">×</button>
98 <strong>Email Error</strong> {$EMAIL}
102 {if isset($TAC_ERROR) and $TAC_ERROR eq "TRUE"}
103 <div class="alert alert-error">
104 <button type="button" class="close" data-dismiss="alert">×</button>
105 <strong>Terms of Service Error</strong> {$tac_message}
109 <input type="hidden" name="function" value="add_user">
110 <p class="center span5">
111 <button type="submit" class="btn btn-primary" >Create My Account</button>
116 Registration Disabled!