<script language="javascript" type="text/javascript">
<!-- //
{include file="$incpath/other/validate_js.tpl"}
{literal}

$(document).ready(function() {
	var validator = $("#editform").validate(
	{ 
		rules: 
		{ 
			Name_1: {required: true,minLength: 5}
		},
		messages: 
		{
			//Name_1:{remote: jQuery.format("{/literal}{#Validate_usedvalue#}{literal}")}
		},
			
		submitHandler: function() 
		{ 
			document.forms['editform'].submit();
		},
		
		success: function(label) 
		{
			label.html("&nbsp;").addClass("checked");
		}
	});
});

// -->
</script>   
{/literal}

<div class="popbox">
<div class="header">
{if $smarty.request.new==1}
{#Forums_Help_newcateg#}
{else}
{#Forums_Help_editcateg#}: {$smarty.request.n|koobispecialchars}
{/if}
</div>
<div id="content_popup">
<form method="post" action="" name="editform" id="editform">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
  
  <tr>
    <td class="row_left">{$language_long_1}</td>
    <td class="row_right"><input name="Name_1" type="text" class="input" size="30" value="{$res->Name_1|koobispecialchars}"></td>
  </tr>
  <tr>
    <td class="row_left">{$language_long_2}</td>
    <td class="row_right"><input name="Name_2" type="text" class="input" size="30" value="{$res->Name_2|koobispecialchars}"></td>
  </tr>
  <tr>
    <td class="row_left">{$language_long_3}</td>
    <td class="row_right"><input name="Name_3" type="text" class="input" size="30" value="{$res->Name_3|koobispecialchars}"></td>
  </tr>
</table>
<input class="button big" type="submit" id="s" value="{#Global_save#}">
<input class="button big" type="button" onClick="window.close();" value="{#Global_close#}">
<input type="hidden" name="save" value="1" />
</form>
</div>
</div>