pjs/mailnews/import/resources/content/import-test.html

32 строки
654 B
HTML

<html>
<body>
<script language="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>
<form>
</body>
</html>