Location: PHPKode > projects > EXtensible Production Suite (XPS) > xpsdev/core/templates/mod_user_account.tpl

	<!--BREADCRUMBS-->
	<div class="breadcrumb_container">{$breadcrumbs}</div>

	<!--HEADER-->
	<div class="module_header">
		<span class="header_tab">{$user.USER_ID}&#39;s {API->get_label label_id='lbl_account_settings'}</span>
	</div>

	<!--BODY-->
	<div class="module_body">

		<!--RESULTS-->
		<div id="results">{$MESSAGE}&nbsp;</div>

		<!--CONTENT-->
		<form action="./index.php" onsubmit="javascript: return launchFormValidation(this)" name="user_form" method="post">
			<table align="center">
				<tr>
					<td>
						<table style="text-align:left;">
							<tr>
								<th nowrap="nowrap">
									{API->get_label label_id='lbl_title'}
								</th>
								<td id="name_prefix_container" width="100px">
                                    <input type="text" width="100%" name="NAME_PREFIX" maxlength="40" value="{$user.NAME_PREFIX}" onchange="validateField(this, 'alphanumeric', '', 'results')" />
								</td>
							</tr>
							<tr>
								<th nowrap="nowrap">
									{API->get_label label_id='lbl_fname'}
								</th>
								<td id="first_name_container">
                                    <input type="text" class="required" width="100%" name="FIRST_NAME" maxlength="40" value="{$user.FIRST_NAME}" onchange="validateField(this, 'alphanumeric', 'required', 'results')" />
								</td>
							</tr>
							<tr>
								<th nowrap="nowrap">
									{API->get_label label_id='lbl_mname'}
								</th>
								<td id="middle_name_container">
                                    <input type="text" width="100%" name="MIDDLE_NAME" maxlength="40" value="{$user.MIDDLE_NAME}" onchange="validateField(this, 'alphanumeric', '', 'results')" />
								</td>
							</tr>
							<tr>
								<th nowrap="nowrap">
									{API->get_label label_id='lbl_lname'}
								</th>
								<td id="last_name_container">
                                    <input type="text" class="required" width="100%" name="LAST_NAME" maxlength="40" value="{$user.LAST_NAME}" onchange="validateField(this, 'alphanumeric', 'required', 'results')" />
								</td>
							</tr>
						</table>
					</td>
					<td valign="top" >
						<table style="text-align:left;">
                            <tr>
                                <th nowrap="nowrap">
                                    {API->get_label label_id='lbl_email_address'}
                                </th>
                                <td>
                                    <input type="text" name="EMAIL" class="required" style="text-align:left;" maxlength="60" onchange="validateField(this, 'email', 'required', 'results')" value="{$user.EMAIL}" />
                                </td>
                            </tr>
							<tr>
								<th nowrap="nowrap">
									{API->get_label label_id='lbl_description'}
								</th>
								<td id="description_container" style="width:100px;">
									<textarea name="DESCRIPTION" maxlength="500" width="100%" onchange="validateField(this, 'any', '', 'results')">{$user.DESCRIPTION}</textarea>
								</td>
							</tr>
							{if $smarty.session.is_admin == 1}
							<tr>
								<th nowrap="nowrap">
									{API->get_label label_id='lbl_is_admin'}
								</th>
								<td>
									<input type="radio" name="IS_ADMIN" value="1" {if $user.IS_ADMIN == 1}CHECKED{/if} />Yes
									<input type="radio" name="IS_ADMIN" value="0" {if $user.IS_ADMIN == 0}CHECKED{/if} />No
								</td>
							</tr>
							{/if}
						</table>
					</td>
				</tr>
			</table>
			<input type="hidden" name="f" value="update_user" />
            <input type="hidden" name="module_id" value="UserSettings" />
			<input type="hidden" name="child_id" value="EditAccount" />
			<input type="hidden" name="USER_ID" value="{$user.USER_ID}" />

			<input class="button" type="submit" name="save" value="Save" />
			<input class="button" type="button" name="reset" onclick="{$smarty.session.current_breadcrumb.onclick}" value="Reset" />

			<div style="text-align:right;">
				<span class="required" style="border: 1px solid black">
					&nbsp;{API->get_label label_id='lbl_required_field'}&nbsp;
				</span>
			</div>
		</form>
	</div>
Return current item: EXtensible Production Suite (XPS)