cvs: pearweb /public_html support.php /public_html/css style.css
| From: | Daniel Convissor | Date: | Wed, 16 Jun 2004 19:26:36 +0000 |
| Subject: | cvs: pearweb /public_html support.php /public_html/css style.css | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-20758@lists.php.net to get a copy of this message | ||
danielc Wed Jun 16 15:26:36 2004 EDT
Modified files:
/pearweb/public_html support.php
/pearweb/public_html/css style.css
Log:
support.php XHTML STUFF
* Move name anchors to inside of the <h2>'s.
* Use style for centering <p>.
* Use centralized style sheets for formatting form table.
http://cvs.php.net/diff.php/pearweb/public_html/support.php?r1=1.78&r2=1.79&ty=u
Index: pearweb/public_html/support.php
diff -u pearweb/public_html/support.php:1.78 pearweb/public_html/support.php:1.79
--- pearweb/public_html/support.php:1.78 Wed Jun 16 14:16:56 2004
+++ pearweb/public_html/support.php Wed Jun 16 15:26:35 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: support.php,v 1.78 2004/06/16 18:16:56 danielc Exp $
+ $Id: support.php,v 1.79 2004/06/16 19:26:35 danielc Exp $
*/
$SIDEBAR_DATA='
@@ -181,7 +181,7 @@
<li><a href="support.php#icons">PEAR Icons</a></li>
</ul>
-<a name="lists" id="lists"><h2>Mailing Lists</h2></a>
+<h2><a name="lists" id="lists">Mailing Lists</a></h2>
<p>
There are <?php echo count($mailing_lists)-1; ?> PEAR-related mailing
@@ -193,29 +193,29 @@
</p>
<form method="post" action="<?php echo $_SERVER['PHP_SELF'];
?>">
-<table cellpadding="5" cellspacing="1">
+<table class="form-holder" cellpadding="5" cellspacing="1">
<?php
while (list(, $listinfo) = each($mailing_lists)) {
if (!is_array($listinfo)) {
- echo '<tr bgcolor="#cccccc">';
- echo '<th>' . $listinfo . '</th>';
- echo '<th>Moderated</th>';
- echo '<th>Archive</th>';
- echo '<th>Newsgroup</th>';
- echo '<th>Normal</th>';
- echo '<th>Digest</th>';
- echo '</tr>' . "\n";
+ echo ' <tr>' . "\n";
+ echo ' <th class="form-label_top_center">' . $listinfo .
'</th>' . "\n";
+ echo ' <th class="form-label_top_center">Moderated</th>' .
"\n";
+ echo ' <th class="form-label_top_center">Archive</th>' .
"\n";
+ echo ' <th class="form-label_top_center">Newsgroup</th>' .
"\n";
+ echo ' <th class="form-label_top_center">Normal</th>' .
"\n";
+ echo ' <th class="form-label_top_center">Digest</th>' .
"\n";
+ echo ' </tr>' . "\n";
} else {
- echo '<tr align="center" bgcolor="#e0e0e0">';
- echo ' <td align="left"><strong>' . $listinfo[1] .
'</strong><br /><small>'. $listinfo[2] .
"</small></td>\n";
- echo ' <td>' . ($listinfo[3] ? 'yes' : 'no') .
"</td>\n";
- echo ' <td>' . ($listinfo[4] ? make_link("http://marc.theaimsgroup.com/?l=".$listinfo[0],
'yes') : 'n/a') . "</td>\n";
- echo ' <td>' . ($listinfo[6] ? make_link("news://news.php.net/".$listinfo[6],
'yes') . ' ' . make_link("http://news.php.net/group.php?group=".$listinfo[6],
'http') : 'n/a') . "</td>\n";
- echo ' <td><input name="maillist[' . $listinfo[0] . ']"
type="radio" value="regular" /></td>';
- echo ' <td>' . ($listinfo[5] ? '<input name="maillist[' .
$listinfo[0] . ']" type="radio" value="digest" />' :
'n/a' ) . "</td>\n";
- echo '</tr>' . "\n";
+ echo ' <tr>' . "\n";
+ echo ' <td class="form-input"><strong>' . $listinfo[1] .
'</strong><br /><small>'. $listinfo[2] .
"</small></td>\n";
+ echo ' <td class="form-input_center">' . ($listinfo[3] ?
'yes' : 'no') . "</td>\n";
+ echo ' <td class="form-input_center">' . ($listinfo[4] ?
make_link("http://marc.theaimsgroup.com/?l=".$listinfo[0],
'yes') : 'n/a') . "</td>\n";
+ echo ' <td class="form-input_center">' . ($listinfo[6] ?
make_link("news://news.php.net/".$listinfo[6],
'yes') . ' ' . make_link("http://news.php.net/group.php?group=".$listinfo[6],
'http') : 'n/a') . "</td>\n";
+ echo ' <td class="form-input_center"><input
name="maillist[' . $listinfo[0] . ']" type="radio"
value="regular" /></td>';
+ echo ' <td class="form-input_center">' . ($listinfo[5] ?
'<input name="maillist[' . $listinfo[0] . ']" type="radio"
value="digest" />' : 'n/a' ) . "</td>\n";
+ echo ' </tr>' . "\n";
}
}
@@ -223,7 +223,7 @@
</table>
-<p align="center">
+<p style="text-align: center;">
<strong>Email:</strong>
<input type="text" name="email" size="30"
value="user@example.com" />
<input type="submit" name="action" value="Subscribe" />
@@ -262,7 +262,7 @@
</p>
-<a name="tutorials" id="tutorials"><h2>PEAR
Tutorials</h2></a>
+<h2><a name="tutorials" id="tutorials">PEAR
Tutorials</a></h2>
<h3>PEAR Tutorial Sites</h3>
@@ -370,7 +370,7 @@
</li>
</ul>
-<a name="resources" id="resources"><h2>PEAR
Resources</h2></a>
+<h2><a name="resources" id="resources">PEAR
Resources</a></h2>
<ul class="spaced">
<li>
@@ -440,7 +440,7 @@
</ul>
-<a name="icons" id="icons"><h2>Powered By PEAR</h2></a>
+<h2><a name="icons" id="icons">Powered By PEAR</a></h2>
<p>
What programming tool would be complete without a set of icons to put
@@ -461,7 +461,7 @@
echo '<table cellpadding="5" cellspacing="1">';
foreach ($icons as $file => $desc) {
- echo '<tr bgcolor="e0e0e0">';
+ echo '<tr>';
echo '<td>' . make_image($file,$desc) . '<br /></td>';
echo '<td>' . $desc . '<br /><small>';
$size = @getimagesize($HTTP_SERVER_VARS['DOCUMENT_ROOT'].'/gifs/'.$file);
http://cvs.php.net/diff.php/pearweb/public_html/css/style.css?r1=1.15&r2=1.16&ty=u
Index: pearweb/public_html/css/style.css
diff -u pearweb/public_html/css/style.css:1.15 pearweb/public_html/css/style.css:1.16
--- pearweb/public_html/css/style.css:1.15 Wed Jun 16 14:16:56 2004
+++ pearweb/public_html/css/style.css Wed Jun 16 15:26:35 2004
@@ -1,4 +1,4 @@
-/* $Id: style.css,v 1.15 2004/06/16 18:16:56 danielc Exp $ */
+/* $Id: style.css,v 1.16 2004/06/16 19:26:35 danielc Exp $ */
@import url(/css/tabs.css);
@@ -178,9 +178,21 @@
width: 25%;
}
+th.form-label_top_center {
+ text-align: center;
+ font-weight: bold;
+ background-color: #CCCCCC;
+}
+
td.form-input {
text-align: left;
vertical-align: top;
+ background-color: #E8E8E8;
+}
+
+td.form-input_center {
+ text-align: center;
+ vertical-align: center;
background-color: #E8E8E8;
}