home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.sunet.sepub/pictures
/
2014.11.ftp.sunet.se-pictures.tar
/
ftp.sunet.se
/
pub
/
pictures
/
ACiD-artpacks
/
www
/
mirrors
/
hirez
/
discus_admin_90939126
/
webtags.conf
< prev
Wrap
Text File
|
1998-12-01
|
7KB
|
196 lines
#This is the configuration file for WebTags
#It is read by the scripts as needed for interpretation
#You can modify any of the tags in this file
###########################################################
# SPECIAL CHARACTER DEFINITIONS
#
# All special character definitions start with a C to indicate
# that they are a special character definition. The first column
# is a C, the second column is the input_code the user types
# into the \ch{input_code} tag, and the third column is the output
# (actual HTML definition of the special character). Columns
# are delimited with one or more space characters (tabs are
# recommended).
# Built in special character definitions
C -> <FONT FACE="SYMBOL">®</FONT>
C <- <FONT FACE="SYMBOL">¬</FONT>
C /| <FONT FACE="SYMBOL"></FONT>
C \/ <FONT FACE="SYMBOL">¯</FONT>
C t
C tt
C dot
C .
C TM
C c ©
C << «
C R ®
C deg °
C +- ±
C =/= <FONT FACE="SYMBOL">¹</FONT>
C int <FONT FACE="SYMBOL">ò</FONT>
C :) <FONT FACE="WINGDINGS">J</FONT>
C :| <FONT FACE="WINGDINGS">K</FONT>
C :( <FONT FACE="WINGDINGS">L</FONT>
C mu µ
C 1/2 ½
C 1/4 ¼
C >> »
C A Å
C Aring Å
C nullset Ø
C / ÷
C forall <FONT FACE="SYMBOL">"</FONT>
C <= <FONT FACE="SYMBOL">£</FONT>
C >= <FONT FACE="SYMBOL">³</FONT>
C <> <FONT FACE="SYMBOL">«</FONT>
C inf <FONT FACE="SYMBOL">¥</FONT>
C == <FONT FACE="SYMBOL">º</FONT>
C del <FONT FACE="SYMBOL">¶</FONT>
C DEL <FONT FACE="SYMBOL">Ñ</FONT>
C => <FONT FACE="SYMBOL">Þ</FONT>
C therefore <FONT FACE="SYMBOL">\</FONT>
C line <HR WIDTH=75% SIZE=2>
C br <br>
C BR <br>
C nbsp
###########################################################
# FORMATTING TAG DEFINITIONS
#
# All formatting tag definitions start with a number from
# 1 to 5 to describe the context in which the tag will be
# interpreted. The context contained in this file (called
# the "context") is directly related to the "procedure" in the
# program. The procedures in the program are numbered as
# follows:
# 0: Message entry (post program, etc.)
# 1: Message editing with administration prog.
# 2: -unused- (reserved for future edition)
# 3: Subject lines
#
# When the "context" of the tag is LESS THAN OR EQUAL TO the
# "procedure" in the program, the tag is NOT ALLOWED.
# (Equivalently, only those tags whose "context" is greater
# than the "procedure" in the program are allowed.)
#
# For example, the tag "rgb" is NOT allowed in a subject line
# because the "context" for "rgb" is 3 (defined below) and the
# "procedure" for a subject line is also 3 (defined in the
# program). Because 3 <= 3, the tag is rejected.
#
# It suffices to enter your own custom tags in the correct
# section based on the desired behavior below (as long as you keep
# the "context" the same as the other entries in that section).
# As a rule, the higher the "context" in this file, the more places
# that the defined tag can be used.
#
# 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.
# Context 5 codes
#
# Tags with "context" 5 are "wide open." Because no program "procedure" has
# a number greater than 3, the "context" 5 will always be greater than the
# "procedure," and hence the tag will ALWAYS be allowed.
#
# This is a good place for simple text formatting, such as bold and italics.
# Context 5 codes are the ONLY tags allowed in subject lines (and are a
# subset of allowable codes in message editing).
5 b <B>|1|</B>
5 i <I>|1|</I>
5 gr <FONT FACE="SYMBOL">|1|</FONT>
5 greek <FONT FACE="SYMBOL">|1|</FONT>
5 sup <SUP>|1|</SUP>
5 super <SUP>|1|</SUP>
5 + <SUP>|1|</SUP>
5 sub <SUB>|1|</SUB>
5 - <SUB>|1|</SUB>
5 fixed <FONT FACE="Courier New">|1|</FONT>
5 u <U>|1|</U>
5 char |1|;
5 hidden
# Context 3 codes
# Context 3 codes are allowed everywhere EXCEPT in subject lines. Because
# the only program "procedure" with a "procedure" of 3 is the subject line
# editor, only those tags with context 4 or higher will be permitted (and
# likewise, tags with context of three or less will be rejected).
#
# Context 3 codes are good for text sizing and coloring as well as links.
3 rgb <FONT COLOR="|1|">|2|</FONT>
3 int <FONT FACE="SYMBOL" SIZE="+2">ò</FONT><SUB><FONT SIZE="-1">|1|</FONT> \
</SUB><SUP><FONT SIZE="-1">|2|</FONT></SUP>
3 size2 <FONT SIZE="+2">|1|</FONT>
3 size1 <FONT SIZE="+1">|1|</FONT>
3 size0 <FONT SIZE="+0">|1|</FONT>
3 size-1 <FONT SIZE="-1">|1|</FONT>
3 size-2 <FONT SIZE="-2">|1|</FONT>
3 2 <FONT SIZE="+2">|1|</FONT>
3 1 <FONT SIZE="+1">|1|</FONT>
3 0 <FONT SIZE="+0">|1|</FONT>
3 -1 <FONT SIZE="-1">|1|</FONT>
3 -2 <FONT SIZE="-2">|1|</FONT>
3 qbcolor <FONT COLOR="QBCOLOR|1|">|2|</FONT>
3 strike <STRIKE>|1|</STRIKE>
3 blink <BLINK>|1|</BLINK>
3 c <CENTER>|1|</CENTER>
3 center <CENTER>|1|</CENTER>
3 mail <A HREF="mailto:|1|">|2|</A>
3 link <A HREF="|1|">|2|</A>
3 topurl <A HREF="|1|" TARGET="_top">|2|</A>
3 newurl <A HREF="|1|" TARGET="_blank">|2|</A>
3 table <TABLE BORDER=1><TR><TD>|1|</TD></TR></TABLE>
3 tablenb <TABLE><TR><TD>|1|</TD></TR></TABLE>
3 list <UL><LI>|1|</LI></UL>
3 clipart <IMG SRC="!VAR(html_url)!/clipart/|1|.gif">
3 red <FONT COLOR="ff0000">|1|</FONT>
3 black <FONT COLOR="000000">|1|</FONT>
3 blue <FONT COLOR="0000ff">|1|</FONT>
3 green <FONT COLOR="119911">|1|</FONT>
3 yellow <FONT COLOR="ffff00">|1|</FONT>
3 purple <FONT COLOR="aa00aa">|1|</FONT>
3 orange <FONT COLOR="ff6000">|1|</FONT>
3 cyan <FONT COLOR="0077aa">|1|</FONT>
3 gray <FONT COLOR="808080">|1|</FONT>
3 white <FONT COLOR="ffffff">|1|</FONT>
3 image_notuploaded <IMG SRC="!VAR(url_to_default_image)!" ALT="|1|">
3 image_alreadyuploaded <IMG SRC="!VAR(html_url)!/messages/!VAR(topic_number)!/|1|.gif" ALT="|2|">
3 sum <FONT FACE="symbol" SIZE=+2><B>S</B></FONT><SUP><FONT SIZE="-1">|2|</FONT> \
</SUP><SUB><FONT SIZE="-1">|1|</FONT></SUB>
3 font <FONT FACE="|1|">|2|</FONT>
3 quote <BLOCKQUOTE>|1|</BLOCKQUOTE>
3 indent <BLOCKQUOTE>|1|</BLOCKQUOTE>
3 jpeg_alreadyuploaded <IMG SRC="!VAR(html_url)!/messages/!VAR(topic_number)!/|1|.jpg" ALT="|2|">
# Context 1 codes
# Context 1 codes are permitted in message posting ("procedure" 0 in the
# program), because every other "procedure" in the program has a "procedure"
# greater than zero. Hence, the "context" of 1 will only be allowed when
# the "procedure" is 0. The only tag recommended for this section is the
# image upload tag.
1 image <IMG SRC="!VAR(url_to_default_image)!" ALT="|1|">