svn: /web/php/trunk/ include/layout.inc index.php
| From: | Colin Viebrock | Date: | Thu, 15 Oct 2009 14:49:37 +0000 |
| Subject: | svn: /web/php/trunk/ include/layout.inc index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-6218@lists.php.net to get a copy of this message | ||
cmv Thu, 15 Oct 2009 14:49:37 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=289671
Log:
revised egg code ... sorry about the fail yesterday
Changed paths:
U web/php/trunk/include/layout.inc
U web/php/trunk/index.php
Modified: web/php/trunk/include/layout.inc
===================================================================
--- web/php/trunk/include/layout.inc 2009-10-15 14:22:38 UTC (rev 289670)
+++ web/php/trunk/include/layout.inc 2009-10-15 14:49:37 UTC (rev 289671)
@@ -212,7 +212,7 @@
<div id="headnav">
<a href="/" rel="home"><img
src="{$_SERVER['STATIC_ROOT']}/images/php.gif"
- alt="PHP" width="120" height="67" /></a>
+ alt="PHP" width="120" height="67" id="phplogo"
/></a>
<div id="headmenu">
<a href="/downloads.php">downloads</a> |
<a href="/docs.php">documentation</a> |
Modified: web/php/trunk/index.php
===================================================================
--- web/php/trunk/index.php 2009-10-15 14:22:38 UTC (rev 289670)
+++ web/php/trunk/index.php 2009-10-15 14:49:37 UTC (rev 289671)
@@ -203,7 +203,13 @@
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"
/>',
+ '<script type="text/javascript">',
+ "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(){if(document.getElementById){i=document.getElementById('phplogo');i.src='".$_SERVER['STATIC_ROOT']."/images/php_konami.gif'}});",
+ '</script>'
+ ),
'link' => array(
array(
"rel" => "search",