Little change in change in checker.php

Post modules, themes or any other code you want to share with the community.

Moderator: Developers

molski
Posts: 70
Joined: Mon Apr 26, 2004 8:10 pm

Little change in change in checker.php

Postby molski » Wed Aug 29, 2007 7:28 pm

All,

In the header of the theme you see the little "email icon" followed by the number of new emails. I always found that a little "bored", so I changed it a little so instead of seeing "<email icon> <number of new emails>" you will now see "<email icon> You got <number of new emails> new e-mail(s)".

Like a said....a very little change ;)

To do this, change line 111 in /checker.php

from:

Code: Select all

echo '<a href="'.$GO_MODULES->modules['email']['url'].'" target="main"><img src="'.$GO_THEME->images['mail'].'" border="0" align="absmiddle" /> '.$_SESSION['GO_SESSION']['email_module']['new'].'</a>';
to:

Code: Select all

echo '<a href="'.$GO_MODULES->modules['email']['url'].'" target="main"><img src="'.$GO_THEME->images['mail'].'" border="0" align="absmiddle" /> You got '.$_SESSION['GO_SESSION']['email_module']['new'].' new e-mail(s)</a>';
And because the text in my header is white, I added in the body tag in checker.css in my current theme this line:

Code: Select all

color: white;

Regards,

Molski

Who is online

Users browsing this forum: No registered users and 1 guest

cron