MHonArc Resource List

THEAD


Syntax

Envariable

N/A

Element

<THEAD>
markup ...
</THEAD>

Command-line Option

N/A


Description

THEAD defines the header markup of thread index pages. It is also responsible for defining the opening markup for the thread listing.


Default Setting

If MULTIPG is on:

<THead>
<UL>
<LI><A HREF="$IDXFNAME$">Main Index</A></LI>
</UL>
$TPREVPGLINK$$TNEXTPGLINK$
<HR>
<UL>
</THead>

If MULTIPG is off:

<THead>
<UL>
<LI><A HREF="$IDXFNAME$">Main Index</A></LI>
</UL>
<HR>
<UL>
</THead>

Resource Variables

VariableValue
$DOCURL$ URL to documentation.
$FIRSTPG$ Filename of first page of main index.
$GMTDATE$ Current GMT date.
$IDXFNAME$ Filename of main index page.
$IDXLABEL$ Label for main index page.
$IDXPREFIX$ Prefix of filenames of main index pages.
$IDXSIZE$ Max number of messages that may be listed in index page.
$IDXTITLE$ The title of the main index page.
$LASTPG$ Filename of last page in of main index.
$LOCALDATE$ Current local date.
$NUMOFIDXMSG$ Number of message listed.
$NUMOFMSG$ Number of messages in the archive.
$NUMOFPAGES$ Number of index pages.
$OUTDIR$ Pathname of archive.
$PROG$ Program name
$TFIRSTPG$ Filename of first page of thread index.
$TIDXFNAME$ Filename of thread index page.
$TIDXLABEL$ Label for thread index page.
$TIDXPREFIX$ Prefix of filenames of thread index pages.
$TIDXTITLE$ Title of thread index.
$TLASTPG$ Filename of last page of thread index.
$TNEXTPG$ Filename of next page of the thread index.
$TNEXTPGLINK$ Markup linking to the next page of the thread index.
$TPREVPG$ Filename of the previous page of the thread index.
$TPREVPGLINK$ Markup linking to the previous page of the thread index.
$VERSION$ Program version.

Examples

The following example sets THEAD to contain page links for a multi-page thread index:

<THead>
<ul>
<li><a href="$IDXFNAME$">Date Index</a></li>
</ul>
<hr>
<table border=0 width="100%">
<tbody>
<tr align="center">
<th colspan=4>Page $PAGENUM$ of $NUMOFPAGES$
<tr>
<td align="left">$TPREVPGLINK$
<td align="right">[<a href="$TFIRSTPG$">First Page</a>]
<td align="left">[<a href="$TLASTPG$">Last Page</a>]
<td align="right">$TNEXTPGLINK$
</tbody>
</table>
<hr>
<ul>
</THead>

Version

1.1


See Also

MULTIPG, TFOOT, TNEXTPGLINK, TPREVPGLINK


97/06/03 17:04:35
MHonArc
Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu