The L-Space Web: Developers

General Macros


_LSPACE_FTP
For use in a link.
Inserts http://www.lspace.org/ftp/ (usually followed by the relevant folder info)

_LSPACE_WWW
Use within a <a href=""> to link to the L-Space index page.

_CGI_IMPS
Use to link to the cgi-bin.

_LINKURL(insert any URL here)
Changes a plain text URL to linkable text.

_MAILTO(insert email address here)
Changes a plain text email address to linkable text.

The following are more short codes, though they will rarely be used by maintainers.
(The non-existant cabal) :
_LEO_EMAIL : leo@lspace.org
_LEO_WWW : http://www.kronto.org/
_ROB_EMAIL : rob@lspace.org
_ROB_WWW : http://rob.ossifrage.net/
_MPK_EMAIL : mpk@lspace.org
_MPK_WWW : http://www.tuatha.org/~mpk/
_COLM_EMAIL : colm@lspace.org
_COLM_WWW : http://www.tuatha.org/~colm/
_LSPACE_EMAIL : librarian@lspace.org
_AFPA_EMAIL : afpa-mod@lspace.org

Image related macros:

_PICTURE($1,$2,$3,$4,$5)

$1 = the relevant folder within the images directory of the ftp archive
$2 = the image name
$3 = image width
$4 = image height
$5 = any description

Creates a 2-cell table row, centering an image vertically in the first cell, and adding any description to the second cell.

Note: This macro requires the <table> tag.

_IMAGE($1,$2,$3,$4)

$1 = file name within an images directory
$2 = image height
$3 = image width
$4 = any description

Creates a 2-cell table row, centering an image vertically in the first cell, and adding any description to the second cell.

_THUMBNAIL($1,$2,$3,$4,$5)

$1 = the relevant folder within the images directory of the ftp archive
$2 = the image name which is also the thumbnail name
$3 = image width
$4 = image height
$5 = any description

Note: This macro requires the <table> tag.

_PAGE_DATE

defines the standard update time tag used in all the footers(?) and produces the following

This page was last modified: _DATE<br />

_NEWSHEADER(header,value)

is used to display usenet headers in the format:
header value or values(up to 9)

_DATE
returns the date the macro was processed.

_SMALLFONT(text)
will display the text one fontsize smaller (buggy).

_NEW
inserts the New gif.

_UPDATED
inserts the Updated gif.

_REDBALL
inserts the Red Ball gif.

_YELLOWBALL
inserts the Yellow Ball gif.

_POUNDS($1)
Changes 0.00 to 0.00

Unless you maintain a mirror of The L-Space Web, you should not use the following macros:
_URL
_HOST
_TARGETROOT
_MIRROR_MAINT
_MIRROR_MAINT_EMAIL
_MIRROR_MAINT_URL
_APACHE _COUNTER_URL


[Up]
This section of L-Space is maintained by The L-Space Librarians

The L-Space Web is a creation of The L-Space Librarians
This mirror site is maintained by Colm Buckley