home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
discus_admin_1357211388
/
webtags.conf
< prev
Wrap
Text File
|
2009-11-06
|
12KB
|
263 lines
# Configuration file for Discus formatting tags
#
# Created for version 4.00 and above ONLY.
#
# Please read all comments above the sections carefully. It is possible
# and allowable to edit this file to add or remove formatting codes as
# appropriate for your board. However, DISCUSWARE DOES NOT SUPPORT
# MODIFICATION OF THESE TAGS, SO IF YOU MODIFY TAGS AND MESS UP THE FILE,
# YOU NEED TO INSTALL A NEW "CLEAN" FILE -- WE WON'T HELP YOU FIX THE
# MODIFIED ONE.
#
# Note some double-definition of tags. The lower tag is used, but the upper
# one is included for backward-compatiblity in interpretation of the codes.
# If you modify tags, you should do the same, or you will get unusual results
# when you attempt to edit old messages.
##############################################################################
# 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).
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 .
c dot
c tm
c c ©
c << «
c r ®
c deg °
c +- ±
c <> <font face="symbol">¹</font>
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 pdel <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
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 <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>
# '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 <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 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 clipart <img src="!VAR(html_url)!/clipart/|1|.gif">
3 clipart <img src="!VAR(html_url)!/clipart/|1|.gif" border=0>
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 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 indent <blockquote>|1|</blockquote>
3 blockquote <blockquote>|1|</blockquote>
3 list <ul><li>|1|</li></ul>
3 olist <ol><li>|1|</li></ol>
# The following codes were added in version 3.0
3 pre <pre>|1|</pre>
3 quote <blockquote><hr size=0><!-quote-!><font size=1><b>quote:</b></font><p>|1|<!-/quote-!><hr size=0></blockquote>
3 tablebg <table bgcolor="|1|" border=1><tr><td>|2|</td></tr></table>
##############################################################################
# IMAGE LINK
#
# This is a bad idea for anyone but the superuser to be able to use...
#3 imagelink <img src="|1|">
s imagelink <img src="|1|">
s imagelink <img src="|1|" alt="|2|">
##############################################################################
# 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 <form action="|1|" method="|2|">|3|</form>
3 inputbox <input type=text name="|1|" value="|2|" size="|3|">
3 textbox <input type=text name="|1|" value="|2|" size="|3|">
3 checkbox <input type=checkbox name="|1|" value="|2|" |3|>
3 radio <input type=radio name="|1|" value="|2|" |3|>
3 hidden <input type=hidden name="|1|" value="|2|">
3 select <select name="|1|" size="|2|">|3|</select>
3 option <option value="|1|">|2|</option>
3 textarea <textarea name="|1|" rows="|2|" cols="|3|" wrap=physical>|4|</textarea>
3 textarea <textarea name="|1|" rows="|2|" cols="|3|" wrap=virtual>|4|</textarea>
3 submit <input type=submit name="|1|" value="|2|">
3 reset <input type=reset value="|1|">
##############################################################################
# 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 <img src="!var(url_to_default_image)!" alt="|1|">
1 attach <!-attachment-!><center><img src="!var(html_url)!/icons/attachment_icon.gif" alt="|1|"></center><!-/attachment-!>
##############################################################################
# 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 <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 jpeg_alreadyuploaded <img src="!var(html_url)!/messages/!var(topic_number)!/|1|.jpg" alt="|2|">
3 png_alreadyuploaded <img src="!var(html_url)!/messages/!var(topic_number)!/|1|.png" alt="|2|">
3 attachment_alreadyuploaded <!-attachment: |1|-!><center><table border=1><tr><td><img src="!var(html_url)!/icons/|3|" align=left alt="|6|">|2|<br><a href="!var(html_url)!/messages/!var(topic_number)!/|1|"><b>|5|</b></a> (|4| k)</td></tr></table></center><!-/attachment-!>
3 attachment_alreadyuploaded <!--attachment: |1|*|3|*|6|*|4|*!esc(|2|)!*!esc(|5|)! --><center><table border=1><tr><td><img src="!var(html_url)!/icons/|3|" align=left alt="|6|">|2|<br><a href="!var(html_url)!/messages/!var(topic_number)!/|1|" target="_blank"><b>|5|</b></a> (|4| k)</td></tr></table></center><!--/attachment-->
3 attachment_notuploaded <!-attachment-!><center><img src="!var(html_url)!/icons/attachment_icon.gif" alt="|1|"></center><!-/attachment-!>
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|)