MHonArc Resource List

LISTBEGIN


Syntax

Envariable

N/A

Element

<LISTBEGIN>
markup ...
</LISTBEGIN>

Command-line Option

N/A


Description

The LISTBEGIN resource specifies the markup to begin the message list. This resource works in conjuction with LITEMPLATE and LISTEND resources to format the main index page(es).


Default Setting

If MULTIPG is not active:

<ListBegin>
<UL>
<LI><A HREF="$TIDXFNAME$">Thread Index</A></LI>
</UL>
<HR>
<UL>
</ListBegin>

If MULTIPG is active:

<ListBegin>
<UL>
<LI><A HREF="$TIDXFNAME$">Thread Index</A></LI>
</UL>
$PREVPGLINK$$NEXTPGLINK$
<HR>
<UL>
</ListBegin>

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.
$NEXTPG$ Filename of next page of the main index.
$NEXTPGLINK$ Markup linking to the next page of the main index.
$NUMOFIDXMSG$ Number of message listed.
$NUMOFMSG$ Number of messages in the archive.
$NUMOFPAGES$ Number of index pages.
$OUTDIR$ Pathname of archive.
$PAGENUM$ Current index page number.
$PREVPG$ Filename of the previous page of the main index.
$PREVPGLINK$ Markup linking to the previous page of the main index.
$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.
$VERSION$ Program version.

Examples

Here is an example that includes links for the first and last page of the index for a mult-page index:

<ListBegin>
<ul>
<li><a href="$TIDXFNAME$">Thread Index</a></li>
</ul>
<table width="100%" border=0 cols=2 cellpadding=0 cellspacing=0>
<tbody>
<tr align="center">
<th colspan=4>Page $PAGENUM$ of $NUMOFPAGES$
<tr>
<td align="left">$PREVPGLINK$
<td align="right">[<a href="$FIRSTPG$">First Page</a>]
<td align="left">[<a href="$LASTPG$">Last Page</a>]
<td align="right">$NEXTPGLINK
</tbody>
</table>
<hr>
<ul>
</ListBegin>

Version

1.0


See Also

LISTEND, LITEMPLATE, MULTIPG


97/02/18 16:27:24
MHonArc
Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu