summaryrefslogtreecommitdiff
path: root/archives/bin/resource-common
blob: 8d3f66a35531fddeaf1de531e3e3ea6c1789e6d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
<!-- MHonArc resource file -->

<!-- General Settings -->

<!-- turn on spammode -->
<SPAMMODE>

<!-- modify addresses in the mail body as well as in the next section -->
<MODIFYBODYADDRESSES>

<!-- modify all addresses as described below (perl), but only if it doesn't
     have a /.  This could probably be a lot cheaper ... -->
<ADDRESSMODIFYCODE>
$addr = $_;
if ($addr !~ /\//) {
	$addr =~ s/@/(at)/ ;
	$addr =~ s/\./(dot)/g ;
}
$_ = $addr;
</ADDRESSMODIFYCODE>

<!-- Sort messages in main index chronologically -->
<SORT>

<!-- Present most recent messages first -->
<REVERSE>
<TREVERSE>

<!-- Don't convert e-mail addresses to mailto: URLs -->
<NOMAILTO>

<!-- Don't include followup reference links on message pages -->
<FOLREFS>

<!-- Limit index pages to 180 messages -->
<IDXSIZE>
180
</IDXSIZE>

<!-- Break indexes into multiple pages, each with up to IDXSIZE messages -->
<MULTIPG>

<!-- Call the main (chronological) index "index.php". -->
<IDXFNAME>
index.php
</IDXFNAME>

<HTMLEXT>
php
</HTMLEXT>

<!-- Use day month year (e.g., 4 January 1998) date format -->
<MsgLocalDateFmt>
%d %B %Y
</MsgLocalDateFmt>

<MsgGmtDateFmt>
%d %B %Y
</MsgGmtDateFmt>

<!-- Markup to group messages in main index by date -->
<DayBegin>
<li><b>$MSGGMTDATE$</b>
<ul>
</DayBegin>

<DayEnd>
</ul></li>
</DayEnd>

<!-- Avoid HTML email altogether.
     See http://www.mhonarc.org/MHonArc/doc/faq/security.html#htmldata
  -->
<!-- It is common for popular MUA's to provide a text/plain version
     of the text/html version of a message body.  Therefore, we
     use MIMEALTPREFS to choose the text/plain version if available.
  -->
<MimeAltPrefs>
text/plain
text/html
</MimeAltPrefs>

<!-- For messages that do not have a text/plain alternative, we
     treat HTML data as text/plain so the content is not lost, but
     HTML markup is escaped and neutralized.
  -->
<MIMEFilters>
text/html;   m2h_text_plain::filter; mhtxtplain.pl
text/x-html; m2h_text_plain::filter; mhtxtplain.pl
</MIMEFilters>

<MIMEArgs>
m2h_text_plain::filter; attachcheck
</MIMEArgs>


<!-- Message Formatting -->

<MSGPGSSMARKUP>
<?php
  header("Last-Modified: $DATE:J$");
?>
</MSGPGSSMARKUP>

<MSGPGBEGIN>
<?php
 $$title = '$SUBJECTNA:72J$';
 $$base = "/$LIST$/$YEAR$-$MONTH$/";
if (strstr($$_SERVER["PHP_SELF"], "msgid")) {
	$$dots = "../../..";
} else {
	$$dots = "../..";
}

 require "$$dots/msgtop.php";
?>
</MSGPGBEGIN>                                                         

<REFSBEGIN>
<!--noindex-->
<ul>
  <li><b>References</b>:
      <ul>
</REFSBEGIN>

<REFSEND>
      </ul>
  </li>
</ul>
<!--/noindex-->
</REFSEND>

<FOLUPBEGIN>
<!--noindex-->
<ul>
  <li><b>Follow-Ups</b>:
      <ul>
</FOLUPBEGIN>

<FOLUPEND>
      </ul>
  </li>
</ul>
<!--/noindex-->
</FOLUPEND>


<BOTLINKS>
<!--noindex-->
<hr />
<ul>
$LINK(PREV)$$LINK(NEXT)$
$LINK(TPREV)$$LINK(TNEXT)$
  <li>Indexes:
      <ul>
        <li><a href="$IDXFNAME$#$MSGNUM$"><b>Main</b></a></li>
        <li><a href="$TIDXFNAME$#$MSGNUM$"><b>Thread</b></a></li>
      </ul>
  </li>
</ul>
<!--/noindex-->
</BOTLINKS>


<!-- Date Index Page Formatting -->

<IDXPGBEGIN>
<?php
$$title="$LIST$ $YEAR$-$MONTH$ Chronological Index ($PAGENUM$/$NUMOFPAGES$)";
require "../../msgtop.php";
?>
  <h2>$LIST$ $YEAR$-$MONTH$ Chronological Index ($PAGENUM$/$NUMOFPAGES$)</h2>

</IDXPGBEGIN>

<!-- Have LISTBEGIN contain last updated information -->
<LISTBEGIN>
<i>
Last updated: $LOCALDATE$<br />
$NUMOFMSG$ messages<br />
</i>
<ul>
  <li><a href="$TIDXFNAME$">Thread Index</a></li>
  <li>$PREVPGLINK$</li>
  <li>$NEXTPGLINK$</li>
</ul>
<hr style="width: 40%; height: 3" />
<ul>
</LISTBEGIN>


<!-- A compact listing template -->
<LITEMPLATE>
  <li>
    $SUBJECT$ $FROMNAME$ ($MSGGMTDATE(CUR;%H:%M)$)</li>
  </li>
