cvs: pearweb /public_html/news index.php
| From: | Daniel Convissor | Date: | Wed, 16 Jun 2004 19:04:09 +0000 |
| Subject: | cvs: pearweb /public_html/news index.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-20756@lists.php.net to get a copy of this message | ||
danielc Wed Jun 16 15:04:09 2004 EDT
Modified files:
/pearweb/public_html/news index.php
Log:
* Add id to name anchors and make paired elements for XHTML
compliance and not mucking up the first item in each list.
* Put in line breaks.
* Use single quotes.
http://cvs.php.net/diff.php/pearweb/public_html/news/index.php?r1=1.9&r2=1.10&ty=u
Index: pearweb/public_html/news/index.php
diff -u pearweb/public_html/news/index.php:1.9 pearweb/public_html/news/index.php:1.10
--- pearweb/public_html/news/index.php:1.9 Fri Apr 9 08:17:43 2004
+++ pearweb/public_html/news/index.php Wed Jun 16 15:04:09 2004
@@ -15,32 +15,28 @@
+----------------------------------------------------------------------+
| Authors: Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: index.php,v 1.9 2004/04/09 12:17:43 mj Exp $
+ $Id: index.php,v 1.10 2004/06/16 19:04:09 danielc Exp $
*/
-response_header("News");
+response_header('News');
-echo "<h1>PEAR news</h1>";
+echo "<h1>PEAR News</h1>\n";
-echo "<h2><a name=\"2003\" />Year 2004</h2>";
-echo "<ul>";
-
-echo "<li>" . make_link("weekly-summaries.php", "Weekly
Summaries") . " (April)</li>";
-echo "<li>" . make_link("pepr.php", "Announcing PEPr") . "
(January)</li>";
-
-echo "</ul>";
-
-echo "<h2><a name=\"2003\" />Year 2003</h2>";
-echo "<ul>";
-
-echo "<li>" . make_link("pecl-split.php", "Own infrastructure for
PECL") . " (October)</li>";
-echo "<li>" . make_link("group-announce.php", "Announcing the PEAR
Group") . " (August)</li>";
-echo "<li>" . make_link("activestate-award-ssb.php", "ActiveState
Active Award for Stig Bakken") . " (July)</li>";
-echo "<li>" . make_link("meeting-2003-summary.php", "Summary of the
PEAR Meeting") . " (May)</li>";
-echo "<li>" . make_link("meeting-2003.php", "PEAR Meeting in
Amsterdam") . " (March)</li>";
-echo "<li>" . make_link("release-1.0.php", "PEAR 1.0 is
released!") . " (January)</li>";
-
-echo "</ul>";
+echo '<h2><a name="2004" id="2004">Year
2004</a></h2>' . "\n";
+echo "<ul>\n";
+echo ' <li>' . make_link('weekly-summaries.php', 'Weekly
Summaries') . " (April)</li>\n";
+echo ' <li>' . make_link('pepr.php', 'Announcing PEPr') .
" (January)</li>\n";
+echo "</ul>\n";
+
+echo '<h2><a name="2003" id="2003">Year
2003</a></h2>' . "\n";
+echo "<ul>\n";
+echo ' <li>' . make_link('pecl-split.php', 'Own infrastructure for
PECL') . " (October)</li>\n";
+echo ' <li>' . make_link('group-announce.php', 'Announcing the PEAR
Group') . " (August)</li>\n";
+echo ' <li>' . make_link('activestate-award-ssb.php', 'ActiveState
Active Award for Stig Bakken') . " (July)</li>\n";
+echo ' <li>' . make_link('meeting-2003-summary.php', 'Summary of the
PEAR Meeting') . " (May)</li>\n";
+echo ' <li>' . make_link('meeting-2003.php', 'PEAR Meeting in
Amsterdam') . " (March)</li>\n";
+echo ' <li>' . make_link('release-1.0.php', 'PEAR 1.0 is
released!') . " (January)</li>\n";
+echo '</ul>';
response_footer();
?>