summaryrefslogtreecommitdiffstats
path: root/apps/admin/modules/user/templates/settingsSuccess.php
blob: f1c49d740d20cc62d6ebc9fe5dc0fa0965689241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
	<div id="context">
		<?php echo use_helper("Asset", "Form", "Object", "Validation") ?>
		<?php echo form_tag("user/settings")?>
		<h1>Update Settings:</h1>

		<hr size="1" />

		<h2>General Settings:</h2>
		
		<label for="nickname">Username: </label><?php echo object_input_tag($user, "getNickname","size=50") ?><br /><?php echo form_error('nickname') ?>
		<label for="first_name">First Name: </label><?php echo object_input_tag($user, "getFirstName","size=50") ?><br /><?php echo form_error('first_name') ?>
		<label for="last_name">Last Name: </label><?php echo object_input_tag($user, "getLastName", "size=50") ?><br /><?php echo form_error('last_name') ?>
		<label for="email">E-Mail: </label><?php echo object_input_tag($user, "getEmail", "size=50") ?><div class="sf_admin_edit_help">Used to retrieve your password or to send critical notifications</div><br /><?php echo form_error('email') ?><br />
		
		<h2>Change Password:</h2>
		<label for="password1">New Password: </label><?php echo input_password_tag("password1", "", "size=50") ?><br />
		<label for="password2">Re-Type New Password: </label><?php echo input_password_tag("password2", "", "size=50") ?><br /><?php echo form_error('password2') ?>
		<?php echo input_hidden_tag("referer", $sf_request->getAttribute('referer')) ?>
		
		<div class="formaction"><?php echo submit_tag("Update") ?><?php echo submit_tag("Cancel") ?></div>
		</form>
	</div>