| 1 | <!-- $Id: common.mrc.in.dist,v 1.17 2002/07/23 05:51:46 ehood Exp $ --> |
| 2 | <!-- ================================================================== --> |
| 3 | <!-- MHonArc Resource File for Mail Archives --> |
| 4 | <!-- Description: |
| 5 | This is the main resource file for the mail archives. |
| 6 | it contains all the common formatting characteristics |
| 7 | used across archives. Archive specific settings can |
| 8 | be set via command-line options the bin/web-archive |
| 9 | program. |
| 10 | --> |
| 11 | <!-- ================================================================== --> |
| 12 | |
| 13 | <!-- CONLEN should only be set of Content-Length is accurate for the |
| 14 | system. Mail delivery under Solaris sets it properly. |
| 15 | XXX: Should probably move this to command-line invocation. |
| 16 | --> |
| 17 | <ConLen> |
| 18 | |
| 19 | <!-- Added POSIXSTRFTIME so that we can print out timezone specs for |
| 20 | archive generation (RT #244804) - baughj, 2005.06.16 |
| 21 | --> |
| 22 | <POSIXSTRFTIME> |
| 23 | |
| 24 | <!-- ================================================================== --> |
| 25 | <!-- Custom Variable Defintions --> |
| 26 | <!-- ================================================================== --> |
| 27 | <!-- |
| 28 | The following variables defined by the web-archive program |
| 29 | and not here: |
| 30 | $ALL-LISTS-URL$ URL to all archive listing. |
| 31 | $CUR-PERIOD$ Current period in YYYY or YYYY-MM format. |
| 32 | $LIST-NAME$ Archive/list name and search index name. |
| 33 | $LIST-TITLE$ Archive/list title: generally equals |
| 34 | $LIST-NAME$, but can be different like for |
| 35 | CVS commit archives. |
| 36 | $PNAV-CGI$ URL to period navigation cgi program. |
| 37 | $SEARCH-CGI$ URL to search cgi program. |
| 38 | --> |
| 39 | |
| 40 | <SPAMMODE> |
| 41 | |
| 42 | <AddressModifyCode> |
| 43 | $_ = 'address@hidden'; |
| 44 | </AddressModifyCode> |
| 45 | |
| 46 | <!-- Variables representing period links for index pages. |
| 47 | --> |
| 48 | <DefineVar chop> |
| 49 | PREV-PERIOD-LABEL |
| 50 | Prev Period |
| 51 | </DefineVar> |
| 52 | |
| 53 | <DefineVar chop> |
| 54 | NEXT-PERIOD-LABEL |
| 55 | Next Period |
| 56 | </DefineVar> |
| 57 | |
| 58 | <DefineVar chop> |
| 59 | PREV-PERIOD-LINK |
| 60 | [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=prev">$PREV-PERIOD-LABEL$</a>] |
| 61 | </DefineVar> |
| 62 | |
| 63 | <DefineVar chop> |
| 64 | NEXT-PERIOD-LINK |
| 65 | [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=next">$NEXT-PERIOD-LABEL$</a>] |
| 66 | </DefineVar> |
| 67 | |
| 68 | <DefineVar chop> |
| 69 | TPREV-PERIOD-LINK |
| 70 | [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=prev&t=t">$PREV-PERIOD-LABEL$</a>] |
| 71 | </DefineVar> |
| 72 | |
| 73 | <DefineVar chop> |
| 74 | TNEXT-PERIOD-LINK |
| 75 | [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=next&t=t">$NEXT-PERIOD-LABEL$</a>] |
| 76 | </DefineVar> |
| 77 | |
| 78 | <!-- Variable representing markup of search form. |
| 79 | --> |
| 80 | <DefineVar> |
| 81 | SEARCH-FORM |
| 82 | <form method="get" action="$SEARCH-CGI$"> |
| 83 | <input type="text" name="query" size="30"> |
| 84 | <input type="submit" name="submit" value="Search"> |
| 85 | <input type="hidden" name="idxname" value="$LIST-NAME$"> |
| 86 | <a href="$SEARCH-CGI$?idxname=$LIST-NAME$">Advanced</a> |
| 87 | </form> |
| 88 | </DefineVar> |
| 89 | |
| 90 | <DefineVar chop> |
| 91 | THREAD-IDX-LINK |
| 92 | [<b><a href="$TIDXFNAME$">Thread Index</a></b>] |
| 93 | </DefineVar> |
| 94 | |
| 95 | <DefineVar chop> |
| 96 | DATE-IDX-LINK |
| 97 | [<b><a href="$IDXFNAME$">Date Index</a></b>] |
| 98 | </DefineVar> |
| 99 | |
| 100 | <!-- Main index page nav links if MULTIPG is ever used. |
| 101 | This variable could be reference by list-specific resource files |
| 102 | if MULTIPG is activated. |
| 103 | --> |
| 104 | <DefineVar> |
| 105 | MAIN-PAGE-LINKS |
| 106 | <hr size=1 noshade> |
| 107 | <table width="100%" border=0 cellpadding=0 cellspacing=0> |
| 108 | <tr align="center"> |
| 109 | <th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th> |
| 110 | <tr> |
| 111 | <td align="left" |
| 112 | ><small>[<a href="$PG(FIRST)$">First Page</a>]</small></td> |
| 113 | <td align="right"><small>$PGLINK(PREV)$</small></td> |
| 114 | <td align="left"><small>$PGLINK(NEXT)$</small></td> |
| 115 | <td align="right"><small>[<a href="$PG(LAST)$">Last Page</a>]</small></td> |
| 116 | </tr> |
| 117 | </table> |
| 118 | <hr size=1 noshade> |
| 119 | </DefineVar> |
| 120 | |
| 121 | <!-- Thread index page nav links if MULTIPG ever used. |
| 122 | This variable could be reference by list-specific resource files |
| 123 | if MULTIPG is activated. |
| 124 | --> |
| 125 | <DefineVar> |
| 126 | THREAD-PAGE-LINKS |
| 127 | <hr size=1 noshade> |
| 128 | <table width="100%" border=0 cellpadding=0 cellspacing=0> |
| 129 | <tr align="center"> |
| 130 | <th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th> |
| 131 | <tr> |
| 132 | <td align="left" |
| 133 | ><small>[<a href="$PG(TFIRST)$">First Page</a>]</small></td> |
| 134 | <td align="right"><small>$PGLINK(TPREV)$</small></td> |
| 135 | <td align="left"><small>$PGLINK(TNEXT)$</small></td> |
| 136 | <td align="right"><small>[<a href="$PG(TLAST)$">Last Page</a>]</small></td> |
| 137 | </tr> |
| 138 | </table> |
| 139 | <hr size=1 noshade> |
| 140 | </DefineVar> |
| 141 | |
| 142 | <!-- ================================================================== --> |
| 143 | <!-- General Resources --> |
| 144 | <!-- ================================================================== --> |
| 145 | |
| 146 | <!-- Since we specify resource settings everytime, no need to save |
| 147 | them in archive database. |
| 148 | --> |
| 149 | <NoSaveResources> |
| 150 | |
| 151 | <!-- Arguments to content filters. |
| 152 | CAUTION: Verify options against security concerns and make |
| 153 | any changes accordingly. |
| 154 | --> |
| 155 | <MIMEArgs override> |
| 156 | m2h_external::filter; inline useicon |
| 157 | m2h_text_plain::filter; attachcheck quote maxwidth=80 |
| 158 | m2h_text_html::filter; notitle |
| 159 | </MIMEArgs> |
| 160 | |
| 161 | <!-- Stricter MSGSEP. Not important if CONLEN active. |
| 162 | XXX: Should this strict setting exist or should we just use |
| 163 | MHonArc's default value for MSGSEP as the default? |
| 164 | --> |
| 165 | <MsgSep> |
| 166 | ^From \S+\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+ |
| 167 | </MsgSep> |
| 168 | |
| 169 | <!-- Icons settings copied from documentation. Works with |
| 170 | Apache server. Icons not used in index, but attachment |
| 171 | filter is given useicon argument. If Apache is not used, |
| 172 | or the icon URLs are different, this resource needs to |
| 173 | be changed or the useicon argument removed from |
| 174 | m2h_external::filter. |
| 175 | --> |
| 176 | <Icons> |
| 177 | application/*;[20x22]/icons/generic.png |
| 178 | application/msword;[20x22]/icons/layout.png |
| 179 | application/postscript;[20x22]/icons/ps.png |
| 180 | application/rtf;[20x22]/icons/layout.png |
| 181 | application/x-csh;[20x22]/icons/script.png |
| 182 | application/x-dvi;[20x22]/icons/dvi.png |
| 183 | application/x-gtar;[20x22]/icons/tar.png |
| 184 | application/x-gzip;[20x22]/icons/compressed.png |
| 185 | application/x-ksh;[20x22]/icons/script.png |
| 186 | application/x-latex;[20x22]/icons/tex.png |
| 187 | application/octet-stream;[20x22]/icons/binary.png |
| 188 | application/x-patch;[20x22]/icons/patch.png |
| 189 | application/pdf;[20x22]/icons/pdf.png |
| 190 | application/x-script;[20x22]/icons/script.png |
| 191 | application/x-sh;[20x22]/icons/script.png |
| 192 | application/x-tar;[20x22]/icons/tar.png |
| 193 | application/x-tex;[20x22]/icons/tex.png |
| 194 | application/x-zip-compressed;[20x22]/icons/compressed.png |
| 195 | application/zip;[20x22]/icons/compressed.png |
| 196 | audio/*;[20x22]/icons/sound1.png |
| 197 | chemical/*;[20x22]/icons/sphere2.png |
| 198 | image/*;[20x22]/icons/image2.png |
| 199 | message/external-body;[20x22]/icons/link.png |
| 200 | multipart/*;[20x22]/icons/layout.png |
| 201 | text/*;[20x22]/icons/text.png |
| 202 | video/*;[20x22]/icons/movie.png |
| 203 | */*;[20x22]/icons/generic.png |
| 204 | </Icons> |
| 205 | |
| 206 | <!-- ================================================================== --> |
| 207 | <!-- Main Index --> |
| 208 | <!-- ================================================================== --> |
| 209 | |
| 210 | <!-- Set sorting order of main index pages: Reverse chronological. --> |
| 211 | <Sort> |
| 212 | <Reverse> |
| 213 | |
| 214 | <!-- Show dates in local time. --> |
| 215 | <UseLocalTime> |
| 216 | |
| 217 | <!-- Make date index the default page for the archive. --> |
| 218 | <IdxFName> |
| 219 | index.html |
| 220 | </IdxFName> |
| 221 | |
| 222 | <MsgLocalDateFmt> |
| 223 | %B %d, %Y |
| 224 | </MsgLocalDateFmt> |
| 225 | |
| 226 | <IdxPgBegin> |
| 227 | <!doctype html public "-//W3C//DTD HTML//EN"> |
| 228 | <html> |
| 229 | <head> |
| 230 | <title>$IDXTITLE$</title> |
| 231 | </head> |
| 232 | <body> |
| 233 | <center> |
| 234 | <em>Archives are refreshed every 30 minutes - for details, please visit |
| 235 | <a href="http://lists.gnu.org/archive/html/">the main index</a>.</em> |
| 236 | <br> |
| 237 | You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em> |
| 238 | <p> |
| 239 | <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000"> |
| 240 | <tr><td><table border=0 bgcolor="#FFFFCC"> |
| 241 | <tr><td><big><big><b>$IDXTITLE$</b></big></big></td></tr></table></tr></table> |
| 242 | <small><nobr>$THREAD-IDX-LINK$[<a href="../" |
| 243 | >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr |
| 244 | ></small> |
| 245 | $SEARCH-FORM$ |
| 246 | </center> |
| 247 | </IdxPgBegin> |
| 248 | |
| 249 | <ListBegin> |
| 250 | <table width="100%"> |
| 251 | <tr valign="bottom"> |
| 252 | <td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td> |
| 253 | <td align="center"><small |
| 254 | >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br> |
| 255 | Messages in reverse chronological order</small></td> |
| 256 | <td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td> |
| 257 | </tr> |
| 258 | </table> |
| 259 | <hr size="1" noshade> |
| 260 | <ul> |
| 261 | </ListBegin> |
| 262 | |
| 263 | <!-- Date listing is done in day groups with the each day listed in bold |
| 264 | and messages for that date listed under it. |
| 265 | --> |
| 266 | <DayBegin> |
| 267 | <li><strong>$MSGLOCALDATE$</strong> |
| 268 | <ul> |
| 269 | </DayBegin> |
| 270 | |
| 271 | <DayEnd> |
| 272 | </li></ul> |
| 273 | </DayEnd> |
| 274 | |
| 275 | <LITemplate> |
| 276 | <li>$SUBJECT$, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%H:%M)$</tt></li> |
| 277 | </LITemplate> |
| 278 | |
| 279 | <ListEnd> |
| 280 | </ul> |
| 281 | <hr size="1" noshade> |
| 282 | <table width="100%"> |
| 283 | <tr valign="bottom"> |
| 284 | <td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td> |
| 285 | <td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td> |
| 286 | </tr> |
| 287 | </table> |
| 288 | </ListEnd> |
| 289 | |
| 290 | <!-- ================================================================== --> |
| 291 | <!-- Thread Index --> |
| 292 | <!-- ================================================================== --> |
| 293 | |
| 294 | <!-- Reverse thread order. --> |
| 295 | <TReverse> |
| 296 | |
| 297 | <!-- Show no indicator of subject-based thread detection since most |
| 298 | people do not care. |
| 299 | NOTE: The blank line is important! |
| 300 | --> |
| 301 | <TSubjectBeg> |
| 302 | |
| 303 | </TSubjectBeg> |
| 304 | |
| 305 | <TIdxPgBegin> |
| 306 | <!doctype html public "-//W3C//DTD HTML//EN"> |
| 307 | <html> |
| 308 | <head> |
| 309 | <title>$TIDXTITLE$</title> |
| 310 | </head> |
| 311 | <body> |
| 312 | <center> |
| 313 | <em>Archives are refreshed every 30 minutes - for details, please visit <a |
| 314 | href="http://lists.gnu.org/archive/html/">the main index</a>.</em> |
| 315 | <br> |
| 316 | You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em> |
| 317 | <p> |
| 318 | <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000"> |
| 319 | <tr><td><table border=0 bgcolor="#FFFFCC"> |
| 320 | <tr><td><big><big><b>$TIDXTITLE$</b></big></big></td></tr></table></tr></table> |
| 321 | <small><nobr |
| 322 | >$DATE-IDX-LINK$[<a href="../" |
| 323 | >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr |
| 324 | ></small> |
| 325 | $SEARCH-FORM$ |
| 326 | </center> |
| 327 | </TIdxPgBegin> |
| 328 | |
| 329 | <THead> |
| 330 | <table width="100%"> |
| 331 | <tr valign="bottom"> |
| 332 | <td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td> |
| 333 | <td align="center"><small |
| 334 | >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br> |
| 335 | Threads in reverse chronological order</small></td> |
| 336 | <td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td> |
| 337 | </tr> |
| 338 | </table> |
| 339 | <hr size="1" noshade> |
| 340 | <ul> |
| 341 | </THead> |
| 342 | |
| 343 | <TTopBegin> |
| 344 | <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt> |
| 345 | </TTopBegin> |
| 346 | |
| 347 | <TLiTxt> |
| 348 | <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt> |
| 349 | </TLiTxt> |
| 350 | |
| 351 | <TSingleTxt> |
| 352 | <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt> |
| 353 | </TSingleTxt> |
| 354 | |
| 355 | <TFoot> |
| 356 | </ul> |
| 357 | <hr size="1" noshade> |
| 358 | <table width="100%"> |
| 359 | <tr valign="bottom"> |
| 360 | <td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td> |
| 361 | <td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td> |
| 362 | </tr> |
| 363 | </table> |
| 364 | </TFoot> |
| 365 | |
| 366 | <!-- ================================================================== --> |
| 367 | <!-- Message Pages --> |
| 368 | <!-- ================================================================== --> |
| 369 | |
| 370 | <ModTime> |
| 371 | |
| 372 | <!-- We clip the subject title to 72 characters to prevent ugly pages |
| 373 | due to very long subject lines. The full subject text will still |
| 374 | be shown in the formatted message header. |
| 375 | --> |
| 376 | <MsgPgBegin> |
| 377 | <!doctype html public "-//W3C//DTD HTML//EN"> |
| 378 | <html> |
| 379 | <head> |
| 380 | <title>$SUBJECTNA:72$</title> |
| 381 | </head> |
| 382 | <body> |
| 383 | <center> |
| 384 | <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000"> |
| 385 | <tr><td><table border=0 bgcolor="#FFFFCC"> |
| 386 | <tr><td><big><b>$LIST-TITLE$</b></big></td></tr></table></tr></table> |
| 387 | <small><nobr>[<a href="../" |
| 388 | >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small></nobr> |
| 389 | $SEARCH-FORM$ |
| 390 | </center> |
| 391 | </MsgPgBegin> |
| 392 | |
| 393 | <TopLinks> |
| 394 | <hr> |
| 395 | $BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a |
| 396 | href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a |
| 397 | href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>] |
| 398 | </TopLinks> |
| 399 | |
| 400 | <SubjectHeader> |
| 401 | <h2>$SUBJECTNA:72$</h2> |
| 402 | <hr> |
| 403 | <table border=0> |
| 404 | <tbody> |
| 405 | <tr> |
| 406 | <td align="right" valign="top"> |
| 407 | <b>From</b>: </td> |
| 408 | <td align="left"> |
| 409 | $FROMNAME$</td> |
| 410 | </tr> |
| 411 | </SubjectHeader> |
| 412 | |
| 413 | <!-- Format message header in a table. --> |
| 414 | |
| 415 | <FieldOrder> |
| 416 | subject |
| 417 | date |
| 418 | user-agent |
| 419 | </FieldOrder> |
| 420 | |
| 421 | <Fieldsbeg> |
| 422 | |
| 423 | </FieldsBeg> |
| 424 | |
| 425 | <LabelBeg> |
| 426 | <tr> |
| 427 | <td align="right" valign="top"> |
| 428 | </LabelBeg> |
| 429 | |
| 430 | <LabelEnd> |
| 431 | : </td> |
| 432 | </LabelEnd> |
| 433 | |
| 434 | <FldBeg> |
| 435 | <td align="left"> |
| 436 | </FldBeg> |
| 437 | |
| 438 | <FldEnd> |
| 439 | </td> |
| 440 | </tr> |
| 441 | </FldEnd> |
| 442 | |
| 443 | <FieldsEnd> |
| 444 | </tbody> |
| 445 | </table> |
| 446 | </FieldsEnd> |
| 447 | |
| 448 | <LabelStyles> |
| 449 | -default-:b |
| 450 | </LabelStyles> |
| 451 | |
| 452 | <!-- Disable explicit follow-up/references section and use $TSLICE$ instead. |
| 453 | --> |
| 454 | <NoFolRefs> |
| 455 | |
| 456 | <!-- Set TSLICE resource to represent default $TSLICE$ behavior and |
| 457 | mainly to set the maximum message page update ranges when messages |
| 458 | are added to the archive. I.e. The before and after values |
| 459 | should represent the largest before and after values we will use |
| 460 | with $TSLICE$. |
| 461 | --> |
| 462 | <TSlice> |
| 463 | 10:10:1 |
| 464 | </TSlice> |
| 465 | |
| 466 | <!-- We set up slice formatting so current message in thread is not |
| 467 | hyperlinked and "greyed out". We could probably use CSS to |
| 468 | do this, but <font> seems to still work with most popular |
| 469 | graphical browsers. |
| 470 | --> |
| 471 | <TSliceBeg> |
| 472 | <ul> |
| 473 | </TSliceBeg> |
| 474 | |
| 475 | <TSliceTopBeginCur> |
| 476 | <li><font color="#666666"><strong>$SUBJECTNA$</strong>, |
| 477 | <em>$FROMNAME$</em></font> <b><=</b> |
| 478 | </TSliceTopBeginCur> |
| 479 | |
| 480 | <TSliceLiTxtCur> |
| 481 | <li><font color="#666666"><strong>$SUBJECTNA$</strong>, |
| 482 | <em>$FROMNAME$</em></font> <b><=</b> |
| 483 | </TSliceLiTxtCur> |
| 484 | |
| 485 | <TSliceSingleTxtCur> |
| 486 | <li><font color="#666666"><strong>$SUBJECTNA$</strong>, |
| 487 | <em>$FROMNAME$</em></font> <b><=</b> |
| 488 | </TSliceSingleTxtCur> |
| 489 | |
| 490 | <TSliceEnd> |
| 491 | </ul> |
| 492 | </TSliceEnd> |
| 493 | |
| 494 | <!-- Modify end of message body to include thread slice. We also |
| 495 | include convenient next/prev-in-thread links since scanning |
| 496 | slice can be inconvenient for simple thread reading. |
| 497 | --> |
| 498 | <MsgBodyEnd> |
| 499 | <hr> |
| 500 | <form method="post" action="/mp/yyz.py" enctype="multipart/form-data"> |
| 501 | <input type="hidden" name="a" value="$FROMADDRNAME$"> |
| 502 | <input type="hidden" name="b" value="$SUBJECTNA$"> |
| 503 | <input type="hidden" name="d" value="$MSGID$"> |
| 504 | <input type="hidden" name="c" value="$FROMADDRDOMAIN$"> |
| 505 | <center>reply via email to<br><input type="submit" value=" $FROMNAME$ "></center> |
| 506 | </form> |
| 507 | <hr> |
| 508 | <table width="100%"> |
| 509 | <tr><td align="left">$BUTTON(TPREVIN)$</td> |
| 510 | <td align="center"><b>Current Thread</b></td> |
| 511 | <td align="right">$BUTTON(TNEXTIN)$</td></tr></table> |
| 512 | $TSLICE$ |
| 513 | <hr> |
| 514 | </MsgBodyEnd> |