# Adding New Template

# Editing Message Template

The following keywords will be replaced when the email is sent as follows:

X-PORTALNAME-X
  portal name (from System Configuration)
X-ADMINEMAIL-X
  administrator email address (from System Configuration)
X-BASEURL-X
  base URL for the site (useful in constructing links in the message)
X-LEGALNOTICE-X
  legal/copyright notice (from System Configuration)
X-USERLOGIN-X
  user account name (like Get("UserName"); ?>)
X-USERREALNAME-X
  "real" name of user (as set in Preferences)
X-USEREMAIL-X
  email address of user
X-RESOURCELIST-X
  list of resources that triggered email
X-RESOURCECOUNT-X
  number of items in list of resources that triggered email

The following keywords only apply in the List Item text:

X-RESOURCENUMBER-X
  numerical position of resource in list
X-RESOURCEID-X
  ID of resource (useful in constructing URLs)
X-FIELD:xxx-X
  field value (see below)

For the "X-FIELD:xxx-X" keyword, the "xxx" portion should correspond to a field name with all spaces and non-alphanumeric characters removed and all letters translated to upper case (e.g. X-FIELD:DATESUBMITTED-X).

Template Name |
From |
Subject |
Body | <?PHP print htmlspecialchars($G_Body); ?>
List Item | <?PHP print htmlspecialchars($G_ItemBody); ?>
Extra Message Headers | <?PHP print htmlspecialchars($G_Headers); ?>

# Email Message Templates

(no message templates have been defined)

$Template) { ?>
| Edit Delete

# Confirm Template Deletion

Template Name |
From |
Subject |
Body |
List Item |
Extra Message Headers |