Sun Java System Messenger Express 6 2005Q4 Customization Guide

Example—Options Window Modifications

The example shown in Example—Options Window Modifications moves “Vacation Message” between “Personal Information” and “Password,” and changes the text “Sun Java System Messenger Express” to “Mozilla Super Speedy Web Mail.”

Figure 3–19 Example Options Window Modifications

In this figure the 'Vacation Message' field is moved between
'Personal Information' and 'Password.'

Example—Options Window Modifications shows the necessary changes to be made in the file opts_fs.html to move “Vacation Message” between “Personal Information” and “Password.”


Example 3–21 Altering Options Window Layout ( opts_fs.html)


function toggleFrameHTML()  {
....
 getToggle(main.i18n[’personal’], ’personal’,
 ’javascript:parent.toggle(”personal”)’) +
getToggle(main.i18n[’vacation’], ’vacation’,
’javascript:parent.toggle(”vacation”)’) +
n.i18n[’password’], ’password’,
’javascript:parent.toggle(”password”)’) +
....
}


            

Example—Options Window Modifications shows the necessary changes to be made in the file en/i18n.js to change the text “Sun Java System Messenger Express” to “Mozilla Super Speedy Web Mail.


Example 3–22 Altering Options Window Text ( en/i18n.js)


// Options
....
i18n[’passwd exp’] = ’
Use this form to change the password 
you use to access Mozilla Super Speedy Web Mail.