/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk
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
32
33
34
35
36
37
38
<div id="passwordChanger">
	<p class="passwordHeader">Change password</p><p class="passwordHeaderBorder"></p>
	<form id="changePassword" onsubmit="return confirm('<?php echo base_url(); ?>'); return false;">
		<p>Current password:
			<span class="errorMessage" name="currentPwd" title="Enter your current password.">#</span>
			<input type="password" id="currentPwd"/>
		</p>
		<p>New password:
			<span class="errorMessage" name="newPwd" title="Password can only use: a-z A-Z 0-9 _ - and must be of minimum 6 characters.">#</span>
			<input type="password" id="newPwd" onkeyup="validNewPwd(), validRepeatedPwd();"/>
		</p>
		<p>Repeat password:
			<span class="errorMessage" name="repeatPwd" title="Passwords don't match!">#</span>
			<input type="password" id="repeatPwd" onkeyup="validRepeatedPwd();"/>
		</p>
		<p>Password hint:
			<span class="errorMessage" name="hintPwd" title="This hint should be cool!">#</span>
			<input type="text" id="hintPwd"/>
		</p>
		<input type="button" class="button" value="Cancel" onclick="cancelPasswordChange();"/>
		<input type="button" class="button" value="Ok" onclick="confirm('<?php echo base_url(); ?>');"/>
	</form>
</div>

<div id="loginForm">
	<h2 class="loginTitle">Login<button type="button" id="popupxButton" onClick="loginButtonHide()">x</button></h2>
	<?php echo form_open('login/validate'); ?>
	<div class="inputarea">
		<input class="text" type="text" size="20" id="username" name="username" /><br>
		<input class="text" type="password" size="20" id="password" name="password" /><br>
	</div>
	<div>
		<input class="hint btn" type="button" onclick="passwordHint('<?php echo base_url(); ?>');"/>
		<input class="submit btn" type="submit" value="Login"/>
		<div id='hinttext'></div>
	</div>
	</form>
</div>