svn: /pear/pearweb/trunk/ public_html/accounts.php public_html/css/style.css public_html/dtd/index.php public_html/index.php public_html/news/meeting-2003.php public_html/package-stats.php public_html/qa/index.php public_html/support/index.php tests/site/index.php/test.phpt tests/site/index.php/test_loggedin.phpt tests/site/index.php/test_loggedin_admin.phpt tests/site/index.php/test_loggedin_dev.phpt

[email protected] ("Daniel O'Connor") Sat, 19 Mar 2011 07:59:57 +0000
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
clockwerx                                Sat, 19 Mar 2011 07:59:57 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=309429

Log:
Minor HTML cleanup (html 5 deprecates acronym for abbr, align vs css)

Changed paths:
    U   pear/pearweb/trunk/public_html/accounts.php
    U   pear/pearweb/trunk/public_html/css/style.css
    U   pear/pearweb/trunk/public_html/dtd/index.php
    U   pear/pearweb/trunk/public_html/index.php
    U   pear/pearweb/trunk/public_html/news/meeting-2003.php
    U   pear/pearweb/trunk/public_html/package-stats.php
    U   pear/pearweb/trunk/public_html/qa/index.php
    U   pear/pearweb/trunk/public_html/support/index.php
    U   pear/pearweb/trunk/tests/site/index.php/test.phpt
    U   pear/pearweb/trunk/tests/site/index.php/test_loggedin.phpt
    U   pear/pearweb/trunk/tests/site/index.php/test_loggedin_admin.phpt
    U   pear/pearweb/trunk/tests/site/index.php/test_loggedin_dev.phpt
svn-diffs-309429.txt (text/x-diff, 14.1 KB)
Modified: pear/pearweb/trunk/public_html/accounts.php
===================================================================
--- pear/pearweb/trunk/public_html/accounts.php	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/public_html/accounts.php	2011-03-19 07:59:57 UTC (rev 309429)
@@ -90,7 +90,7 @@
         printf('<a href="%s?letter=%s">%s</a> ', $self, $fl, strtoupper($fl));
     }
 }
-echo '</td><td rowspan="2" align="right">';
+echo '</td><td rowspan="2">';
 echo '<form method="get" action="#"><input type="button" onclick="';
 $gourl = "http://" . PEAR_CHANNELNAME;
 if ($_SERVER['SERVER_PORT'] != 80) {
@@ -178,4 +178,4 @@
 echo " </tr>\n";
 echo "</table>\n";

-response_footer();
\ No newline at end of file
+response_footer();

Modified: pear/pearweb/trunk/public_html/css/style.css
===================================================================
--- pear/pearweb/trunk/public_html/css/style.css	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/public_html/css/style.css	2011-03-19 07:59:57 UTC (rev 309429)
@@ -13,7 +13,7 @@
     border-bottom: 1px dotted #006600;
 }

