This section describes how to modify the Message List window shown in Figure 5–2.
You can modify the following in the Message List window:
Change the default 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_lr.jsp 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, the getToolbar() function links the “Collect External Mail” hyperlink to collect() in main.js. Example 5–2 shows how such linking is done.
To change the text on “Collect External Mail” button to “Get Messages From Another Server”, follow the code example provided in Example 5–3. This shows the necessary changes to be made in en/i18n.jsfile.
// POP3 Collection .... i18n[’collect long’] = ’Get Messages From Another Server’ |