<div class="middleLeft">
	<div class="middleRight p16">
		{ERROR}
		<form method="post" enctype="multipart/form-data" id="editForm">
		<table width="500" cellspacing="0" cellpadding="5" border="0" align="center">
		<tr class="line">
		<td><div class="labelBox">{rs:DB_SERVER}:</div></td>
		<td><div class="inputBox"><input type="text" name="r[server]" value="{server}"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:DB_USERNAME}:</div></td>
		<td><div class="inputBox"><input type="text" name="r[username]" value="{username}"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:DB_PASSWORD}:</div></td>
		<td><div class="inputBox"><input type="password" name="r[password]" value="{password}"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:DB_NAME}:</div></td>
		<td><div class="inputBox"><input type="text" name="r[database]" value="{database}"></div></td>
		</tr>

		<tr class="line">
		<td><div class="labelBox">{rs:TABLE_PREFIX}:</div></td>
		<td><div class="inputBox"><input type="text" name="r[table_prefix]" value="{table_prefix}"></div></td>
		</tr>

		<tr>
		<td><img src="{global:PATH}img/spacer.gif" width="200" height="1" border="0" alt=""></td>
		<td width="100%"><img src="{global:PATH}img/spacer.gif" width="200" height="1" border="0" alt=""></td>
		</tr>
		</table>
		<input type="hidden" name="save" value="1" class="hidden">
		</form>
	</div>
</div>
<div class="actionPanelLeft">
	<div class="actionPanelRight">
		<div class="actionPanelBottom">
			<div class="actionPanelBottomLeft">
				<div class="actionPanelBottomRight p16">
					<div id="actionBottom">
						<div class="button actionNext right">
							<div class="buttonRight">
								<div class="buttonMiddle">{rs:NEXT}</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
	$(".actionNext").click(function() {
		$("#editForm").submit();
	});
	$("#editForm").keydown(function(event) {
  		if (event.keyCode == '13' && event.target.nodeName!='TEXTAREA') $(".actionNext").triggerHandler('click');
	});
</script>


