<input type="hidden" name="SubObjectFormSubmitted" value="1">

<h2><img class="middle" alt="" src="images/forward.png" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
<table width="100%" summary="">
<tr>
	<td width="50%">
		{t}Name{/t}{$must}&nbsp;
		<input value="{$cn}" name="cn" size="45" maxlength="80" {$cnACL}>&nbsp;&nbsp;
	</td>
	<td>
		{t}Description{/t}&nbsp;
		<input size="45" maxlength="80" value="{$description}" name="description" {$descriptionACL}>
	</td>
</tr>
</table>

<p class="seperator">&nbsp;</p>

<table width="100%" summary="">
<tr>
  <td colspan=2><h2><img class="middle" alt="" src="images/fai_template.png" title="{t}Template attributes{/t}">&nbsp;{t}Template attributes{/t}</h2></td>
</tr>
<tr>
  <td style="vertical-align:top;width:50%;border-right:1px solid #B0B0B0">
   <table summary="">
    <tr>
		<td style="vertical-align:top">
			<LABEL for="FAItemplateFile">
				{t}File{/t}{$must}&nbsp;
			</LABEL>
			</td>
		<td style="vertical-align:top" class="center">
			{$status}
			{if $bStatus}
			  <a href="getbin.php?rand={$rand}"><img class="center" alt="{t}Save template{/t}..." title="{t}Save template{/t}..." src="images/save.png" border="0" /></a>
			{/if}
			<br>
			<br>
			<input type="file" name="FAItemplateFile" value="{$FAItemplateFile}" id="FAItemplateFile" {$FAItemplateFileACL}>
			&nbsp;<input type="submit" value="{t}Upload{/t}" name="TmpFileUpload" {$FAItemplateFileACL}>
			<br>
			<br>
			</td>
	</tr><tr>
			<td>
				<LABEL for="FAItemplatePath">
					{t}Destination path{/t}{$must}&nbsp;
				</LABEL>
				</td>
			<td>
				<input type="text" name="FAItemplatePath" value="{$FAItemplatePath}" id="FAItemplatePath" size="45" {$FAItemplatePathACL}>
				</td>
		</tr>
		</table>
	</td>
	<td>
	  <table summary="">
		<tr>
	
		<td>
			<LABEL for="user">
				{t}Owner{/t}{$must}&nbsp;
			</LABEL>
			</td>
		<td>
			<input type="text" name="user" value="{$user}" id="user" size="15" {$userACL}>
			</td>
	</tr><tr>
		<td style="vertical-align:top">
			<LABEL for="group">
				{t}Group{/t}{$must}&nbsp;
			</LABEL>
			</td>
		<td>
			<input type="text" name="group" value="{$group}" id="group" size="15" {$groupACL}>
			<br>
			<br>
			</td>
	</tr><tr>
		<td style="vertical-align:top">{t}Access{/t}{$must}&nbsp; </td>
		<td>
	  <table summary="" style="border:1px solid #B0B0B0">
	       <colgroup width="55" span="3">
	        </colgroup>
		<tr>
			<th>{t}Class{/t}</th>
			<th>{t}Read{/t}</th>
			<th>{t}Write{/t}</th>
			<th>{t}Execute{/t}</th>
			<th>&nbsp;</th>
			<th>{t}Special{/t}</th>
			<th>&nbsp;</th>
		</tr>
		<tr><td>{t}User{/t}</td>
			<td align="center"><input type="checkbox" name="u4" value="4" {$u4} {$userACL}></td>
			<td align="center"><input type="checkbox" name="u2" value="2" {$u2} {$userACL}></td>
			<td align="center"><input type="checkbox" name="u1" value="1" {$u1} {$userACL}></td>
			<td>&nbsp;</td>
			<td align="center"><input type="checkbox" name="s4" value="4" {$s4} {$userACL}></td>
			<td>({t}SUID{/t})</td>
			</tr>

		<tr><td>{t}Group{/t}</td>
			<td align="center"><input type="checkbox" name="g4" value="4" {$g4} {$userACL}></td>
			<td align="center"><input type="checkbox" name="g2" value="2" {$g2} {$userACL}></td>
			<td align="center"><input type="checkbox" name="g1" value="1" {$g1} {$userACL}></td>
			<td>&nbsp;</td>
			<td align="center"><input type="checkbox" name="s2" value="2" {$s2} {$userACL}></td>
			<td>({t}SGID{/t})</td>
			</tr>

		<tr><td>{t}Others{/t}</td>
			<td align="center"><input type="checkbox" name="o4" value="4" {$o4} {$userACL}></td>
			<td align="center"><input type="checkbox" name="o2" value="2" {$o2} {$userACL}></td>
			<td align="center"><input type="checkbox" name="o1" value="1" {$o1} {$userACL}></td>
			<td>&nbsp;</td>
			<td align="center"><input type="checkbox" name="s1" value="1" {$s1} {$userACL}></td>
			<td>({t}sticky{/t})</td>
	</tr></table>
	
		</td></tr></table>
	</td>
</tr>
<tr>
<td colspan=2>
<br>
<p class="seperator">&nbsp;</p>
<br>
<div style="align:right;" align="right">
	<input type="submit" value="{t}Apply{/t}" 	name="SaveSubObject">&nbsp;
	<input type="submit" value="{t}Cancel{/t}" 	name="CancelSubObject">
</div>
</td>
</tr>
</table>
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
  <!-- // First input field on page
	focus_field('cn','description');
  -->
</script>

