The file that is used for modifying the import/export window is importexport.xsl. The page displays Import and Export sections.
You can customize the page for
Labels
Swapping the Import and Export sections
Change the format options displayed in drop-downs
Layout
For example, let us consider modifying the listed format options. The format options listed are,
Netscape Communication Address Book (LDIF)
Microsoft Outlook CSV
SunONE Address Book CSV
vCard
Example 7–21 shows the code before modifying the options list
<td class="PropInput" width="80%"> <select name="importformat" tabindex="2"> <option value="ldif"><xsl:text>_Netscape Ldif</xsl:text></option> <option value="csvus"><xsl:text>_Outlook CSV</xsl:text></option> <option value="iabs"><xsl:text>_SunONE CSV</xsl:text></option> <option value="vcard"><xsl:text>_vCard</xsl:text></option> </select> </td> |
The options list can be changed to appear in the following order in drop down list.
SunONE Address Book CSV
Microsoft Outlook CSV
Netscape Communication Address Book (LDIF)
vCard
Example 7–22 shows the code after modifying the options list
<td class="PropInput" width="80%"> <select name="importformat" tabindex="2"> <option value="iabs"><xsl:text>_SunONE CSV</xsl:text></option> <option value="csvus"><xsl:text>_Outlook CSV</xsl:text></option> <option value="ldif"><xsl:text>_Netscape Ldif</xsl:text></option> <option value="vcard"><xsl:text>_vCard</xsl:text></option> </select> </td> |