Location: PHPKode > projects > Simple Way to Usenet > swun/docs/themes/swun/templates/leftmenu/nzbupload.tpl
<form method="post" enctype="multipart/form-data" id="nzbupl" action="">
{--TFEAT=ajaxupload; nzbupl --}
<input type="hidden" value="$quickey" name="formkey" />
<input type="hidden" value="upl" name="enqmethod" />
<select name="nzbcatid" ONCHANGE="enqueue_swapnzbcat('%BRW_BASEDIR/search/nzbid/', this.value)" id="uplcat">
	<optgroup label="{--LANG=W=base;upl_cat--}">
	{--ARRAY= $uplcats --}
		<option value="$ARRAY_ENTRY_KEY" {--LOGIC= $ARRAY_ENTRY_COUNT == 1 --}selected{--LOGIC-END--} >$ARRAY_ENTRY_VAL</option>
	{--ARRAY-END--}
	</optgroup>
</select><br/>
<input name="nzb" type="file" value="" size=8 id="uplnzb" /><br/>
{--LANG=S=base;upl_maxsize; size=$maxsize --}<br/>
<input type="button" value="{--LANG=W=base;upl_upl--}" onclick="xajax_uplsend('nzbupl', 'n_upload')" />
{--LOGIC= $inuse isfalse --}
	<br/>
	{--LANG=W=base;norpctoenq--}
{--LOGIC-ELSE--}
	{--LOGIC= $multirpc isfalse --}
		:: 
		<input type="button" value="{--LANG=W=base;upl_enq--}" onclick="xajax_uplsend('nzbupl', 'n_enqueue')" />
		<input type="hidden" value="$activerpc" name="rpc" id="uplrpc" />
	{--LOGIC-ELSE--}
		<br/>
		<input type="button" value="{--LANG=W=base;upl_enqon--}" onclick="xajax_uplsend('nzbupl', 'n_enqueue')" />
		<select name="rpc" id="uplrpc">
		{--ARRAY= $rpcs --}
			<option value="$ARRAY_ENTRY_KEY" 
					{--LOGIC= $enabled istrue --}
						{--LOGIC= $ARRAY_ENTRY_KEY == %activerpc --}selected{--LOGIC-END--} 
					{--LOGIC-ELSE--}
						disabled
					{--LOGIC-END--}>$rpc</option>
		{--ARRAY-END--}
		</select>
	{--LOGIC-END--}
{--LOGIC-END--}
</form>
Return current item: Simple Way to Usenet