-acronym {
+abbr {
     text-decoration: underline;
 }


Modified: pear/pearweb/trunk/public_html/dtd/index.php
===================================================================
--- pear/pearweb/trunk/public_html/dtd/index.php	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/public_html/dtd/index.php	2011-03-19 07:59:57 UTC (rev 309429)
@@ -31,7 +31,7 @@
  </tr>
  <tr>
   <td valign="top"><a href="/dtd/package-1.0">package-1.0</a></td>
-  <td valign="top">This is the <acronym title="Document Type Definition">DTD</acronym>
+  <td valign="top">This is the <abbr title="Document Type Definition">DTD</abbr>
   that defines the legal building blocks of the <tt>package.xml</tt>
   file that comes with each package. More information about
   <tt>package.xml</tt> can be found
@@ -40,7 +40,7 @@
  </tr>
  <tr>
   <td valign="top"><a href="/dtd/package-1.0.xsd">package-1.0.xsd</a></td>
-  <td valign="top">This is the <acronym title="XML Schema Definition">XSD</acronym>
+  <td valign="top">This is the <abbr title="XML Schema Definition">XSD</abbr>
   that defines the legal building blocks of the <tt>package.xml</tt>
   file that comes with each package. More information about
   <tt>package.xml</tt> can be found
@@ -49,7 +49,7 @@
  </tr>
  <tr>
   <td valign="top"><a href="/dtd/package-2.0.xsd">package-2.0.xsd</a></td>
-  <td valign="top">This is the <acronym title="XML Schema Definition">XSD</acronym>
+  <td valign="top">This is the <abbr title="XML Schema Definition">XSD</abbr>
   that defines the legal building blocks of version 2.0 of <tt>package.xml</tt>
   file that comes with each package. More information about
   <tt>package.xml</tt> version 2.0 can be found
@@ -58,7 +58,7 @@
  </tr>
  <tr>
   <td valign="top"><a href="/dtd/channel-1.0.xsd">channel-1.0.xsd</a></td>
-  <td valign="top">This is the <acronym title="XML Schema Definition">XSD</acronym>
+  <td valign="top">This is the <abbr title="XML Schema Definition">XSD</abbr>
   that defines the legal building blocks of <tt>channel.xml</tt>
   file that defines the communication protocols of a channel. More information about
   <tt>channel.xml</tt> can be found
@@ -68,4 +68,4 @@
 </table>

 <?php
-response_footer();
\ No newline at end of file
+response_footer();

Modified: pear/pearweb/trunk/public_html/index.php
===================================================================
--- pear/pearweb/trunk/public_html/index.php	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/public_html/index.php	2011-03-19 07:59:57 UTC (rev 309429)
@@ -111,7 +111,7 @@

 <h2>&raquo; What is it?</h2>

-<p><acronym title="PHP Extension and Application Repository">PEAR</acronym> is a framework and distribution system for reusable PHP components.</p>
+<p><abbr title="PHP Extension and Application Repository">PEAR</abbr> is a framework and distribution system for reusable PHP components.</p>

 <p>Sounds good? Perhaps you might want to know about <strong><a href="/manual/en/installation.php">installing PEAR on your system</a></strong> or <a href="/manual/en/guide.users.commandline.cli.php">installing pear packages</a>.</p>


Modified: pear/pearweb/trunk/public_html/news/meeting-2003.php
===================================================================
--- pear/pearweb/trunk/public_html/news/meeting-2003.php	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/public_html/news/meeting-2003.php	2011-03-19 07:59:57 UTC (rev 309429)
@@ -40,7 +40,7 @@
 <li>Quality vs. Quantity</li>
 <li>Should documentation be a requirement for new packages?
 (<?php echo make_link("/~mj/004-documentation.txt", "RfC"); ?>)</li>
-<li>The <acronym title="PEAR Foundation Classes">PFC</acronym>
+<li>The <abbr title="PEAR Foundation Classes">PFC</abbr>
 <a href="http://marc.theaimsgroup.com/?l=pear-dev&m=104617534710384&w=2">RfC</a></li>
 <li>PEAR on Windows</li>
 <li>Preventing conflicts among developers</li>
@@ -90,4 +90,4 @@
 On behalf of the PEAR developers: Lukas Smith.
 </div>
 <?php
-response_footer();
\ No newline at end of file
+response_footer();

Modified: pear/pearweb/trunk/public_html/package-stats.php
===================================================================
--- pear/pearweb/trunk/public_html/package-stats.php	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/public_html/package-stats.php	2011-03-19 07:59:57 UTC (rev 309429)
@@ -296,7 +296,7 @@
    </td>
   </tr>
   <tr>
-   <td valign="top">
+   <td style="vertical-align: top">
     Release:
     <select name="releases">
      <option value="">Select...</option>
@@ -306,13 +306,13 @@
      <?php endforeach?>
     </select>
    </td>
-   <td align="right">
+   <td style="text-align: right">
     <input type="submit" style="width: 100px" name="add" value="Add" onclick="addGraphItem(); return false;" />
     <input type="submit" style="width: 100px" name="remove" value="Remove" onclick="removeGraphItem(); return false" />
    </td>
   </tr>
   <tr>
-   <td align="center" colspan="2">
+   <td style="text-align: center" colspan="2">
     <input type="submit" name="update" value="Update graph" onclick="updateGraph(); return false" />
    </td>
   </tr>
@@ -387,19 +387,19 @@
  </tr>
  <tr>
   <td style="width: 25%;">Total&nbsp;Packages:</td>
-  <td align="center" style="width: 25%; background-color: #CCCCCC;"><?php echo $total_packages; ?></td>
+  <td style="width: 25%; background-color: #CCCCCC; text-align: center;"><?php echo $total_packages; ?></td>
   <td style="width: 25%;">Total&nbsp;Releases:</td>
-  <td align="center" style="width: 25%; background-color: #CCCCCC;"><?php echo $total_releases; ?></td>
+  <td style="width: 25%; background-color: #CCCCCC; text-align: center;"><?php echo $total_releases; ?></td>
  </tr>
  <tr>
   <td style="width: 25%;">Total&nbsp;Maintainers:</td>
-  <td align="center" style="width: 25%; background-color: #CCCCCC;"><?php echo $total_maintainers; ?></td>
+  <td style="width: 25%; background-color: #CCCCCC; text-align: center;"><?php echo $total_maintainers; ?></td>
   <td style="width: 25%;">Total&nbsp;Categories:</td>
-  <td align="center" style="width: 25%; background-color: #CCCCCC;"><?php echo $total_categories; ?></td>
+  <td style="width: 25%; background-color: #CCCCCC; text-align: center;"><?php echo $total_categories; ?></td>
  </tr>
     <?php
      if(empty($_GET['cid'])) {
-         echo " <tr>\n  <td width=\"25%\">Total&nbsp;Downloads:</td>\n  <td width=\"25%\" align=\"center\" bgcolor=\"#cccccc\">$total_downloads</td>\n </tr>\n";
+         echo " <tr>\n  <td width=\"25%\">Total&nbsp;Downloads:</td>\n  <td style=\"width:25%; text-align:center; background-color: #cccccc\">$total_downloads</td>\n </tr>\n";
      }
    ?>
 </table>
@@ -413,16 +413,18 @@
         PEAR::raiseError('unable to generate stats');
     }

