svn: /web/php/trunk/ index.php
| From: | Colin Viebrock | Date: | Thu, 15 Oct 2009 00:16:50 +0000 |
| Subject: | svn: /web/php/trunk/ index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-6209@lists.php.net to get a copy of this message | ||
cmv Thu, 15 Oct 2009 00:16:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=289646
Log:
easter egg for homepage
Changed paths:
U web/php/trunk/index.php
Modified: web/php/trunk/index.php
===================================================================
--- web/php/trunk/index.php 2009-10-14 21:07:44 UTC (rev 289645)
+++ web/php/trunk/index.php 2009-10-15 00:16:50 UTC (rev 289646)
@@ -203,7 +203,11 @@
site_header("Hypertext Preprocessor",
array(
'onload' => 'boldEvents();',
- 'headtags' => '<link rel="alternate"
type="application/atom+xml" title="PHP: Hypertext Preprocessor"
href="' . $MYSITE . 'feed.atom" />',
+ 'headtags' => array(
+ '<link rel="alternate" type="application/atom+xml"
title="PHP: Hypertext Preprocessor" href="' . $MYSITE . 'feed.atom"
/>',
+ "function okc(f){var
c=[38,38,40,40,37,39,37,39,66,65,13],x=function(){x.c=x.c||Array.apply({},c);x.r=function(){x.c=null};return
x.c},h=function(e){if(x()[0]==(e||window.event).keyCode){x().shift();if(!x().length){x.r();f()}}else{x.r()}};window.addEventListener?window.addEventListener('keydown',h,false):document.attachEvent('onkeydown',h)}",
+
"okc(function(){document['phplogo'].src='".$_SERVER['STATIC_ROOT']."/images/php_konami.gif'});"
+ ),
'link' => array(
array(
"rel" => "search",