<html>
<head>

	<link rel="StyleSheet" href="||nwimg||/skin.css" type="text/css">
	<script type="text/javascript" src="||nwimg||/script_address.js"></script>
	<script type="text/javascript" src="||nwimg||/script_cmd.js"></script>	
||include||css.tpl||
||include||css_color.tpl||

<title>||lang_str||Import Address Book||</title>

<script type="text/javascript">
<!--
function mySubmit()
{
	document.addrbook.submit();
	window.close()
}
function do_copy(sel) {
	var i;
	for (i=0; i<sel.options.length; i++)
	if (sel.options[i].selected==true)
	document.addrbook.ldap_book_name.value = sel.options[i].text;
}

//-->
</script>
</head>

<body onload="document.addrbook.import_file.focus();">

<center>

<form name="addrbook" method="post" enctype="multipart/form-data" action="||action||" target="xaddrselect">
	<input type="hidden" name="cmd" value="ldap_import" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="do_select_addr" value="true" />	
	<input type="hidden" name="encode_text" value="ldap_book_name" />


<table width="100%" cellspacing="0" cellpadding="0">
<tr> 	<th colspan="2">||lang_str||Import Address Book||</th> </tr>
<tr> 	<td valign="top"><b>||lang_str||File to Import||:</b></td>
	<td><input type="file" name="import_file" /></td>
</tr>
<tr> 	<td valign="top"><b>||lang_str||File type||:</b></td>
	<td> 	<input type="radio" class="clear" name="import_type" value="Outlook" checked="checked" /><a href="#outlook">Outlook *</a><br />
		<input type="radio" class="clear" name="import_type" value="Eurdora" /><a href="#eurdora">Eudora *</a> (NNdbase.txt)<br />
		<input type="radio" class="clear" name="import_type" value="IMail" />IMail Server (Windows NT)<br />
		<input type="radio" class="clear" name="import_type" value="Novell" />Novell ||lang_str||Address Book from|| GroupWise (*.NAB)<br />
		<input type="radio" class="clear" name="import_type" value="Netscape" /><a href="#netscape">Netscape ||lang_str||Address Book|| *</a><br />
        		   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(||lang_str||Export in 'Comma Separated'|| (*.cvs). ||lang_str||Does not work with Netscape 7.0 or higher||)<br />
		<input type="radio" class="clear" name="import_type" value="LDIF" /><a href="#ldif">LDAP Data Interchange Format (LDIF)*</a><br />
        		   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Works in Netscape 7.0 and higher. Export in '.ldif' or '.ldi')<br />
		<input type="radio" class="clear" name="import_type" value="pine" /><a href="#pine"> Pine ||lang_str||Address Book|| *</a><br />
	</td>
</tr>
<tr> 	<td valign="top" nowrap="nowrap"><b>||lang_str||Address Book||<br />||lang_str||to import to||:</b></td>
	<td> <input type="text" size="20" name="ldap_book_name" value="||ldap_book_edit||" />
		<select size="1" name="addr_books" onchange="do_copy(this)">
			<option>(none)</option>
		||begin_ldap_books||
			<option value="||encode_text||ldap_book_name||" ||selected||>||ldap_book_display_name||</option>
		||end_ldap_books||
		</select><br />
		||lang_str||Warning: If any nicknames imported already exist in this address book they will be overwritten||
	</td>
</tr>
<tr> 	<td><input type="button" onclick="mySubmit()" value="Do Import" /></td>
	<td>&nbsp;</td>
</tr>

<tr>
	<td colspan="2"><hr /></td>
</tr>

<tr> 	<td valign="top"><a name="outlook"></a>Outlook*</td>
	<td>You need to 'Export' --> 'Other Address Book...'<br />
		--> 'Text File (Comma Separeted Values)'.<br />
	</td>
</tr>
<tr> 	<td valign="top"><a name="eurdora"></a>Eudora*</td>
	<td>The file you need to import is called 'NNdbase.txt' and it
		should be the the location where Eudora was installed.
	</td>
</tr>
<tr> 	<td valign="top"><a name="netscape"></a>Netscape*</td>
	<td>You need to click Communicator, Address Book, File, Export<br />
		Change the Save in: to "Desktop"<br />
		Change the File name: to "pab.csv"<br />
		Change the Save as type: to "Comma Separated (*.csv)<br />
		Then Click Save.
	</td>
</tr>
<tr> 	<td valign="top"><a name="ldif"></a>LDIF*</td>
	<td>Many mail clients support exporting their Address books into this format (*.ldif or *.ldi).<br />
		Netscape v7.0 and later uses this format by default when exporting.<br />
		Click Window, Address Book, Tools, Export, then make sure the "LDIF" option is selected
	</td>
</tr>

<tr> 	<td valign="top"><a name="pine"></a>Pine*</td>
	<td>Pine uses an ASCII text file stored in the users root directory called ".addressbook"
	</td>
</tr>

</table>
</form>
</center>
<hr />


</body>
</html>
