/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk
83.1.4 by Erik Wikström
Removed old popup views and model. Added separate views for each popup, as well as a function in the ajax-controller to load them.
1
<div id="passwordChanger">
2
	<p class="passwordHeader">Change password</p><p class="passwordHeaderBorder"></p>
3
	<form id="changePassword" onsubmit="return confirm('<?php echo base_url(); ?>'); return false;">
4
		<p>Current password:
5
			<span class="errorMessage" name="currentPwd" title="Enter your current password.">#</span>
6
			<input type="password" id="currentPwd"/>
7
		</p>
8
		<p>New password:
9
			<span class="errorMessage" name="newPwd" title="Password can only use: a-z A-Z 0-9 _ - and must be of minimum 6 characters.">#</span>
10
			<input type="password" id="newPwd" onkeyup="validNewPwd(), validRepeatedPwd();"/>
11
		</p>
12
		<p>Repeat password:
13
			<span class="errorMessage" name="repeatPwd" title="Passwords don't match!">#</span>
14
			<input type="password" id="repeatPwd" onkeyup="validRepeatedPwd();"/>
15
		</p>
16
		<p>Password hint:
17
			<span class="errorMessage" name="hintPwd" title="This hint should be cool!">#</span>
18
			<input type="text" id="hintPwd"/>
19
		</p>
20
		<input type="button" class="button" value="Cancel" onclick="cancelPasswordChange();"/>
21
		<input type="button" class="button" value="Ok" onclick="confirm('<?php echo base_url(); ?>');"/>
22
	</form>
23
</div>