cvs: phpweb /include layout.inc
| From: | Gabor Hojtsy | Date: | Fri, 08 Aug 2003 13:08:26 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19993@lists.php.net to get a copy of this message | ||
goba Fri Aug 8 09:08:26 2003 EDT
Modified files:
/phpweb/include layout.inc
Log:
Fix XHTML 1.0 validity problems
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.176 phpweb/include/layout.inc:1.177
--- phpweb/include/layout.inc:1.176 Thu Aug 7 13:34:24 2003
+++ phpweb/include/layout.inc Fri Aug 8 09:08:26 2003
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.176 2003/08/07 17:34:24 goba Exp $ */
+/* $Id: layout.inc,v 1.177 2003/08/08 13:08:26 goba Exp $ */
// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -197,10 +197,9 @@
}
// Return with image built up
- return sprintf('<img src="%s/%s" border="%d"
alt="%s"%s%s%s />',
+ return sprintf('<img src="%s/%s" alt="%s"%s%s%s />',
$webdir,
$file,
- $border,
($alt ? $alt : ''),
$sizeparams,
($align ? ' align="' . $align . '"' : ''),