register.tpl 2.15 KB
Newer Older
elleo's avatar
elleo committed
1 2 3 4
{include file='header.tpl'}

<h2>Register</h2>

jurgbohn's avatar
jurgbohn committed
5 6 7 8
{if isset($activated)}
	<h2>Your account has been activated! You may now login!</h2>
{/if}

jurgbohn's avatar
jurgbohn committed
9
{if isset($registered) }
jurgbohn's avatar
jurgbohn committed
10 11
	<h2>You're now registered with libre.fm! An email has been sent to the email address you
	provided. Please follow the link in the email to activate your account!</h2>
mattl's avatar
mattl committed
12 13 14 15 16 17 18 19
	
	<ul>
	<li><a href="http://ideas.libre.fm/index.php/Using_turtle">Find out how to start sending us your listening habits</a></li>
	<li><a href="http://lists.autonomo.us/mailman/listinfo/libre-fm">Join our mailing list</a></li>
	<li><a href="http://blog.libre.fm/">Read our blog</a> and <a href="http://identi.ca/mattl">subscribe to Matt (our founder) on identi.ca</a></li>
	</ul>


elleo's avatar
elleo committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33
{else}

	{if isset($errors) }
		<p id='errors'>{$errors}</p>
	{/if}

<br />

<div id='register'>
	<form action='' method='post'>
		<fieldset>
			<label for='fullname'>You:<span>(that's your real name.)</span></label>
			<input id='fullname' name='fullname' type='text' value='{$fullname}' maxlength='255'/>
	
jurgbohn's avatar
jurgbohn committed
34 35
			<label for='username'>Your nickname:<span>(no more than 16 chars.)</span></label>
			<input id='username' name='username' type='text' value='{$username}' maxlength='16' />
elleo's avatar
elleo committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58

			<label for='email'>Your e-mail:<span>(must be valid!)</span></label>
			<input id='email' name='email' type='text' value='{$email}' maxlength='64' />
	
			<label for='location'>Location:<span>(like 'CABA, Buenos Aires, Argentina')</span></label>
			<input id='location' name='location' type='text' value='{$location}' maxlength='255' />

			<label for='password'>Your password:<span>(make it hard to guess)</span></label>
			<input id='password' name='password' type='password' value=''/>

			<label for='password-repeat'>Your password again<span>(you should repeat it.)</span></label>
			<input id='password-repeat' name='password-repeat' type='password' value=''/>

			<label for='bio'>About yourself:<span>(we want to know you! in 140 chars.)</span></label>
			<input id='bio' name='bio' type='text' value='{$bio}' maxlength='140'/>

			<input type='submit' name='register' value="OK, I'm in" />
		</fieldset>

	</form>
</div>

{/if}
59
<div class="cleaner">&nbsp;</div>
elleo's avatar
elleo committed
60
{include file='footer.tpl'}