<{strip}>

<form id="attachment_form<{$id}>" action="#" method="post" target="attachment_form<{$id}>" enctype="multipart/form-data" onsubmit="return false;">
	<input type="hidden" name="cabinet_id" value="<{$action.cabinet_id}>" />
	<input type="hidden" name="folder_id" value="<{$action.folder_id}>" />

	<table summary="">
		<tr>
			<th class="nowrap" scope="row">
				<label for="cabinet_add_file_name<{$id}>">
					<{$lang.cabinet_file|smarty:nodefaults}>
				</label>
			</th>
			<td>
				<input id="cabinet_add_file_name<{$id}>" name="file_name" type="file" />
			</td>
		</tr>
		<tr>
			<th class="nowrap" scope="row">
				<label for="cabinet_add_file_comment<{$id}>">
					<{$lang.cabinet_comment|smarty:nodefaults}>
				</label>
			</th>
			<td>
				<input id="cabinet_add_file_comment<{$id}>" class="text" name="comment" type="text" value="" />
			</td>
		</tr>
	</table>
	<div class="btn-bottom">
		<input class="btn-width" type="button" value="<{$lang.cabinet_btn_add_file|smarty:nodefaults}>" onclick='cabinetCls["<{$id}>"].addFile("<{$smarty.session.cabinet._id.$block_id}>",this.form); return false;' />
		&nbsp;
		<input class="btn-width" type="button" value="<{$lang._cancel|smarty:nodefaults}>" onclick='commonCls.removeBlock("<{$id}>"); return false;' />
	</div>
</form>

<{include file="../cabinet_script.html"}>

<{/strip}>
