Location: PHPKode > projects > My SQL Data Browser > tpl/msuLogin.tpl
{************************************************************}

{literal}
	<script type="text/javascript">
		function mseClearForm()
		{
			form = document.forms['mseForm'] ;
			form.loginName.value = '' ;
			form.passwd.value = '' ;
		}
	</script>
{/literal}

{************************************************************}

<form name="mseForm">

<table border="0" cellpadding="4" cellspacing="0" width="100%">
	<tr bgcolor="{cycle values=$msuColors.oddEvenBg}">
		<td>Name: </td>
		<td><input type="text" name="loginName" value="{$smarty.request.loginName}"></td>
	</tr>
	<tr bgcolor="{cycle values=$msuColors.oddEvenBg}">
		<td>passwd: </td>
		<td><input type="text" name="passwd"></td>
	</tr>
	<tr  bgcolor="{cycle values=$msuColors.oddEvenBg}">
		<td colspan="2">
			<input type="submit" name="Login" value="Login">
			<input type="hidden" name="msuLogin" value="unImportant">
			<input type="button" onclick="mseClearForm();" value="Clear Form">
		</td>
	</tr>
</form>

</table>


{************************************************************}
Return current item: My SQL Data Browser