Next / Previous / Contents / TCC Help System / NM Tech homepage

13.8. XHTML constants

Constants related specifically to the XHTML rendering mechanism.

13.8.1. ANCHOR_PREFIX

Used to form anchor names from circle centers in the regional index page.

cbchistlib.py
ANCHOR_PREFIX = 'p'

13.8.2. NAV_LIST

This list defines the navigational links used on the XHTML history report page.

cbchistlib.py
NAV_LIST = [
    tp.NavLink("Next"),
    tp.NavLink("Previous"),
    tp.NavLink("Christmas Bird Count",
        [('', "http://www.nmt.edu/~shipman/z/cbc/")]),
    tp.NavLink("Zoological Data Processing",
        [('', "http://www.nmt.edu/~shipman/z/")]),
    tp.NavLink("Shipman's homepage",
        [('', "http://www.nmt.edu/~shipman/")]),
    ]

13.8.3. HEADING_REPEAT

Controls how often the key row (first heading row) is repeated through the body of the detail report. See Section 10.21, “hist.cgi: outputAllRows(): Build the body of the table” for a discussion of how it works.

cbchistlib.py
HEADING_REPEAT = 16