c br
c br
c nbsp
c |c ¢
c c| ¢
##############################################################################
# OVERVIEW OF FORMATTING TAG DEFINITIONS
#
# The number which preceded each tag declaration is used
# internally by the program to determine where a tag is
# allowed. We have indicated above each section where
# tags are used -- it suffices to put your new tag in the
# proper section and give it the same initial number as
# every other tag
#
# The notation !VAR(variable_name)! inserts the current value
# of the given program variable name. Any program variable is
# supported using this notation (you do NOT put the $ in front
# of the variable name -- the script does this).
# The following variable are a few of the variable names
# that are supported with an example given in parentheses:
# !VAR(html_url)! (http://your.domain.com/discus)
# !VAR(topic_number)! (25)
#
# Formatting tags are separated with one or more space
# characters (tabs recommended). The first column is the "context"
# as defined above, the second column is the code that the user enters
# (for example, in the \b{Bold!} tag, it is the "b"), and the third
# column is the actual HTML output with user input denoted as arguments.
# Arguments take the form |1|, |2|, and so on (the | is the pipe). A
# tag may have as many arguments as needed.
##############################################################################
# SIMPLE FORMATTING
#
# Tags preceded by "5" may be used anywhere where formatting tags are
# recognized, including subject lines, about messages, and messages.
# This is a good place for simple text formatting, such as bold and
# italics. Note that these tags are the ONLY tags permitted in subject
# lines (and are a subset of the allowable codes for message text).
5 b |1|
5 i |1|
5 gr |1|
5 greek |1|
5 sup |1|
5 super |1|
5 + |1|
5 sub |1|
5 - |1|
5 fixed |1|
5 u |1|
# 'char' tag is special -- leave this definition alone
5 char |1|;
##############################################################################
# NON-SUBJECT LINE FORMATTING
#
# Tags preceded by "3" are allowed everywhere EXCEPT in subject lines.
# These codes are good for text coloring and sizing, hyperlinks, clipart,
# and any other formatting codes that are appropriate for about messages
# and messages but that are not appropriate for subject lines.
3 rgb |2|
3 int ò|1| \
|2|
3 size2 |1|
3 size1 |1|
3 size0 |1|
3 size-1 |1|
3 size-2 |1|
3 2 |1|
3 1 |1|
3 0 |1|
3 -1 |1|
3 -2 |1|
3 qbcolor |2|
3 strike |1|
3 blink
3 c
|1|
3 center
|1|
3 mail |2|
3 link |2|
3 topurl |2|
3 topurl |2|
3 newurl |2|
3 table
|1|
3 tablenb
|1|
3 clipart
3 clipart
3 red |1|
3 black |1|
3 blue |1|
3 green |1|
3 yellow |1|
3 purple |1|
3 orange |1|
3 cyan |1|
3 gray |1|
3 white |1|
3 sum S|2| \
|1|
3 font |2|
3 indent
|1|
3 blockquote
|1|
3 list
|1|
3 olist
|1|
# The following codes were added in version 3.0
3 pre
|1|
3 quote
quote:
|1|
3 tablebg
|2|
##############################################################################
# IMAGE LINK
#
# This is a bad idea for anyone but the superuser to be able to use...
#3 imagelink
s imagelink
s imagelink
##############################################################################
# FORMS
#
# This will allow you to use formatting tags to create your own WWW forms
# within Discus Pages! This would be very useful for some people, but if
# abbused, it can be "turned off" by deleting the following entries.
3 form
3 inputbox
3 textbox
3 checkbox
3 radio
3 hidden
3 select
3 option
3 textarea
3 textarea
3 submit
3 reset
##############################################################################
# UPLOADING
#
# Tags preceded by "1" are used to upload images or attachments to messages.
# These codes are parsed by the program (hence it is ESSENTIAL not to modify
# these tags in any way) and replaced by the user's upload. If you translate
# or modify the names of the tags, you also need to translate the appropriate
# variable(s) in the language.conf file so the tags retain their special
# meaning.
#
# Uploads are permitted only in messages, and are not permitted in subject
# lines or about messages.
#
# To "turn off" image and/or attachment uploading, comment out or remove one
# or both of the following lines from this file.
1 image
1 attach
##############################################################################
# CODES YOU SHOULD NOT MODIFY
#
# The following codes have special meaning to the program and should not be
# translated or modified in any way. The program depends on these files having
# the exact format in which they have been defined here. There is no need to
# translate these tags or comment them out for any reason. Repeating, THERE IS
# NO NEED TO TOUCH THESE TAGS FOR ANY REASON, SO DO NOT MODIFY THESE TAGS!!!!!!
3 image_notuploaded
3 image_alreadyuploaded
3 jpeg_alreadyuploaded
3 png_alreadyuploaded
3 attachment_alreadyuploaded
3 popattach +++ attachment +++ |1| +++ |2| +++
3 popgif +++ gif +++ |1| +++ |2| +++
3 popjpeg +++ jpeg +++ |1| +++ |2| +++
3 poppng +++ png +++ |1| +++ |2| +++
##############################################################################
# SPECIAL FORMATTING CODES TO CALL SUBROUTINES
#
# This is a new feature in Discus 4.0 that allows you to call Perl code to
# extend the capabilities of the formatting language. More documentation will
# be available in the Knowledge Center (http://support.discusware.com/center).
# The pig latin formatting tag and word find examples are provided so you can
# learn the way that these tags work in general (see the webtags2.pl file)
*S pig_latin &pig_latin(|1|)
*S word_find &word_find(|1|)
3 repeat