cvs: phpweb /include layout.inc
| From: | Gabor Hojtsy | Date: | Wed, 06 Sep 2006 16:57:09 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-32358@lists.php.net to get a copy of this message | ||
goba Wed Sep 6 16:57:09 2006 UTC
Modified files:
/phpweb/include layout.inc
Log:
ah, two basic errors
http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.236&r2=1.237&diff_format=u
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.236 phpweb/include/layout.inc:1.237
--- phpweb/include/layout.inc:1.236 Wed Sep 6 16:54:28 2006
+++ phpweb/include/layout.inc Wed Sep 6 16:57:09 2006
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.236 2006/09/06 16:54:28 goba Exp $ */
+/* $Id: layout.inc,v 1.237 2006/09/06 16:57:09 goba Exp $ */
// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -87,7 +87,7 @@
}
// Set onload handler if required
- $onload = (isset($config['onload']) ? 'onload="' .
$config['onload'] . '"' : '');
+ $onload = (isset($config['onload']) ? ' onload="' .
$config['onload'] . '"' : '');
// Explicit language setting means that we should put that into the form
if (isset($EXPL_LANG)) {
@@ -121,7 +121,7 @@
<link rel="shortcut icon"
href="{$_SERVER['STATIC_ROOT']}/favicon.ico" />
<script type="text/javascript"
src="{$_SERVER['STATIC_ROOT']}/userprefs.js"></script>$base$meta
</head>
-<body{$onload}">
+<body{$onload}>
<div id="headnav">
<a href="/"><img
src="{$_SERVER['STATIC_ROOT']}/images/php.gif"