This section describes how to modify the Sun Java System Messenger Express Message List window shown in Modifying the Message List Window.
You can modify the following in the Sun Java System Messenger Express Message List window:
By default change the sorting order
Change the text of the default column heading
Change the text on “Collect External Mail” button
To modify the Message List window, edit the appropriate files as follows:
To customize how the message list appears, edit the listFrameHTML() function in the mbox_fs.html file.
To customize the order in which messages are listed, edit the defaults[] values near the top of the main.js file.
To change the text of default column heading, edit the i18n[] values for search results, date, from, to, size, and subject in the lang/i18n.js file.
To change the text on the “Collect External Mail” button, edit i18n[’collect long] in the lang/i18n.js file.
Functionally, listFrameHTML() calls getSortHeader() in mbox_fs.html and assigns column headings with appropriate call to the sorting function sortMsgs() in main.js. The listFrameHTML() function also links the “Collect External Mail” hyperlink to collect() in main.js.
The example shown in Example—Message List Window Modifications displays the most recently received mails first, and changes the text on “Collect External Mail” button to “Get Messages From Another Server”.
Example—Message List Window Modifications shows the necessary changes to be made in files main.js.
var defaults = new Array( ..... ’meSortOrder’, ’ L ’, ..... ) |
Example—Message List Window Modifications shows the necessary changes to be made in file en/i18n.js.
// POP3 Collection .... i18n[’collect long’] = ’ Get Messages From Another Server ’ |