</LITEMPLATE>

<!-- Markup for the end of each index page -->
<LISTEND>
</ul>
<hr />
<ul>
  <li><a href="$TIDXFNAME$">Thread Index</a></li>
  <li>$PREVPGLINK$</li>
  <li>$NEXTPGLINK$</li>
</ul>

<?php require($$_SERVER['DOCUMENT_ROOT']."/includes/bottom_config.php"); ?>

</LISTEND>






<!-- Thread Index Page Formatting -->

<TLEVELS>
5
</TLEVELS>

<TIDXPGBEGIN>
<?php
$$title = "$LIST$ $YEAR$-$MONTH$ Thread Index ($PAGENUM$/$NUMOFPAGES$)";
require "../../msgtop.php";
?>

  <h2>$LIST$ $YEAR$-$MONTH$ Thread Index ($PAGENUM$/$NUMOFPAGES$)</h2>

</TIDXPGBEGIN>

<!-- Markup for the beginning of thread index -->
<THEAD>
<i>
Last updated: $LOCALDATE$<br />
$NUMOFMSG$ messages<br />
</i>
<ul>
  <li><a href="$IDXFNAME$">Main Index</a></li>
  <li>$TPREVPGLINK$</li>
  <li>$TNEXTPGLINK$</li>
</ul>
<hr style="width: 40%; height: 3" />
<ul>
</THEAD>

<!-- Markup for each of a group of messages in a thread -->
<TLITXT>
  <li>$SUBJECT$ $FROMNAME$ ($MSGGMTDATE(CUR;%a %d %H:%M)$)</li>
</TLITXT>

<!-- Markup for the first message in a thread -->
<TTOPBEGIN>
<li>$SUBJECT$ $FROMNAME$ ($MSGGMTDATE(CUR;%a %d %H:%M)$)</li>
</TTOPBEGIN>

<!-- Markup for a singleton in the thread archive -->
<TSINGLETXT>
  <li>$SUBJECT$ $FROMNAME$ ($MSGGMTDATE(CUR;%a %d %H:%M)$)</li>
</TSINGLETXT>

<TFOOT>
<hr />
<ul>
  <li><a href="$IDXFNAME$">Main Index</a></li>
  <li>$TPREVPGLINK$</li>
  <li>$TNEXTPGLINK$</li>
</ul>
</TFOOT>

<TIDXPGEND>
<?php 
  require($$_SERVER['DOCUMENT_ROOT']."/includes/bottom_config.php"); 
?>
</TIDXPGEND>
<!--=== Message Customizations ============================================-->
<!-- Markup for the top of each message page -->
<EXCS override>
apparently
errors-to
followup
forward
lines
mime-
nntp-
originator
path
precedence
received
replied
return-path
status
via
x-
</EXCS>

<LABELSTYLES>
-default-
subject:strong
from:strong
to:strong
cc:strong
date:strong
message-id:strong
</LABELSTYLES>

<!-- Display only the headers mentioned here in each message page;
  -- all others are omitted. -->
<FIELDORDER>
from
to
cc
subject
date
message-id
</FIELDORDER>

<FIELDSBEG>
<!--noindex-->
<ul>
</FIELDSBEG>

<FIELDSEND>
</ul>
<!--/noindex-->
</FIELDSEND>

<FIELDSTYLES>
-default-
subject
from
to
cc
</FIELDSTYLES>

<!-- Omit links to previous, next messages at the top of a message page. -->
<!-- Links are included at the bottom of the page only. -->
<TopLinks>

</TopLinks>

<SUBJECTHEADER>
<!--noindex-->
<h2>$SUBJECTNA$</h2>
<hr style="width: 40%; height: 3" />
<!--/noindex-->
</SUBJECTHEADER>

<MSGHEAD>
<p>
</MSGHEAD>

<MSGFOOT>
<!--noindex-->
<b>
<a href="/">Home</a> |
<a href="$IDXFNAME$">Main Index</a> |
<a href="$TIDXFNAME$">Thread Index</a>
</b>
<!--/noindex-->
</MSGFOOT>

<MSGPGEND>
<?php require($$_SERVER['DOCUMENT_ROOT']."/includes/bottom_config.php"); ?>
</MSGPGEND>

<!--=== Icons =============================================================-->
<ICONS>
application/octet-stream:http://foo.org/icons/binary.xbm
application/postscript:http://foo.org/icons/postscript.xbm
audio/basic:http://foo.org/icons/sound.xbm
image/gif:http://foo.org/icons/image.xbm
image/jpeg:http://foo.org/icons/image.xbm
image/tiff:http://foo.org/icons/image.xbm
multipart/alternative:http://foo.org/icons/alternative.xbm
multipart/digest:http://foo.org/icons/text.xbm
multipart/mixed:http://foo.org/icons/mixed.xbm
multipart/parallel:http://foo.org/icons/mixed.xbm
text/richtext:http://foo.org/icons/mixed.xbm
text/html:http://foo.org/icons/mixed.xbm
text/plain:http://foo.org/icons/text.xbm
unknown:http://foo.org/icons/unknown.doc.xbm
video/mpeg:http://foo.org/icons/movie.xbm
video/quicktime:http://foo.org/icons/movie.xbm
</ICONS>

<TimeZones>
MET:-1
"MET:-1
IST:-1
BST:-1
KST:-1
MEZ:-1
MEZ:-1
U:-1
+1.00:-1
</TimeZones>