Location: PHPKode > projects > Energine > energine-2.2/core2a/modules/user/config/LoginForm.component.xml
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<methods>
	<method name="showLoginForm">
		<fields>
			<field name="username" type="string" tableName="user" title="FIELD_U_NAME" length="50" mode="2"/>
			<field name="password" type="password" tableName="user" title="FIELD_U_PASSWORD" length="40"  mode="2"/>
			<field name="remember" type="boolean" tableName="user" title="FIELD_REMEMBER_LOGIN" mode="2"/>
		</fields>
		<toolbar>
			<control type="submit" id="user[login]" title="BTN_LOGIN" tooltip="Click me" />
			<control type="link" id="restore" title="TXT_FORGOT_PWD" click="restore-password"/>
		</toolbar>
	</method>
	<method name="showLogoutForm">
		<fields>
			<field name="u_name" type="string" mode="1"/>
			<field name="role_name" type="string" mode="1"/>
		</fields>
		<toolbar>
			<control type="submit" id="user[logout]" title="BTN_LOGOUT" />
		</toolbar>
	</method>
</methods>
</configuration>
Return current item: Energine