Location: PHPKode > projects > Simple Way to Usenet > swun/docs/themes/swun/templates/leftmenu/did.tpl
<form method="post" target="_self" enctype="multipart/form-data" action="" id="denq">
<input type="hidden" value="$quickey" name="formkey" />
<input type="hidden" value="did" name="enqmethod" />

<select name="did[type]" id="denq_type">
	<optgroup label="{--LANG=W=base;did_type--}">
		<option value="nbrid" selected>{--LANG=W=base;did_nbrid--}</option>
		<option value="nzbid">{--LANG=W=base;did_nzbid--}</option>
	</optgroup>
</select><br/>
<input name="did[val]" type="text" value="" size=15 id="denq_id" /><br/>
{--LOGIC= $inuse isfalse --}
	You can't enqueue on any rpcs
{--LOGIC-ELSE--}
	{--LOGIC= $multirpc isfalse --}
		<input type="button" value="{--LANG=W=base;did_enq--}" onclick="d_enqueue('denq_rpc', 'denq_type', 'denq_id')"/>
		<input type="hidden" value="$activerpc" name="rpc" id='denq_rpc' />
	{--LOGIC-ELSE--}
		<input type="button" value="{--LANG=W=base;did_enqon--}" onclick="d_enqueue('denq_rpc', 'denq_type', 'denq_id')"/>
		<select name="rpc" id="denq_rpc">
		{--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