<html>
<head>
	<link rel="StyleSheet" href="||nwimg||/skin2.css" type="text/css">
	<script type="text/javascript" src="||nwimg||/script_cmd.js"></script>

	||include||css_blue.tpl||
	||include||color.dat||
</head>

<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onLoad="list_title('||lang_str||Folder Share||');" >

<br>
<center>

<form name="aclform" action="||action||" method="POST">
	<input type="hidden" name="utoken" value="||utoken||">
	<input type="hidden" name="cmd" value="fld_add_acl">
	<input type="hidden" name="acl_rights" value="lrs">
	<input type="hidden" name="page" value="">

<table border="0" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF">
<tr>	<td>
	<table border="0" cellpadding="1" cellspacing="1">
	<tr>	<td align="right"><b>||lang_str||Folder selected to share||:</b></td>
		<td>	<select name="folder" onChange="folder_acl_change()">
			||begin_fld_short||
				||ifndef||fld_no_select||
				<option ||ifequal||fld_name||folder||selected||endif||>||fld_name||</option>
				||endif||
			||end_fld_short||
			</select>
		</td>
	</tr>
||ifdef||myacl_admin||
	<tr>	<td align="right"><b>||lang_str||Share folder with this user||:</b></td>
		<td><input type="Text" name="acl_name" size="15"> <input type="Submit" class="button" name="fld_add_acl" value="||lang_str||Add User||"></td>
	</tr>
||endif||
	</table>			
	</td>
</tr>
<tr>	<td align="center">
	<table border="0" cellpadding="0" cellspacing="0">
	<tr>	<td valign="top">
		<table border="1" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF">
		<tr>
		<td valign="top">
||ifndef||myacl_admin||
			<table border="0" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF">
			<tr bgcolor="||color_menu||">
				<td><b>Sorry, you do not have permission to share this folder</b></td>
			</tr>
			</table>
||else||
			<table border="0" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF">
			<tr bgcolor="||color_menu||">
				<td>&nbsp;</td>
				<td width="150">Name</td>
				<td align="center">Full Access</td>
			</tr>

		||begin_acl||
			||ifequal||color||1||
				<tr bgcolor="||color_shade||">
				||define||color||0||
			||else||
				<tr>
				||define||color||1||
			||endif||
				<input type="hidden" name="||count||" value="||acl_name||">
				||ifdef||acl_advance||	||define||xadv||true|| <input type="hidden" name="acl_advance_||count||" value="true">||endif||
				||ifdef||acl_lookup||	<input type="hidden" name="acl_lookup_||count||" value="true">||endif||
				||ifdef||acl_read||	<input type="hidden" name="acl_read_||count||" value="true">||endif||
				||ifdef||acl_seen||	<input type="hidden" name="acl_seen_||count||" value="true">||endif||
				||ifdef||acl_write||	<input type="hidden" name="acl_write_||count||" value="true">||endif||
				||ifdef||acl_post||	<input type="hidden" name="acl_post_||count||" value="true">||endif||
				||ifdef||acl_create||	<input type="hidden" name="acl_create_||count||" value="true">||endif||
				||ifdef||acl_delete||	<input type="hidden" name="acl_delete_||count||" value="true">||endif||
				||ifdef||acl_admin||	<input type="hidden" name="acl_admin_||count||" value="true">||endif||

				<td><a href="javascript:folder_acl_delete('||acl_name||')"<img border="0" src="||nwimg||/msg_delete.gif"></a></td>
				<td>||acl_name||</td>
				<td align="center"><input class="clear" type="checkbox" name="acl_add_||count||" value="true" ||ifdef||acl_add||checked||endif|| ||ifdef||acl_add_off||disabled||endif|| ||ifdef||acl_advance||disabled||endif||></td>
			</tr>
		||end_acl||
			<tr>	<td colspan="10" align="right">
					<input type="button" class="button" onClick="folder_acl_update2()" value="||lang_str||Save||">
				</td>
			</tr>
		||ifdef||xadv||
			<tr>	<td><input class="clear" type="checkbox" name="x" disabled></td>
				<td colspan="10"> - Use Advanced rights to change this users access
				</td>
			</tr>
		||endif||
||endif||
			</table>
			
		</td></tr>
		</table></td>
	</tr>
	</table></td>
</tr>
<tr>	<td align="center"><input type="button" class="button" onClick="folder_acl_adv()" value="||lang_str||Advanced||"></td></tr>
</table>

</form>


</center>

||include||message_popup.tpl||
</body>
</html>
