<!-- Java function for the below is in:
		/nwimg/smooth/script_cmd.js
---->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr> <td><img border="0" src="||nwimg||/space.gif" height="3" width="3"></td></tr>

||define||xldap_book_name||ldap_book_name||
||define||bracket||\]||
||undef||xresult||
||undef||one_book||
||begin_ldap_books||
	||define||one_book||true||
	||undef||pub||
	||ifinstr||ldap_book_name||bracket|| ||define||pub||true|| ||else||
		||begin_ldap_security||||define||pub||true||||end_ldap_security||
	||endif||		
	||ifdef||ldap_book_user||
		||define||xpub||pub||

		||ifnempty||xpub||
			||ifempty||xresult||
				||define||xresult||true||
				<tr><td><img border="0" src="||nwimg||/space.gif" height="1" width="3"></td>
				    <td colspan="2"><hr></td>
				</tr>				
			||endif||
		||endif||
	||endif||
	<tr>
		<td><img border="0" src="||nwimg||/space.gif" height="1" width="3"></td>
		
		<td nowrap="nowrap"><a href="javascript:ldap_select('||encode_text||ldap_book_name||', ||ifdef||xpub||true||else||false||endif||,||ifdef||ldap_book_new||true||else||false||endif||,||ifdef||ldap_book_write||true||else||false||endif||)">
			||ifdef||pub|| 
				||ifdef||ldap_book_user||
					<img src="||nwimg||/ldap_publicgroup.gif" border="0">
				||else||
					<img src="||nwimg||/ldap_public.gif" border="0">
				||endif||
			||else|| <img src="||nwimg||/ldap_private.gif" border="0"> ||endif||		

			||html_text||ldap_book_display_name||
		</a></td>
		<td align="right" norwap>
		||ifndef||ldap_book_user||
			<a href="javascript:ldap_book_delete('||href_text||ldap_book_name||')"><img src="||nwimg||/msg_delete.gif" border="0"></a>
		||else|| 
			||ifdef||ldap_book_new||<img src="||nwimg||/ldap_new.gif" border="0">||endif|| 
			||ifdef||ldap_book_write||<img src="||nwimg||/ldap_write.gif" border="0">||endif||
			||ifdef||ldap_book_delete||<img src="||nwimg||/ldap_delete.gif" border="0">||endif||
		||endif|| 
		</td>
		<td><img border="0" src="||nwimg||/space.gif" height="1" width="3"></td>
	</tr>
||end_ldap_books||

||ifempty||one_book||
	<tr><td><img border="0" src="||nwimg||/space.gif" height="1" width="3"></td>
		<td colspan="2" align="center">&nbsp;</td>
		</td>
	</tr>
	<tr><td><img border="0" src="||nwimg||/space.gif" height="1" width="3"></td>
	    	<td colspan="2" align="center">
			<b>||lang_str||Please Create Address Book||</b>
		</td>
	</tr>
||endif||

</table>

<form name="ldap_sec" method="post" action="||action||" target="xldap_book_sec">
	<input type="hidden" name="cmd" value="ldap_book">
	<input type="hidden" name="utoken" value="||utoken||">
	<input type="hidden" name="page" value="ldap_book_security">
	<input type="hidden" name="ldap_book_name" value="||encode_text||xldap_book_name||">
	<input type="hidden" name="encode_text" value="ldap_book_name">
</form>

<form name="myldap_entries" method="post" action="||action||" target="xldap_entries">
	<input type="hidden" name="cmd" value="ldap_book">
	<input type="hidden" name="utoken" value="||utoken||">
	<input type="hidden" name="page" value="ldap_entries">
	<input type="hidden" name="ldap_book_name" value="||encode_text||xldap_book_name||">
	<input type="hidden" name="encode_text" value="ldap_book_name">
</form>

