aboutsummaryrefslogtreecommitdiffstats
path: root/settings/templates/index.php
blob: 761289acefaaf9a9564a20028b2588595187b5e4 (plain)
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
39
40
41
42
<form id="quota">
	<fieldset>
		<legend><?php echo $l->t( 'Account information' );?></legend>
		<div id="quota_indicator"><div style="width:<?php echo $_['usage_relative'] ?>%;">&nbsp;</div></div>
		<p><?php echo $l->t( 'You\'re currently using' );?> <?php echo $_['usage_relative'] ?>% (<?php echo $_['usage'] ?>) <?php echo $l->t( 'of your' );?> <?php echo $_['total_space'] ?> <?php echo $l->t( 'space' );?>.</p>
	</fieldset>
</form>

<form id="passwordform">
	<fieldset>
		<legend><?php echo $l->t( 'Change Password' );?></legend>
		<div id="passwordchanged"><?php echo $l->t( 'Your password got changed');?></div>
		<div id="passworderror"></div>
		<p>
			<label for="pass1"><?php echo $l->t( 'Old password:' );?></label>
			<input type="password" id="pass1" name="oldpassword" />
		</p>
		<p>
			<label for="pass2"><?php echo $l->t( 'New password' );?></label>
			<input type="password" id="pass2" name="password" />
		</p>
		<p>
			<input type="checkbox" id="show" name="show" />
			<label for="show"><?php echo $l->t( 'Show new password' );?></label>
		</p>
		<p class="form_footer">
			<input id="passwordbutton" class="prettybutton" type="submit" value="Save" />
		</p>
	</fieldset>
</form>

<form id="languageform">
	<fieldset>
		<legend><?php echo $l->t( 'Language' );?></legend>
		<label for=''></label>
		<select id="languageinput" name='lang'>
			<?php foreach($_['languages'] as $language):?>
				<option value='<?php echo $language;?>'><?php echo $language;?></option>
			<?php endforeach;?>
		</select>
	</fieldset>
</form>