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 / acheron / discus_admin_245059122 / webtags.conf < prev   
Text File  |  1999-01-26  |  10KB  |  224 lines

  1. # Configuration file for Discus formatting tags
  2. #
  3. # Created for version 2.60 and above, but will work with any previous
  4. # version of Discus version 2.20 or above.
  5. #
  6. # Please read all comments above the sections carefully.  It is possible
  7. # and allowable to edit this file to add or remove formatting codes as
  8. # appropriate for your board.  However, THE DISCUS TEAM DOES NOT SUPPORT
  9. # MODIFICATION OF THESE TAGS, SO IF YOU MODIFY TAGS AND MESS UP THE FILE,
  10. # YOU NEED TO INSTALL A NEW "CLEAN" FILE -- WE WON'T HELP YOU FIX THE
  11. # MODIFIED ONE.
  12.  
  13. ##############################################################################
  14. # SPECIAL CHARACTER DEFINITIONS
  15. #
  16. # All special character definitions start with a C to indicate
  17. # that they are a special character definition.  The first column 
  18. # is a C,  the second column is the input_code the user types 
  19. # into the \ch{input_code} tag, and the third column is the output
  20. # (actual HTML definition of the special character).  Columns
  21. # are delimited with one or more space characters (tabs are
  22. # recommended).  
  23.  
  24. C    ->        <FONT FACE="SYMBOL">®</FONT>
  25. C    <-        <FONT FACE="SYMBOL">¬</FONT>
  26. C    /|        <FONT FACE="SYMBOL">­</FONT>
  27. C    \/        <FONT FACE="SYMBOL">¯</FONT>
  28. C    t        †
  29. C    tt        ‡
  30. C    dot    •
  31. C    .        •
  32. C    TM        ™
  33. C    c        ©
  34. C    <<        «
  35. C    R        ®
  36. C    deg    °
  37. C    +-        ±
  38. C    =/=    <FONT FACE="SYMBOL">¹</FONT>
  39. C    int    <FONT FACE="SYMBOL">ò</FONT>
  40. C    :)        <FONT FACE="WINGDINGS">J</FONT>
  41. C    :|        <FONT FACE="WINGDINGS">K</FONT>
  42. C    :(        <FONT FACE="WINGDINGS">L</FONT>
  43. C    mu        µ
  44. C    1/2    ½
  45. C    1/4    ¼
  46. C    >>        »
  47. C    A        Å
  48. C    Aring    Å
  49. C    nullset    Ø
  50. C    /        ÷
  51. C    forall    <FONT FACE="SYMBOL">"</FONT>
  52. C    <=        <FONT FACE="SYMBOL">£</FONT>
  53. C    >=        <FONT FACE="SYMBOL">³</FONT>
  54. C    <>        <FONT FACE="SYMBOL">«</FONT>
  55. C    inf    <FONT FACE="SYMBOL">¥</FONT>
  56. C    ==        <FONT FACE="SYMBOL">º</FONT>
  57. C    del    <FONT FACE="SYMBOL">¶</FONT>
  58. C    DEL    <FONT FACE="SYMBOL">Ñ</FONT>
  59. C    =>        <FONT FACE="SYMBOL">Þ</FONT>
  60. C    therefore    <FONT FACE="SYMBOL">\</FONT>
  61. C    line    <HR WIDTH=75% SIZE=2>
  62. C    br        <br>
  63. C    BR        <br>
  64. C    nbsp     
  65.  
  66. ##############################################################################
  67. # OVERVIEW OF FORMATTING TAG DEFINITIONS
  68. #
  69. # The number which preceded each tag declaration is used
  70. # internally by the program to determine where a tag is
  71. # allowed.  We have indicated above each section where
  72. # tags are used -- it suffices to put your new tag in the
  73. # proper section and give it the same initial number as
  74. # every other tag
  75. #
  76. # The notation !VAR(variable_name)! inserts the current value
  77. # of the given program variable name.  Any program variable is
  78. # supported using this notation (you do NOT put the $ in front
  79. # of the variable name -- the script does this).
  80. # The following variable are a few of the variable names
  81. # that are supported with an example given in parentheses:
  82. #    !VAR(html_url)!            (http://your.domain.com/discus)
  83. #    !VAR(topic_number)!        (25)
  84. #    
  85. # Formatting tags are separated with one or more space
  86. # characters (tabs recommended).  The first column is the "context"
  87. # as defined above, the second column is the code that the user enters
  88. # (for example, in the \b{Bold!} tag, it is the "b"), and the third
  89. # column is the actual HTML output with user input denoted as arguments.
  90. # Arguments take the form |1|, |2|, and so on (the | is the pipe).  A 
  91. # tag may have as many arguments as needed.
  92.  
  93. ##############################################################################
  94. # SIMPLE FORMATTING
  95. #
  96. # Tags preceded by "5" may be used anywhere where formatting tags are
  97. # recognized, including subject lines, about messages, and messages.
  98. # This is a good place for simple text formatting, such as bold and
  99. # italics.  Note that these tags are the ONLY tags permitted in subject
  100. # lines (and are a subset of the allowable codes for message text).
  101.  
  102. 5    b            <B>|1|</B>
  103. 5    i            <I>|1|</I>
  104. 5    gr            <FONT FACE="SYMBOL">|1|</FONT>
  105. 5    greek        <FONT FACE="SYMBOL">|1|</FONT>
  106. 5    sup        <SUP>|1|</SUP>
  107. 5    super        <SUP>|1|</SUP>
  108. 5    +            <SUP>|1|</SUP>
  109. 5    sub        <SUB>|1|</SUB>
  110. 5    -            <SUB>|1|</SUB>
  111. 5    fixed        <FONT FACE="Courier New">|1|</FONT>
  112. 5    u            <U>|1|</U>
  113. 5    char        &#|1|;
  114. 5  hide         
  115.  
  116. ##############################################################################
  117. # NON-SUBJECT LINE FORMATTING
  118. #
  119. # Tags preceded by "3" are allowed everywhere EXCEPT in subject lines.
  120. # These codes are good for text coloring and sizing, hyperlinks, clipart,
  121. # and any other formatting codes that are appropriate for about messages
  122. # and messages but that are not appropriate for subject lines.
  123.  
  124. 3    rgb        <FONT COLOR="|1|">|2|</FONT>
  125. 3    int        <FONT FACE="SYMBOL" SIZE="+2">ò</FONT><SUB><FONT SIZE="-1">|1|</FONT> \
  126.             </SUB><SUP><FONT SIZE="-1">|2|</FONT></SUP>
  127. 3    size2        <FONT SIZE="+2">|1|</FONT>
  128. 3    size1        <FONT SIZE="+1">|1|</FONT>
  129. 3    size0        <FONT SIZE="+0">|1|</FONT>
  130. 3    size-1    <FONT SIZE="-1">|1|</FONT>
  131. 3    size-2    <FONT SIZE="-2">|1|</FONT>
  132. 3    2            <FONT SIZE="+2">|1|</FONT>
  133. 3    1            <FONT SIZE="+1">|1|</FONT>
  134. 3    0            <FONT SIZE="+0">|1|</FONT>
  135. 3    -1            <FONT SIZE="-1">|1|</FONT>
  136. 3    -2            <FONT SIZE="-2">|1|</FONT>
  137. 3    qbcolor    <FONT COLOR="QBCOLOR|1|">|2|</FONT>
  138. 3    strike    <STRIKE>|1|</STRIKE>
  139. 3    blink        <BLINK>|1|</BLINK>
  140. 3    c            <CENTER>|1|</CENTER>
  141. 3    center    <CENTER>|1|</CENTER>
  142. 3    mail        <A HREF="mailto:|1|">|2|</A>
  143. 3    link        <A HREF="|1|">|2|</A>
  144. 3    topurl    <A HREF="|1|" TARGET="_top">|2|</A>
  145. 3    newurl    <A HREF="|1|" TARGET="_blank">|2|</A>
  146. 3    table        <TABLE BORDER=1><TR><TD>|1|</TD></TR></TABLE>
  147. 3    tablenb    <TABLE><TR><TD>|1|</TD></TR></TABLE>
  148. 3    list        <UL><LI>|1|</LI></UL>
  149. 3    clipart    <IMG SRC="!VAR(html_url)!/clipart/|1|.gif">
  150. 3    red        <FONT COLOR="ff0000">|1|</FONT>
  151. 3    black        <FONT COLOR="000000">|1|</FONT>
  152. 3    blue        <FONT COLOR="0000ff">|1|</FONT>
  153. 3    green        <FONT COLOR="119911">|1|</FONT>
  154. 3    yellow    <FONT COLOR="ffff00">|1|</FONT>
  155. 3    purple    <FONT COLOR="aa00aa">|1|</FONT>
  156. 3    orange    <FONT COLOR="ff6000">|1|</FONT>
  157. 3    cyan        <FONT COLOR="0077aa">|1|</FONT>
  158. 3    gray        <FONT COLOR="808080">|1|</FONT>
  159. 3    white        <FONT COLOR="ffffff">|1|</FONT>
  160. 3    sum        <FONT FACE="symbol" SIZE=+2><B>S</B></FONT><SUP><FONT SIZE="-1">|2|</FONT> \
  161.             </SUP><SUB><FONT SIZE="-1">|1|</FONT></SUB>
  162. 3    font        <FONT FACE="|1|">|2|</FONT>
  163. 3    indent    <BLOCKQUOTE>|1|</BLOCKQUOTE>
  164. 3    blockquote        <BLOCKQUOTE>|1|</BLOCKQUOTE>
  165.  
  166. # The following codes were added in version 3.0
  167.  
  168. 3  pre   <PRE>|1|</PRE>
  169. 3    quote    <BLOCKQUOTE><HR SIZE=0><!-Quote-!><FONT SIZE=1><B>Quote:</B></FONT><P>|1|<!-/Quote-!><HR SIZE=0></BLOCKQUOTE>
  170. 3  tablebg    <TABLE BGCOLOR="|1|" BORDER=1><TR><TD>|2|</TD></TR></TABLE>
  171.  
  172. ##############################################################################
  173. # FORMS
  174. #
  175. # This will allow you to use formatting tags to create your own WWW forms
  176. # within Discus Pages!  This would be very useful for some people, but if
  177. # abbused, it can be "turned off" by deleting the following entries.
  178.  
  179. 3  form            <FORM ACTION="|1|" METHOD="|2|">|3|</FORM>
  180. 3  inputbox        <INPUT TYPE=TEXT NAME="|1|" VALUE="|2|" SIZE="|3|">
  181. 3  textbox        <INPUT TYPE=TEXT NAME="|1|" VALUE="|2|" SIZE="|3|">
  182. 3  checkbox        <INPUT TYPE=CHECKBOX NAME="|1|" VALUE="|2|" |3|>
  183. 3  radio            <INPUT TYPE=RADIO NAME="|1|" VALUE="|2|" |3|>
  184. 3  hidden        <INPUT TYPE=HIDDEN NAME="|1|" VALUE="|2|">
  185. 3    select        <SELECT NAME="|1|" SIZE="|2|">
  186. 3    option        <OPTION VALUE="|1|">
  187. 3  textarea    <TEXTAREA NAME="|1|" ROWS="|2|" COLS="|3|" WRAP=PHYSICAL>|4|</TEXTAREA>
  188. 3    submit        <INPUT TYPE=SUBMIT NAME="|1|" VALUE="|2|">
  189. 3    reset            <INPUT TYPE=RESET VALUE="|1|">
  190.  
  191. ##############################################################################
  192. # UPLOADING
  193. #
  194. # Tags preceded by "1" are used to upload images or attachments to messages.
  195. # These codes are parsed by the program (hence it is ESSENTIAL not to modify
  196. # these tags in any way) and replaced by the user's upload.  If you translate
  197. # or modify the names of the tags, you also need to translate the appropriate
  198. # variable(s) in the language.conf file so the tags retain their special
  199. # meaning.
  200. #
  201. # Uploads are permitted only in messages, and are not permitted in subject
  202. # lines or about messages.
  203. #
  204. # To "turn off" image and/or attachment uploading, comment out or remove one
  205. # or both of the following lines from this file.
  206.  
  207. 1    image        <IMG SRC="!VAR(url_to_default_image)!" ALT="|1|">
  208. 1  attach   <!-Attachment-!><CENTER><IMG SRC="!VAR(html_url)!/icons/attachment_icon.gif" ALT="|1|"></CENTER><!-/Attachment-!>
  209.  
  210. ##############################################################################
  211. # CODES YOU SHOULD NOT MODIFY
  212. #
  213. # The following codes have special meaning to the program and should not be
  214. # translated or modified in any way.  The program depends on these files having
  215. # the exact format in which they have been defined here.  There is no need to
  216. # translate these tags or comment them out for any reason.  Repeating, THERE IS
  217. # NO NEED TO TOUCH THESE TAGS FOR ANY REASON, SO DO NOT MODIFY THESE TAGS!!!!!!
  218.  
  219. 3    image_notuploaded    <IMG SRC="!VAR(url_to_default_image)!" ALT="|1|">
  220. 3    image_alreadyuploaded    <IMG SRC="!VAR(html_url)!/messages/!VAR(topic_number)!/|1|.gif" ALT="|2|">
  221. 3    jpeg_alreadyuploaded    <IMG SRC="!VAR(html_url)!/messages/!VAR(topic_number)!/|1|.jpg" ALT="|2|">
  222. 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-!>
  223. 3  attachment_notuploaded <!-Attachment-!><CENTER><IMG SRC="!VAR(html_url)!/icons/attachment_icon.gif" ALT="|1|"></CENTER><!-/Attachment-!>
  224.