This section describes how to modify the Messenger Express Login screen shown in Modifying the Login Screen.
You can modify the following on the Sun Java System Messenger Express Login screen:
Replace the logo with a custom graphic
Change the color scheme
Replace the service name (for example, Sun Java System Messenger Express)
Replace images with advertisement banners and links
To modify the Login Screen, edit the lang/default.html file.
Customize the user interface by editing the body of lang/default.html. Functionally, lang/default.html contains three forms, two visible and one hidden:
Username Form (visible)
Password, Login Button (visible)
Login Same Window Form (hidden)
The hidden form is the one that is submitted to the server (POST username and password to login.msc).
You can also insert a new banner, image or link on the Sun Java System Messenger Express Login screen, by editing the lang/default.html file.
lang is the language specific file that you need to edit.
The example shown in Example—Login Screen Modifications replaces the Sun logo with a custom graphic and adds an advertisement banner with a link.
Example—Login Screen Modifications shows the Login screen HTML before editing the en/default.html file to customize the Login screen. Example—Login Screen Modifications
.... <meta http-equiv="Content-Type" content="text/html; "\> <link rel="stylesheet" href="master-style.css" type="text/css"\> .... <BODY marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="#800000"\> .... <td rowspan="4" valign="bottom"\><img src="imx/sun_logo.gif" width="96" height="66"\></td\> .... <td\><img src="imx/WebMail_splash.gif" width="200" height="30" alt="Sun Messaging Server"\></td\> .... <td bgcolor="#cccccc"\> .... |
Example—Login Screen Modifications shows the changes to be made in the en/default.html file to replace the Sun logo with a custom graphic and add an advertisement banner with a link in the Login screen.
.... <meta http-equiv="Content-Type" content="text/html; "\> <link rel="stylesheet" href="master-style.css" type="text/css"\> .... <BODY marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor= "#ffffff" \> .... <td rowspan="4" valign="bottom"\><img src="imx/ siroe.gif " width="96" height="66"\></td\> .... <td\><a href=”http://www.siroe.com”\> <img src="imx/ad.gif" width="450" height="50" alt="Advertisement Banner tip"\></a\><BR\> <img src="imx/siroewebservice.gif" width="200" height="30" alt="Siroe Webmail Service"\> ..... <td bgcolor= "#C0C0C0" \> .... |