cvs: pear /PEAR_Info Info.php
| From: | Laurent Laville | Date: | Thu, 05 Jul 2007 14:31:00 +0000 |
| Subject: | cvs: pear /PEAR_Info Info.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-47878@lists.php.net to get a copy of this message | ||
farell Thu Jul 5 14:31:00 2007 UTC
Modified files:
/pear/PEAR_Info Info.php
Log:
more XHTML 1.1 compliant
http://cvs.php.net/viewvc.cgi/pear/PEAR_Info/Info.php?r1=1.41&r2=1.42&diff_format=u
Index: pear/PEAR_Info/Info.php
diff -u pear/PEAR_Info/Info.php:1.41 pear/PEAR_Info/Info.php:1.42
--- pear/PEAR_Info/Info.php:1.41 Thu Jul 5 09:21:14 2007
+++ pear/PEAR_Info/Info.php Thu Jul 5 14:31:00 2007
@@ -15,7 +15,7 @@
* @author Davey Shafik <davey@pixelated-dreams.com>
* @author Laurent Laville <pear@laurent-laville.org>
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Info.php,v 1.41 2007/07/05 09:21:14 farell Exp $
+ * @version CVS: $Id: Info.php,v 1.42 2007/07/05 14:31:00 farell Exp $
* @since File available since Release 1.0.1
* @link http://pear.php.net/package/PEAR_Info
*/
@@ -607,14 +607,14 @@
}
$current_index = $name{0};
if (strtolower($current_index) != strtolower($old_index)) {
- $packages .= '<a name="' . $current_index . $anchor_suffix .
'"></a>';
+ $packages .= '<a id="' . $current_index . $anchor_suffix .
'"></a>';
$old_index = $current_index;
$index[] = $current_index;
}
// prepare package informations template
$ptpl = '
-<h2><a name="pkg_{package}">{package}</a></h2>
+<h2><a id="pkg_{package}">{package}</a></h2>
<table>
';
$packages .= str_replace('{package}',
@@ -797,7 +797,7 @@
}
$index_header = '
-<h2><a name="{top}">Installed Packages, Channel
{channel}</a></h2>
+<h2><a id="{top}">Installed Packages, Channel {channel}</a></h2>
<table>
<tr>
<td class="e">