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:
@@ -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> |
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user