Sun Java System Messenger Express 6 2005Q4 Customization Guide

Example—Message Tool Bar Modifications

The example shown in Example—Message Tool Bar Modifications moves “New Message” to the right and abbreviates the text from “Previous” to “Prev.”

Figure 3–10 Example Message Tool Bar Modifications

In this figure the "Compose" tool is moved to the right and "Previous"
 is  abbreviated to "Prev."

Example—Message Tool Bar Modifications shows the necessary changes to be made in file msg_fs.html.


Example 3–9 Altering Message Tool Bar Layout (msg_fs.html)


function getToolbar() {
var s
...
main.WMtoolbar(
 null,null,’imx/spacer.gif’,5,1,false,
 i18n[’close’], ’parent.gotofolder()’, 
’imx/cancel.gif" alt="’ 
+i18n[’msg close’], 24, 24, true,
null,null,’imx/spacer.gif’,5,1,false,

i18n[’compose’], ’main.compose(”new”)’, 
’imx/compose.gif" alt="’ + i18n[’msg compose’], 24, 24, true) +
               
 <td\><img src="imx/spacer.gif" width="1" height="1"\></td\>\\n’ +
....


            

Example—Message Tool Bar Modifications shows the necessary changes to be made in file en/i18n.js.


Example 3–10 Altering Message Tool Bar Text ( en/i18n.js)


// Tool Bars
....
i18n[’previous’] = ’
               Prev