1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

revised egg code ... sorry about the fail yesterday

This commit is contained in:
Colin Viebrock
2009-10-15 14:49:37 +00:00
parent 618990b747
commit 483a47b284
2 changed files with 8 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ function site_header($title = '', $config = array())
<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> |

View File

@@ -203,7 +203,13 @@ $RSIDEBAR_DATA = $MIRROR_IMAGE . $rel . $RSIDEBAR_DATA;
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",