summaryrefslogtreecommitdiffstats
path: root/mailnews/import/content/import-test.html
blob: ef9c5ed7f4803b71f52e7e6deeeb631087223c01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<html>
<body>

<script type="application/javascript">

function toImport(importType)
{
	/*
	window.openDialog("chrome:/messenger/content/fieldMapImport.xul",
					  "fieldMapImportDialog",
					  "chrome,modal");
	*/
	window.openDialog("chrome:/messenger/content/importDialog.xul",
					  "",
					  "chrome,modal",
					  {importType:importType});

}


</script>

<p>
<form name="form">
<input type="button" value="Import Address Books" onclick="toImport( 'addressbook');"><br>
<input type="button" value="Import Mail" onclick="toImport( 'mail');"><br>
<input type="button" value="Import Settings" onclick="toImport( 'settings');"><br>
<input type="button" value="Import Filters" onclick="toImport( 'filters');"><br>
<form> 

</body>
</html>