Please respond to the list so that others may benefit.

The next step would be to edit the plugins config.php file. $topText is
the text/html that you want to appear before the login box and
$bottomText is the text/html that you want to appear beneath the login
box.

For example --

$topText = '<script language="Javascript"
src="/include/popup_window.js"></script>'
        . '<link rel="stylesheet" type="text/css"
href="/themes/css/verdana-10.css" />'
        . '<br><table align="center" width="520" cellpadding="0"
cellspacing="0" border="0">'
        . '<tr> <td colspan="4" height="10"></td> </tr>'
        . '<tr> <td valign="top" align="right" width="112"><img
src="/images/ena/frame_upleft.gif" height="10" width="112" alt=""
 border="0"></td>'
        . '<td valign="top"><img src="/images/ena/frame_top.gif"
height="10" width="508" alt="" border="0"></td>'
        . '<td valign="top" align="left" width="112"><img
src="/images/ena/frame_upright.gif" height="10" width="72" alt="" borde
r="0"></td> </tr>'
        . '<tr> <td valign="top" align="right" width="112"><img
src="/images/ena/frameleft.gif" height="400" width="112" alt="" b
order="0"></td>'
        . '<td align="center"><img src =
"/images/ena/webmail-login-AI.gif"><p>'
        . 'Please enter your Username and Password to access your email
account.<br>Your username is the first part of your email
 address before the @ symbol.<p>';

// Text and/or images for the bottom of the login page.
// You may use plain text or HTML.  If you want to 
// put images here, you must use an HTML <img> tag.
//
if ($domain == "k12tn.net") {
        $bottomText = "<p><center><a href=\"#\" onClick=\"javascript:
PopupWindow('http://mailtools.connecten.org/resetpass?small
=true', 'resetpass', 'default','default','','','center','middle');\">
Forgot Your Password?</a> | <a href='http://mailtools.conne
cten.org/accountmgmt' target = '_new'>Manage Your Account</a></center>";
} else {
        $bottomText = "";
}

$bottomText .= '<P><center><a href="' . $remote_file . '"
target=_new>WebMail User Guide</a><font size=-2>' .  $lastmod . '</font
><p>For additional assistance, please call the ENA Customer Support
Center at 1-800-836-4357.</center>'
        . '</td><td valign="top" align="left" width="72"><img
src="/images/ena/frameright.gif" height="400" width="72" alt="" bor
der="0"></td></tr>'
        . '<tr><td valign="bottom" align="right" width="112"><img
src="/images/ena/frame_downleft.gif" width="112" alt="" height 
= "10" border="0"></td>'
        . '<td valign="top"><img src="/images/ena/frame_down.gif"
height="10" width="508" alt="" border="0"></td>'
        . '<td valign="top" align="left" width="112"><img
src="/images/ena/frame_downright.gif" height="10" width="72" alt="" bor
der="0"></td> </tr>'
 

        . '<tr><td valign="bottom" align="right" width="112"><img
src="/images/spacer.gif" height="10" width="112" alt="" border=
"0"></td>'
        . '<td><center><font size="1"> <b><a
href="http://www.connect-tn.org/connecten_privacy_policy.htm";
target="_blank">Privac
y Policy</a> | <a href="http://www.connect-tn.org/terms_use.htm";
target="_blank">Terms of Use</b></a><br> &copy; 2004 Education N
etworks of America, Inc. All Rights Reserved</center></td>'
        . '<td valign="bottom" align="left" width="112"><img
src="/images/spacer.gif" height="10" width="72" alt="" border="0"></
td> </tr>'
        . '</table><font color = "#FFFFFF"><';

> -----Original Message-----
> From: Jonathan Jackson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 05, 2005 12:43 PM
> To: Marc Powell
> Subject: RE: [SM-USERS] Customising the login page
> 
> Hi Marc,
> So, I have downloaded the plug-in, installed it on the XServe in the
> correct
> place - when I use Terminal and look at the conf.pl file for squirrel
mail
> I
> see that the plug-in is installed ..... but what next? What would be
my
> next
> step, please.
> Thanks a million.
> 
> 
> Jonathan Jackson
> 
> ICT Department
> 
> Sale Grammar School
> 
> 0161 973 3217
> 
> -------------------------------------------------
> 
> This e-mail has been sent from a PC belonging to Sale Grammar School.
Its
> contents are confidential to the sender and the intended recipient.
> 
> If you receive it in error, please tell us by return and then delete
it
> from
> your system; you may not rely on its contents nor copy/disclose it to
> anyone.
> 
> Opinions, conclusions and statements of intent in this e-mail are
those of
> the sender. We do not accept responsibility for viruses; you must scan
for
> these.
> 
> Please note that e-mails sent to and from Sale Grammar School are
> routinely
> monitored for record keeping, quality control and training purposes,
to
> ensure regulatory compliance and to prevent viruses and unauthorised
use
> of
> our computer systems.
> 
> -------------------------------------------------
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
Marc
> Powell
> Sent: 05 January 2005 17:45
> To: squirrelmail-users@lists.sourceforge.net
> Subject: RE: [SM-USERS] Customising the login page
> 
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> [mailto:squirrelmail-
> > [EMAIL PROTECTED] On Behalf Of Jonathan Jackson
> > Sent: Wednesday, January 05, 2005 10:56 AM
> > To: squirrelmail-users@lists.sourceforge.net
> > Subject: [SM-USERS] Customising the login page
> >
> > Dear list members,
> > A newbie here - new to squirrel mail and VERY new to php.
> > We have Squirrel Mail up and running on our OSX Xserve - it works
> > flawlessly
> > - a great webmail interface for any organisation.
> > However, my manager would like the login page to be customised to
feel
> a
> > bit
> > more like the schools corporate image.
> > In HTML, I could do this for him, but using php, I hold my hands up
> and
> > admit I have no idea (yet, until I learn to use it)
> > The website http://webmail.nautilus.com.br/src/login.php has the
kind
> of
> > login page that he would like to be emulated.
> > Does anybody have a working login page similar that they would be
> willing
> > to
> > share with me to:
> > A - look at the code
> > B - Copy and customise
> 
> Use http://www.squirrelmail.org/plugin_view.php?id=217. If you want
> something as complicated your example page you'll still have to know
how
> to lay it out with HTML but the above plugin makes it very
> straightforward to include other graphics/information ala
> http://webmail.k12tn.net and your example.
> 
> --
> Marc
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> --
> squirrelmail-users mailing list
> Posting Guidelines:
> http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
> List Address: squirrelmail-users@lists.sourceforge.net
> List Archives:
> http://news.gmane.org/thread.php?group=ane.mail.squirrelmail.user
> List Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id)95
> List Info:
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to