-    echo '<div style="height: 300px; width: 90%; overflow: auto">';
-    echo " <table border=\"0\" width=\"100%\" cellpadding=\"2\" cellspacing=\"2\">\n";
-    echo ' <tr>
-  <th colspan="3" style="background-color: #CCCCCC;">Package Statistics</th>
- </tr>';
-    echo "  <tr align=\"left\" bgcolor=\"#cccccc\">\n";
-    echo "   <th>Package Name</th>\n";
-    echo '   <th><span class="accesskey"># of downloads</span></th>' . "\n";
-    echo "   <th>&nbsp;</th>\n";
-    echo "  </tr>\n";
+    ?>
+<div style="height: 300px; width: 90%; overflow: auto">
+    <table style="border: 0; width: 100%" cellpadding="2" cellspacing="2">
+        <tr>
+            <th colspan="3" style="background-color: #CCCCCC;">Package Statistics</th>
+        </tr>
+        <tr style="text-align:left; background-color: #cccccc\">
+            <th>Package Name</th>
+            <th><span class="accesskey"># of downloads</span></th>
+            <th>&nbsp;</th>
+        </tr>
+<?php

     $lastPackage = "";

@@ -436,7 +438,7 @@
                                 $row['package'] . "</a>";
         }

-        echo "  <tr bgcolor=\"#eeeeee\">\n";
+        echo "  <tr style=\"background-color: #eeeeee\">\n";
         echo "   <td>" . $row['package'] .  "</td>\n";
         echo "   <td>" . number_format($row['dl_number'], 0, '.', ',') . "</td>\n";
         echo "   <td>[". make_link("/package-stats.php?cid=" . $row['cid'] . "&amp;pid=" . $row['pid'] , 'Details') . "]</td>\n";

Modified: pear/pearweb/trunk/public_html/qa/index.php
===================================================================
--- pear/pearweb/trunk/public_html/qa/index.php	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/public_html/qa/index.php	2011-03-19 07:59:57 UTC (rev 309429)
@@ -25,12 +25,12 @@
 <h1>The PEAR Quality Assurance Initiative</h1>

 <p>The PEAR Quality Assurance Initiative is designed to promote quality within PEAR.
-You can find out more about how the <acronym title="Quality Assurance">QA</acronym>
+You can find out more about how the <abbr title="Quality Assurance">QA</abbr>
 team works in the <a href="/pepr/pepr-proposal-show.php?id=60">appendant RFC</a>, and the <a href="http://wiki.php.net/pear/qa">wiki</a>.
 </p>

 <p>The current members of the
- <acronym title="Quality Assurance">QA</acronym> Team are:
+ <abbr title="Quality Assurance">QA</abbr> Team are:
 </p>

 <ul>
