SimplePortal
SimplePortal => Site Discussion => Topic started by: willerby on April 15, 2009, 04:22:02 PM
-
Came across what I thought was some odd code in Who's Online block...
foreach ($stats['users_online'] as $user)
echo '
<li class="sp_list_indent">', sp_embed_image($user['name'] == 'H' ? 'tux' : 'user'), ' ', $user['hidden'] ? '<em>' . $user['link'] . '</em>' : $user['link'], '</li>';
echo '
</ul>
</div>';
At first I didn't understand what all this was about as it should just be showing the list of users online preceded by a user.png icon (which I wanted to change dependent upon member group).
As I read it, the code seemed to suggested that IF the user was 'H', show an image called 'tux' else show an image called 'user'. Surely not?
Then I noticed this (attached) in your New Release announcemnet and came across a post from your project manager 'H' and it all made sense...
;P
-
It's called an Easter Egg. :P
-
Hi Jade!
Please tell me why?
-
http://en.wikipedia.org/wiki/Easter_egg_%28media%29#Software-based
-
:0 Well I've learned something new today
-
I hope there its mentioned that they aren't directly revealed to public to keep the fun going. :P
There are a few more in SP, though. This was the easiest to find. :D