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

<body>

<form name="addrexport" method="post" action="||action||">
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="cmd" value="addr_export" />
	<input type="hidden" name="ldap_book_name" value="||encode_text||ldap_book_name||" />
	<input type="hidden" name="encode_text" value="ldap_book_name" />

<table border="0" width="100%" cellpadding="0" cellspacing="0">
	<td width="5"><img src="||nwimg||/space.gif" width="5" height="1"></td>
	<td width="105"><img src="||nwimg||/space.gif" width="105" height="1"></td>
	<td width="100%"><img src="||nwimg||/space.gif" width="105" height="1"></td>
	<td width="75"><img src="||nwimg||/space.gif" width="105" height="1"></td>
	<td width="78"><img src="||nwimg||/space.gif" width="65" height="1"><img src="||nwimg||/space.gif" width="13" height="1"></td>

<script type="text/javascript">
<!-- 
	d = parent.document;

	d.ldap_book.ldap_book_name.value = "||html_text||ldap_book_name||";
	d.ldap_book.ldap_book_orginal.value = "||html_text||(||ldap_book_name||)||";
	d.ldap_book.ldap_book_note.value = "||message_text||(||ldap_book_note||)||";

	d.ldap_book.lb_href.value = "||encode_text||ldap_book_name||";
//-->
</script>


||define||max_line_count||2||
	||begin_ldap_entries||
||ifequal||line||1||
	<tr bgcolor="||color_shade||">
||else||
	<tr>
||endif||
||ifdef||show_select||
		<td width="5"><input type="checkbox" class="clear" name="sel_||encode_text||ldap_entry_dn||" value="on"></td>
||else||
		<td>&nbsp;</td>
||endif||

||ifdef||use_group||
	||define||xaddr||(||message_text||ldap_entry_displayname||)||
	||ifnempty||ldap_entry_displayname||
		||ifnempty||ldap_entry_mail||
			||define||xaddr||("||message_text||ldap_entry_displayname||" <||ldap_entry_mail||>)||
		||endif||
	||else||
		||ifnempty||ldap_entry_mail||
			||define||xaddr||ldap_entry_mail||
		||endif||
	||endif||
		<td><a href="javascript:group_add_address('||href_text||xaddr||')">||ifdef||ldap_entry_displayname||||html_text||ldap_entry_displayname||||else||||html_text||ldap_entry_cn|| ||html_text||ldap_entry_sn||||endif||</a></td>
		<td><a href="javascript:group_add_address('||href_text||xaddr||')">||html_text||ldap_entry_mail||</a></td>
||else||
||ifdef||use_addr||
	||define||xaddr||(||message_text||ldap_entry_displayname||)||
	||ifnempty||ldap_entry_displayname||
		||ifnempty||ldap_entry_mail||
			||define||xaddr||("||message_text||ldap_entry_displayname||" <||ldap_entry_mail||>)||
		||endif||
	||else||
		||ifnempty||ldap_entry_mail||
			||define||xaddr||ldap_entry_mail||
		||endif||
	||endif||
		<td><a href="javascript:compose_add_address('||href_text||xaddr||')">||ifdef||ldap_entry_displayname||||html_text||ldap_entry_displayname||||else||||html_text||ldap_entry_cn|| ||html_text||ldap_entry_sn||||endif||</a></td>
		<td><a href="javascript:compose_add_address('||href_text||xaddr||')">||html_text||ldap_entry_mail||</a></td>
||else||
		<td><a href="javascript:ldap_entry('||href_text||(||href_text||ldap_entry_dn||)||')">||ifdef||ldap_entry_displayname||||html_text||ldap_entry_displayname||||else||||html_text||ldap_entry_cn|| ||html_text||ldap_entry_sn||||endif||</a></td>
		<td><a href='javascript:msg_new_msg("||encode_text||(||strip_lang||ldap_entry_mail||)||")'>||html_text||ldap_entry_mail||</a></td>
||endif||
||endif||
		<td>||html_text||ldap_entry_o||</td>
		<td>||html_text||ldap_entry_telephonenumber||</td>
	</tr>
	||end_ldap_entries||
</table>

</form>

</body>
</html>

||ifinstr||error||(||lang_str||Selected Book Does not Exist||)||
||else||
	||include||message_popup.tpl||
||endif||

