cvs: phpweb /include layout.inc
| From: | Gabor Hojtsy | Date: | Sun, 20 Jun 2004 09:46:12 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-25046@lists.php.net to get a copy of this message | ||
goba Sun Jun 20 05:46:12 2004 EDT
Modified files:
/phpweb/include layout.inc
Log:
fix for mirrors running PHP 5 - Thanks for the info Nuno
http://cvs.php.net/diff.php/phpweb/include/layout.inc?r1=1.202&r2=1.203&ty=u
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.202 phpweb/include/layout.inc:1.203
--- phpweb/include/layout.inc:1.202 Sat Apr 10 06:52:24 2004
+++ phpweb/include/layout.inc Sun Jun 20 05:46:12 2004
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.202 2004/04/10 10:52:24 goba Exp $ */
+/* $Id: layout.inc,v 1.203 2004/06/20 09:46:12 goba Exp $ */
// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -27,7 +27,8 @@
array(
' ',
'<br />',
- '<font color="',
+ '<font color="', // for PHP 4
+ '<span style="color: ', // from PHP 5.0.0RC1
'</font>',
"\n ",
' '
@@ -35,6 +36,7 @@
array(
' ',
"<br />\n",
+ '<span class="',
'<span class="',
'</span>',
"\n ",