<script type="text/javascript">
$(document).ready(function(){
	$('#config-form').validate();
	$('#config-form #pass2').rules("add", {required: false, equalTo: "#pass"});
});
</script>
<h1>{{$lang.Main_administrator}}</h1>
<form action="?p={{$_GET.p}}" method="post" name="form" id="config-form" enctype="multipart/form-data">
	<fieldset>
		<table class="details"> 
			<tr id="login">
				<th class="name">{{$lang.Login}}</th>
				<td class="value"><input type="text" name="login" value="{{$config.login}}" class="input" alt="simple" /></td>
				<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_settings_login}}" /></td>
			</tr>
			<tr>
				<th class="name">{{$lang.Password}}</th><td class="value"><input type="password" name="pass" id="pass" value="" class="input" /></td>
				<td class="help"><img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_settings_pass}}" /></td>
			</tr>
			<tr>
				<th class="name">{{$lang.Password2}}</th><td class="value"><input type="password" id="pass2" value="" class="input" /></td>
				<td class="help"></td>
			</tr>
		</table>
		<div class="save float"><div class="save floatcontainer">
			<input type="submit" class="submit" value="{{$lang.Save}} &raquo;" name="sOption" />
		</div></div>
	</fieldset>
</form>