finish incomplete fix for utf8 on index pages
[mharc.git] / lib / common.mrc
index 507db76a3a61535b020f18ebb41fc5d1063ef9a9..848c0362f8a6102622a776794613e74350dca746 100644 (file)
@@ -22,6 +22,7 @@
 <POSIXSTRFTIME>
 
 <!-- Added for rt#106039 -- bernie -->
+<!-- And #592561 and #592561, importantly also adding the html header line below in IdxPgBegin and MsgPgBegin -- ward -->
 <TextEncode>
 utf-8; MHonArc::UTF8::to_utf8; MHonArc/UTF8.pm
 </TextEncode>
@@ -243,20 +244,24 @@ index.html
 <html>
 <head>
 <title>$IDXTITLE$</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style> .nowrap { white-space: nowrap } </style>
 </head>
 <body>
 <center>
-<em>Archives are refreshed every 30 minutes - for details, please visit
+<em>Archives are refreshed every 15 minutes - for details, please visit
 <a href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
 <br>
-You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em>
+You can also <a href="https://lists.gnu.org/archive/mbox/$LIST-NAME$/">download the archives in mbox format</a>.
 <p>
 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
 <tr><td><table border=0 bgcolor="#FFFFCC">
 <tr><td><big><big><b>$IDXTITLE$</b></big></big></td></tr></table></tr></table>
-<small><nobr>$THREAD-IDX-LINK$[<a href="../"
->Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr
-></small>
+<div class="nowrap">
+<small>$THREAD-IDX-LINK$[<a href="../"
+>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>][<a
+href="//lists.gnu.org/mailman/listinfo/$LIST-NAME$">$LIST-NAME$ info page</a>]</small>
+</div>
 $SEARCH-FORM$
 </center>
 </IdxPgBegin>
@@ -264,11 +269,11 @@ $SEARCH-FORM$
 <ListBegin>
 <table width="100%">
 <tr valign="bottom">
-<td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td>
+<td align="left">$PREV-PERIOD-LINK$</td>
 <td align="center"><small
 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
 Messages in reverse chronological order</small></td>
-<td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td>
+<td align="right">$NEXT-PERIOD-LINK$</td>
 </tr>
 </table>
 <hr size="1" noshade>
@@ -284,7 +289,7 @@ Messages in reverse chronological order</small></td>
 </DayBegin>
 
 <DayEnd>
-</li></ul>
+</ul></li>
 </DayEnd>
 
 <LITemplate>
@@ -296,8 +301,8 @@ Messages in reverse chronological order</small></td>
 <hr size="1" noshade>
 <table width="100%">
 <tr valign="bottom">
-<td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td>
-<td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td>
+<td align="left">$PREV-PERIOD-LINK$</td>
+<td align="right">$NEXT-PERIOD-LINK$</td>
 </tr>
 </table>
 </ListEnd>
@@ -321,22 +326,24 @@ Messages in reverse chronological order</small></td>
 <!doctype html public "-//W3C//DTD HTML//EN">
 <html>
 <head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <title>$TIDXTITLE$</title>
 </head>
 <body>
 <center>
-<em>Archives are refreshed every 30 minutes - for details, please visit <a
+<em>Archives are refreshed every 15 minutes - for details, please visit <a
 href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
 <br>
-You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em>
+You can also <a href="https://lists.gnu.org/archive/mbox/$LIST-NAME$/">download the archives in mbox format</a>.
 <p>
 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
 <tr><td><table border=0 bgcolor="#FFFFCC">
 <tr><td><big><big><b>$TIDXTITLE$</b></big></big></td></tr></table></tr></table>
-<small><nobr
+<div class="nowrap">
+<small
 >$DATE-IDX-LINK$[<a href="../"
->Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr
-></small>
+>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small>
+</div>
 $SEARCH-FORM$
 </center>
 </TIdxPgBegin>
@@ -344,11 +351,11 @@ $SEARCH-FORM$
 <THead>
 <table width="100%">
 <tr valign="bottom">
-<td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td>
+<td align="left">$TPREV-PERIOD-LINK$</td>
 <td align="center"><small
 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
 Threads in reverse chronological order</small></td>
-<td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td>
+<td align="right">$TNEXT-PERIOD-LINK$</td>
 </tr>
 </table>
 <hr size="1" noshade>
@@ -372,8 +379,8 @@ Threads in reverse chronological order</small></td>
 <hr size="1" noshade>
 <table width="100%">
 <tr valign="bottom">
-<td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td>
-<td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td>
+<td align="left">$TPREV-PERIOD-LINK$</td>
+<td align="right">$TNEXT-PERIOD-LINK$</td>
 </tr>
 </table>
 </TFoot>
@@ -393,14 +400,17 @@ Threads in reverse chronological order</small></td>
 <html>
 <head>
 <title>$SUBJECTNA:72$</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 </head>
 <body>
 <center>
 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
 <tr><td><table border=0 bgcolor="#FFFFCC">
 <tr><td><big><b>$LIST-TITLE$</b></big></td></tr></table></tr></table>
-<small><nobr>[<a href="../"
->Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small></nobr>
+<div class="nowrap">
+<small>[<a href="../"
+>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small>
+</div>
 $SEARCH-FORM$
 </center>
 </MsgPgBegin>