Contained WithinFind More DocumentationFeatured Support Resources | Descargar este libro en PDF (1030 KB)
Chapter 5 Customizing User Interface Features in MailThis chapter describes how to customize user interface features in Mail. This chapter contains the following sections: The Mailbox Tool BarThis section describes how to modify the mailbox tool bar shown in Figure 5–1. Figure 5–1 Mailbox Tool Bar
You can modify the following on the mailbox tool bar:
Customizing the Mailbox Tool BarTo modify the mailbox tool bar, edit the appropriate files as follows:
The function getToolbar() in mbox_fs_lr.jsp handles tool clicks and performs the following tasks:
Example: Mailbox Tool Bar ModificationsExample 5–1 shows the necessary edits to be made in the file mbox_fs_lr.jsp to :
Example 5–1 Altered Tool Bar Layout ( mbox_fs_lr.jsp )
Functionally, the getToolbar() function links the “Collect External Mail” hyperlink to collect() in main.js. Example 5–2 shows how such linking is done. Example 5–2 shows the necessary changes to be made in file en/i18n.js (text) Example 5–2 Altering Tool Bar Text (en/i18n.js)
Message ListingThis section describes how to modify the Message List window shown in Figure 5–2. Figure 5–2 Message List Window
You can modify the following in the Message List window:
Modifying Message List WindowTo modify the Message List window, edit the appropriate files as follows:
Functionally, the getToolbar() function links the “Collect External Mail” hyperlink to collect() in main.js. Example 5–2 shows how such linking is done. Example: Message Listing ModificationsTo 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. Example 5–3 Altering List Window Text (en/i18n.js)
Customizing The Message Display WindowThis section describes how to modify the Message Display window shown in Figure 5–3. Figure 5–3 Message Display Window
You can modify the following in the Message Display window:
Modifying Message Display WindowTo modify the Message Display window, edit the appropriate files as follows:
Modifying the Message Display Window to Display User Defined Header FieldsThis section describes how to add and display user-defined header fields in the Message Display window. Displaying User Defined Header FieldsExample 5–4 shows how to edit the listFrameHTML(doc)() function in the msg_fs_lr.jsp file. Example: Customizing the Message Display Window to Display User Defined Header FieldsThis example shows how to display the user defined field X-document-id in the Message Display Window. Example 5–4 shows the edits made to the function listFrameHTML() in the msg_fs_lr.jsp file. Example 5–4 Changes made to the msg_fs_lr.jsp file
The Message Tool BarThis section describes how to customize the message tool bar. Figure 5–4 Message Tool Bar
You can modify the following in the message tool bar:
Modifying the Message Tool BarTo modify the message tool bar, edit the appropriate files as follows:
Example 5–5 shows the necessary changes to be made in the en/i18n.js. file. Example 5–5 Altering Message Tool Bar Text (en/i18n.js)
The Message Composition WindowThis section describes how to modify the Compose window. Figure 5–5 Compose Window
You can modify the following in the Compose window:
Modifying the Message Composition WindowTo modify the Message Composition window, edit the rtfeditor.html file.
Functionally, rtfeditor.html is called by comp_fs_lr.html. This function assembles the code and assigns the functions to the graphics by calling WMtoolbar() in main.js that also handles colors and text-only versions. The rtfeditor.html file generates the “To”, “Cc”, and “Bcc” control area by calling the i18n_compose_controls() in <lang>/i18n.js. Example 5–6 shows the necessary changes to be made in the file en/i18n.js for changing the text “Recipients” to “Send to”. Example 5–6 Altering Composition Window Text (en/i18n.js)
Aligning the User Interface from Right to Left (For Arabic only)By default, the Menu tabs are aligned from left to right. If you have selected Arabic as the preferred language, then you need to customize Communications Express to align the Menu tabs from right to left.
|
....
i18n['dir'] = 'rtl'
...
|