@@ -43,7 +43,7 @@
 </ul>

 <p>If you are interested in helping out, or if you have questions
-concerning the <acronym title="Quality Assurance">QA</acronym>
+concerning the <abbr title="Quality Assurance">QA</abbr>
 initiative, you can contact the team using the mailing list
 <a href="mailto:<?php echo PEAR_QA_EMAIL; ?>"><?php echo PEAR_QA_EMAIL; ?></a>
  (<a href="/support/lists.php">subscription information</a>).</p>

Modified: pear/pearweb/trunk/public_html/support/index.php
===================================================================
--- pear/pearweb/trunk/public_html/support/index.php	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/public_html/support/index.php	2011-03-19 07:59:57 UTC (rev 309429)
@@ -30,7 +30,7 @@
 the FAQ is available at this document: <a href="effectivepearuse.php">Developing Effectively with PEAR Packages</a></p>

 <p>Additionaly one can ask for help on the <i><a href="irc://efnet/#pear">#pear</a></i>
-<acronym title="Internet Relay Chat">IRC</acronym> channel at the
+<abbr title="Internet Relay Chat">IRC</abbr> channel at the
 <a href="http://www.efnet.org"> Eris Free Net</a>.</p>

 <p>Some project members also write about PEAR in their weblogs or

Modified: pear/pearweb/trunk/tests/site/index.php/test.phpt
===================================================================
--- pear/pearweb/trunk/tests/site/index.php/test.phpt	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/tests/site/index.php/test.phpt	2011-03-19 07:59:57 UTC (rev 309429)
@@ -147,7 +147,7 @@
 <h2>&raquo; Hot off the Press</h2>
 %s<h2>&raquo; Users</h2>
 <div class="indent">
-<p><acronym title="PHP Extension and Application Repository">PEAR</acronym>
+<p><abbr title="PHP Extension and Application Repository">PEAR</abbr>
 is a framework and distribution system for reusable PHP
 components. You can find help using PEAR packages in the
 <a href="/manual/en/">online manual</a> and the

Modified: pear/pearweb/trunk/tests/site/index.php/test_loggedin.phpt
===================================================================
--- pear/pearweb/trunk/tests/site/index.php/test_loggedin.phpt	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/tests/site/index.php/test_loggedin.phpt	2011-03-19 07:59:57 UTC (rev 309429)
@@ -153,7 +153,7 @@
 %s
 <h2>&raquo; Users</h2>
 <div class="indent">
-<p><acronym title="PHP Extension and Application Repository">PEAR</acronym>
+<p><abbr title="PHP Extension and Application Repository">PEAR</abbr>
 is a framework and distribution system for reusable PHP
 components. You can find help using PEAR packages in the
 <a href="/manual/en/">online manual</a> and the

Modified: pear/pearweb/trunk/tests/site/index.php/test_loggedin_admin.phpt
===================================================================
--- pear/pearweb/trunk/tests/site/index.php/test_loggedin_admin.phpt	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/tests/site/index.php/test_loggedin_admin.phpt	2011-03-19 07:59:57 UTC (rev 309429)
@@ -170,7 +170,7 @@
 %s
 <h2>&raquo; Users</h2>
 <div class="indent">
-<p><acronym title="PHP Extension and Application Repository">PEAR</acronym>
+<p><abbr title="PHP Extension and Application Repository">PEAR</abbr>
 is a framework and distribution system for reusable PHP
 components. You can find help using PEAR packages in the
 <a href="/manual/en/">online manual</a> and the

Modified: pear/pearweb/trunk/tests/site/index.php/test_loggedin_dev.phpt
===================================================================
--- pear/pearweb/trunk/tests/site/index.php/test_loggedin_dev.phpt	2011-03-19 07:49:35 UTC (rev 309428)
+++ pear/pearweb/trunk/tests/site/index.php/test_loggedin_dev.phpt	2011-03-19 07:59:57 UTC (rev 309429)
@@ -164,7 +164,7 @@
 %s
 <h2>&raquo; Users</h2>
 <div class="indent">
-<p><acronym title="PHP Extension and Application Repository">PEAR</acronym>
+<p><abbr title="PHP Extension and Application Repository">PEAR</abbr>
 is a framework and distribution system for reusable PHP
 components. You can find help using PEAR packages in the
 <a href="/manual/en/">online manual</a> and the