[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-devel
Subject:    [SM-DEVEL] Cute Color Mosaic of Squirrelmail themes ;-)
From:       Alexandros Vellis <avel () noc ! uoa ! gr>
Date:       2003-03-22 15:38:25
[Download RAW message or body]

I don't know if it has been done in the past...

This very cute (and useless?) mosaic of Squirrelmail themes:

http://www.noc.uoa.gr/~avel/sq_themes.html

is created with this code...

global $theme;

print '<table border="0" cellspacing="1" cellpadding="3">';
foreach($theme as $no=>$info) {
	print '<tr><td align="right">'.$info['NAME'].'</td>';
	include $info['PATH'];
	for ($i=0; $i<16; $i++) {
		print '<td bgcolor="'.$color[$i].'"> &nbsp;&nbsp;</td>';
	}
	print "</tr>";
}
print '</table>';

If radio buttons were added to this, it could make an alternative way to
display and choose a theme (plugin idea?). But I think I won't bother,
I'd rather wait for template & complete CSS support. :-)

Cheers,

Alex



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
--
squirrelmail-devel mailing list
List Address: squirrelmail-devel@lists.sourceforge.net
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=7139
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic