summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2008-03-10 14:30:13 +0000
committerAlvaro Herrera2008-03-10 14:30:13 +0000
commitf476e58b9f61cbba236666768d2b66b1341cf7fe (patch)
tree8a4b61fb75015d8ddda995b5a41568863bc0aff3
parente71d4d67786a8f3abf832e3578c883bfd94c6780 (diff)
Try to make our pages more standards-conforming.
Not all validation bugs are fixed -- some of them are in pieces of code that will be rewritten shortly. git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@1977 8f5c7a92-453e-0410-a47f-ad33c8a6b003
-rw-r--r--archives/bin/resource-common10
-rw-r--r--archives/html/includes/search_box.php24
-rw-r--r--archives/html/includes/top_config.php12
-rw-r--r--archives/html/index.php13
-rw-r--r--archives/templates/bottom1
-rw-r--r--archives/templates/top7
6 files changed, 33 insertions, 34 deletions
diff --git a/archives/bin/resource-common b/archives/bin/resource-common
index 40ac7bad..337c3ed9 100644
--- a/archives/bin/resource-common
+++ b/archives/bin/resource-common
@@ -49,14 +49,18 @@ php
%d %B %Y
</MsgLocalDateFmt>
+<MsgGmtDateFmt>
+%d %B %Y
+</MsgGmtDateFmt>
+
<!-- Markup to group messages in main index by date -->
<DayBegin>
-<li><b>$MSGLOCALDATE$</b>
+<li><b>$MSGGMTDATE$</b>
<ul>
</DayBegin>
<DayEnd>
-</li></ul>
+</ul></li>
</DayEnd>
@@ -252,7 +256,7 @@ $NUMOFMSG$ messages<br />
<!-- Markup for the first message in a thread -->
<TTOPBEGIN>
-<li><STRONG>$SUBJECT$</STRONG> $FROMNAME$</li>
+<li><strong>$SUBJECT$</strong> $FROMNAME$</li>
</TTOPBEGIN>
<!-- Markup for a singleton in the thread archive -->
diff --git a/archives/html/includes/search_box.php b/archives/html/includes/search_box.php
index 3bd5f3fb..9d33cd83 100644
--- a/archives/html/includes/search_box.php
+++ b/archives/html/includes/search_box.php
@@ -1,28 +1,18 @@
-<?
-$newform = <<<EOF
-<FORM METHOD="GET" ACTION="http://search.postgresql.org/archives.search">
+<form method="get" action="http://search.postgresql.org/archives.search">
<div class="tblBasic">
<table border="0" cellpadding="0" cellspacing="0" class="tblBasicGrey" width="590">
+ <tr>
+ <td class="colFirstRT"><span style="font-size: 0.67em;">Search for</span></td>
+ <td class="colLast"><input type="text" name="q" size="30" value=""/> <input type="submit" value="Search!"/></td>
+ </tr>
- <tr>
-<td class="colFirstRT"><span style="font-size: 0.67em;">Search for</span></td>
- <td class="colLast"><INPUT TYPE="text" NAME="q" SIZE="30" VALUE=""> <INPUT TYPE="submit" VALUE="Search!"></td>
-</tr>
-EOF;
-
-$newform .= '
<tr>
-<td class="colFirstRT">&nbsp;</td>
-<td class="colLast" align="right"><span style="font-size: 0.67em;"><a href="http://search.postgresql.org/search?m=1">Advanced Search</a></span></td>
+ <td class="colFirstRT">&nbsp;</td>
+ <td class="colLast" align="right"><span style="font-size: 0.67em;"><a href="http://search.postgresql.org/search?m=1">Advanced Search</a></span></td>
</tr>
-';
-$newform .= <<<EOF
</table>
</div>
</form>
-EOF;
-echo $newform;
-?>
diff --git a/archives/html/includes/top_config.php b/archives/html/includes/top_config.php
index d502c65f..9f857c54 100644
--- a/archives/html/includes/top_config.php
+++ b/archives/html/includes/top_config.php
@@ -166,7 +166,7 @@ if ($menu == 1)
<li><a href="/https/git.postgresql.org/pgsql-de-allgemein/">Regional lists</a></li>
<li><a href="/https/git.postgresql.org/pgadmin-support/">Project lists</a></li>
<li><a href="/https/git.postgresql.org/atlpug/">User groups</a></li>
-<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a>
+<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a></li>
EOF;
else if ($menu == 2)
@@ -182,7 +182,7 @@ else if ($menu == 2)
<li><a href="/https/git.postgresql.org/pgsql-de-allgemein/">Regional lists</a></li>
<li><a href="/https/git.postgresql.org/pgadmin-support/">Project lists</a></li>
<li><a href="/https/git.postgresql.org/atlpug/">User groups</a></li>
-<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a>
+<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a></li>
EOF;
else if ($menu == 3)
@@ -202,7 +202,7 @@ else if ($menu == 3)
</ul></li>
<li><a href="/https/git.postgresql.org/pgadmin-support/">Project lists</a></li>
<li><a href="/https/git.postgresql.org/atlpug/">User groups</a></li>
-<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a>
+<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a></li>
EOF;
else if ($menu == 4)
@@ -216,7 +216,7 @@ else if ($menu == 4)
<li><a href="/https/git.postgresql.org/pgadmin-support/">pgadmin-support</a></li>
</ul></li>
<li><a href="/https/git.postgresql.org/atlpug/">User groups</a></li>
-<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a>
+<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a></li>
EOF;
else if ($menu == 5)
@@ -237,7 +237,7 @@ else if ($menu == 5)
<li><a href="/https/git.postgresql.org/sydpug/">Sydney</a></li>
<li><a href="/https/git.postgresql.org/ukpug/">United Kingdom</a></li>
</ul></li>
-<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a>
+<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a></li>
EOF;
else if ($menu == 6)
@@ -262,7 +262,7 @@ else
<li><a href="/https/git.postgresql.org/pgsql-de-allgemein/">Regional lists</a></li>
<li><a href="/https/git.postgresql.org/pgadmin-support/">Project lists</a></li>
<li><a href="/https/git.postgresql.org/atlpug/">User groups</a></li>
-<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a>
+<li><a href="/https/git.postgresql.org/pgsql-benchmarks/">Inactive lists</a></li>
EOF;
echo $output;
diff --git a/archives/html/index.php b/archives/html/index.php
index 26cb806b..5650418e 100644
--- a/archives/html/index.php
+++ b/archives/html/index.php
@@ -1,7 +1,9 @@
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr">
+
<head>
<title>PostgreSQL: Mailing Lists</title>
-</head>
<? require($_SERVER['DOCUMENT_ROOT'] . "/includes/top_config.php"); ?>
@@ -14,10 +16,11 @@ thread, or use the search box to search the lists.</p>
<div class="tblBasic">
<table class="tblBasicGrey" border="0" cellpadding="0" cellspacing="0">
-<tbody><tr>
+<tbody>
+ <tr>
<th class="colFirst">List</th>
<th class="colLast">Description</th>
-</tr>
+ </tr>
<tr>
<td class="colFirst"><a href="http://archives.postgresql.org/pgsql-admin/">pgsql-admin</a></td>
<td class="colLast">PostgreSQL administration.</td>
@@ -156,6 +159,7 @@ thread, or use the search box to search the lists.</p>
<tr>
<td class="colFirst"><a href="http://psql.it/">psql.it</a></td>
<td class="colLast">Italian developer community technical discussions</td>
+</tr>
<tr>
<td class="colFirst"><a href="http://archives.postgresql.org/pgsql-nl-algemeen/">pgsql-nl-algemeen</a></td>
<td class="colLast">Dutch PostgreSQL community</td>
@@ -222,4 +226,3 @@ PostgreSQL. Current win32 development issues should be raised on
<? require($_SERVER['DOCUMENT_ROOT'] . "/includes/bottom_config.php"); ?>
-</BODY>
diff --git a/archives/templates/bottom b/archives/templates/bottom
index dd60b918..ad21ae70 100644
--- a/archives/templates/bottom
+++ b/archives/templates/bottom
@@ -1,4 +1,3 @@
<? require($_SERVER['DOCUMENT_ROOT'] . "/includes/bottom_config.php"); ?>
-</BODY>
diff --git a/archives/templates/top b/archives/templates/top
index 34134ee9..000ae3b1 100644
--- a/archives/templates/top
+++ b/archives/templates/top
@@ -1,7 +1,10 @@
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr">
+
+
<head>
<title>PostgreSQL Mailing Lists: LISTNAME</title>
-</HEAD>
<? require($_SERVER['DOCUMENT_ROOT']. "/includes/top_config.php"); ?>