TEXT   46
webtags conf
Guest on 14th August 2022 12:57:40 AM


  1. # Configuration file for Discus formatting tags
  2. #
  3. # Created for version 4.00 and above ONLY.
  4. #
  5. # Please read all comments above the sections carefully.  It is possible
  6. # and allowable to edit this file to add or remove formatting codes as
  7. # appropriate for your board.  However, DISCUSWARE DOES NOT SUPPORT
  8. # MODIFICATION OF THESE TAGS, SO IF YOU MODIFY TAGS AND MESS UP THE FILE,
  9. # YOU NEED TO INSTALL A NEW "CLEAN" FILE -- WE WON'T HELP YOU FIX THE
  10. # MODIFIED ONE.
  11. #
  12. # Note some double-definition of tags.  The lower tag is used, but the upper
  13. # one is included for backward-compatiblity in interpretation of the codes.
  14. # If you modify tags, you should do the same, or you will get unusual results
  15. # when you attempt to edit old messages.
  16.  
  17. ##############################################################################
  18. # SPECIAL CHARACTER DEFINITIONS
  19. #
  20. # All special character definitions start with a C to indicate
  21. # that they are a special character definition.  The first column
  22. # is a C,  the second column is the input_code the user types
  23. # into the \ch{input_code} tag, and the third column is the output
  24. # (actual HTML definition of the special character).  Columns
  25. # are delimited with one or more space characters (tabs are
  26. # recommended).
  27.  
  28. c   ->          <font face="symbol">&#174;</font>
  29. c   <-          <font face="symbol">&#172;</font>
  30. c   /|          <font face="symbol">&#173;</font>
  31. c   \/          <font face="symbol">&#175;</font>
  32. c   t                   &#134;
  33. c   tt          &#135;
  34. c   .                   &#149;
  35. c   dot                 &#149;
  36. c   tm          &#153;
  37. c   c           &copy;
  38. c   <<          &#171;
  39. c   r                   &#174;
  40. c   deg                 &#176;
  41. c   +-          &#177;
  42. c   <>                  <font face="symbol">&#185;</font>
  43. c   =/=                 <font face="symbol">&#185;</font>
  44. c   int                 <font face="symbol">&#242;</font>
  45. c   :)          <font face="wingdings">&#74;</font>
  46. c   :|          <font face="wingdings">&#75;</font>
  47. c   :(          <font face="wingdings">&#76;</font>
  48. c   mu          &#181;
  49. c   1/2                 &#189;
  50. c   1/4                 &#188;
  51. c   >>          &#187;
  52. c   a                   &#197;
  53. c   aring       &#197;
  54. c   nullset     &#216;
  55. c   /                   &#247;
  56. c   forall      <font face="symbol">&#34;</font>
  57. c   <=          <font face="symbol">&#163;</font>
  58. c   >=          <font face="symbol">&#179;</font>
  59. c   <->         <font face="symbol">&#171;</font>
  60. c   inf                 <font face="symbol">&#165;</font>
  61. c   ==          <font face="symbol">&#186;</font>
  62. c   pdel                <font face="symbol">&#182;</font>
  63. c   del                 <font face="symbol">&#209;</font>
  64. c   =>          <font face="symbol">&#222;</font>
  65. c   therefore   <font face="symbol">&#92;</font>
  66. c   line                <hr width=75% size=2>
  67. c   br          <br>
  68. c   br          <br>
  69. c   nbsp                &nbsp;
  70. c   |c          &#162;
  71. c   c|          &#162;
  72.  
  73.  
  74. ##############################################################################
  75. # OVERVIEW OF FORMATTING TAG DEFINITIONS
  76. #
  77. # The number which preceded each tag declaration is used
  78. # internally by the program to determine where a tag is
  79. # allowed.  We have indicated above each section where
  80. # tags are used -- it suffices to put your new tag in the
  81. # proper section and give it the same initial number as
  82. # every other tag
  83. #
  84. # The notation !VAR(variable_name)! inserts the current value
  85. # of the given program variable name.  Any program variable is
  86. # supported using this notation (you do NOT put the $ in front
  87. # of the variable name -- the script does this).
  88. # The following variable are a few of the variable names
  89. # that are supported with an example given in parentheses:
  90. #   !VAR(html_url)!         (http://your.domain.com/discus)
  91. #   !VAR(topic_number)!      (25)
  92. #
  93. # Formatting tags are separated with one or more space
  94. # characters (tabs recommended).  The first column is the "context"
  95. # as defined above, the second column is the code that the user enters
  96. # (for example, in the \b{Bold!} tag, it is the "b"), and the third
  97. # column is the actual HTML output with user input denoted as arguments.
  98. # Arguments take the form |1|, |2|, and so on (the | is the pipe).  A
  99. # tag may have as many arguments as needed.
  100.  
  101. ##############################################################################
  102. # SIMPLE FORMATTING
  103. #
  104. # Tags preceded by "5" may be used anywhere where formatting tags are
  105. # recognized, including subject lines, about messages, and messages.
  106. # This is a good place for simple text formatting, such as bold and
  107. # italics.  Note that these tags are the ONLY tags permitted in subject
  108. # lines (and are a subset of the allowable codes for message text).
  109.  
  110. 5   b                   <b>|1|</b>
  111. 5   i                   <i>|1|</i>
  112. 5   gr                  <font face="symbol">|1|</font>
  113. 5   greek               <font face="symbol">|1|</font>
  114. 5   sup                 <sup>|1|</sup>
  115. 5   super               <sup>|1|</sup>
  116. 5   +                   <sup>|1|</sup>
  117. 5   sub                 <sub>|1|</sub>
  118. 5   -                   <sub>|1|</sub>
  119. 5   fixed               <font face="courier new">|1|</font>
  120. 5   u                   <u>|1|</u>
  121.  
  122. #  'char' tag is special -- leave this definition alone
  123. 5   char                &#|1|;
  124.  
  125. ##############################################################################
  126. # NON-SUBJECT LINE FORMATTING
  127. #
  128. # Tags preceded by "3" are allowed everywhere EXCEPT in subject lines.
  129. # These codes are good for text coloring and sizing, hyperlinks, clipart,
  130. # and any other formatting codes that are appropriate for about messages
  131. # and messages but that are not appropriate for subject lines.
  132.  
  133. 3   rgb                 <font color="|1|">|2|</font>
  134. 3   int                 <font face="symbol" size="+2">&#242;</font><sub><font size="-1">|1|</font> \
  135.          </sub><sup><font size="-1">|2|</font></sup>
  136. 3   size2               <font size="+2">|1|</font>
  137. 3   size1               <font size="+1">|1|</font>
  138. 3   size0               <font size="+0">|1|</font>
  139. 3   size-1              <font size="-1">|1|</font>
  140. 3   size-2              <font size="-2">|1|</font>
  141. 3   2                   <font size="+2">|1|</font>
  142. 3   1                   <font size="+1">|1|</font>
  143. 3   0                   <font size="+0">|1|</font>
  144. 3   -1                  <font size="-1">|1|</font>
  145. 3   -2                  <font size="-2">|1|</font>
  146. 3   qbcolor             <font color="qbcolor|1|">|2|</font>
  147. 3   strike              <strike>|1|</strike>
  148. 3   blink               <blink>|1|</blink>
  149. 3   c                   <center>|1|</center>
  150. 3   center              <center>|1|</center>
  151. 3   mail                <a href="mailto:|1|">|2|</a>
  152. 3   link                <a href="|1|">|2|</a>
  153. 3   topurl              <a href="|1|" target="_top">|2|</a>
  154. 3   topurl              <a href="|1|" target=_top>|2|</a>
  155. 3   newurl              <a href="|1|" target="_blank">|2|</a>
  156. 3   table               <table border=1><tr><td>|1|</td></tr></table>
  157. 3   tablenb             <table><tr><td>|1|</td></tr></table>
  158. 3   clipart             <img src="!VAR(html_url)!/clipart/|1|.gif">
  159. 3   clipart             <img src="!VAR(html_url)!/clipart/|1|.gif" border=0>
  160. 3   red                 <font color="ff0000">|1|</font>
  161. 3   black               <font color="000000">|1|</font>
  162. 3   blue                <font color="0000ff">|1|</font>
  163. 3   green               <font color="119911">|1|</font>
  164. 3   yellow              <font color="ffff00">|1|</font>
  165. 3   purple              <font color="aa00aa">|1|</font>
  166. 3   orange              <font color="ff6000">|1|</font>
  167. 3   cyan                <font color="0077aa">|1|</font>
  168. 3   gray                <font color="808080">|1|</font>
  169. 3   white               <font color="ffffff">|1|</font>
  170. 3   sum                 <font face="symbol" size=+2><b>S</b></font><sup><font size="-1">|2|</font> \
  171.          </sup><sub><font size="-1">|1|</font></sub>
  172. 3   font                <font face="|1|">|2|</font>
  173. 3   indent              <blockquote>|1|</blockquote>
  174. 3   blockquote      <blockquote>|1|</blockquote>
  175. 3   list                <ul><li>|1|</li></ul>
  176. 3   olist               <ol><li>|1|</li></ol>
  177.  
  178. # The following codes were added in version 3.0
  179.  
  180. 3  pre                          <pre>|1|</pre>
  181. 3  quote                        <blockquote><hr size=0><!-quote-!><font size=1><b>quote:</b></font><p>|1|<!-/quote-!><hr size=0></blockquote>
  182. 3  tablebg              <table bgcolor="|1|" border=1><tr><td>|2|</td></tr></table>
  183.  
  184. ##############################################################################
  185. # IMAGE LINK
  186. #
  187. # This is a bad idea for anyone but the superuser to be able to use...
  188.  
  189. #3  imagelink           <img src="|1|">
  190. s   imagelink           <img src="|1|">
  191. s   imagelink           <img src="|1|" alt="|2|">
  192.  
  193. ##############################################################################
  194. # FORMS
  195. #
  196. # This will allow you to use formatting tags to create your own WWW forms
  197. # within Discus Pages!  This would be very useful for some people, but if
  198. # abbused, it can be "turned off" by deleting the following entries.
  199.  
  200. 3       form            <form action="|1|" method="|2|">|3|</form>
  201. 3       inputbox        <input type=text name="|1|" value="|2|" size="|3|">
  202. 3       textbox         <input type=text name="|1|" value="|2|" size="|3|">
  203. 3       checkbox        <input type=checkbox name="|1|" value="|2|" |3|>
  204. 3       radio           <input type=radio name="|1|" value="|2|" |3|>
  205. 3       hidden                  <input type=hidden name="|1|" value="|2|">
  206. 3       select          <select name="|1|" size="|2|">|3|</select>
  207. 3       option          <option value="|1|">|2|</option>
  208. 3       textarea                <textarea name="|1|" rows="|2|" cols="|3|" wrap=physical>|4|</textarea>
  209. 3       textarea                <textarea name="|1|" rows="|2|" cols="|3|" wrap=virtual>|4|</textarea>
  210. 3       submit          <input type=submit name="|1|" value="|2|">
  211. 3       reset           <input type=reset value="|1|">
  212.  
  213. ##############################################################################
  214. # UPLOADING
  215. #
  216. # Tags preceded by "1" are used to upload images or attachments to messages.
  217. # These codes are parsed by the program (hence it is ESSENTIAL not to modify
  218. # these tags in any way) and replaced by the user's upload.  If you translate
  219. # or modify the names of the tags, you also need to translate the appropriate
  220. # variable(s) in the language.conf file so the tags retain their special
  221. # meaning.
  222. #
  223. # Uploads are permitted only in messages, and are not permitted in subject
  224. # lines or about messages.
  225. #
  226. # To "turn off" image and/or attachment uploading, comment out or remove one
  227. # or both of the following lines from this file.
  228.  
  229. 1       image                   <img src="!var(url_to_default_image)!" alt="|1|">
  230. 1       attach                  <!-attachment-!><center><img src="!var(html_url)!/icons/attachment_icon.gif" alt="|1|"></center><!-/attachment-!>
  231.  
  232. ##############################################################################
  233. # CODES YOU SHOULD NOT MODIFY
  234. #
  235. # The following codes have special meaning to the program and should not be
  236. # translated or modified in any way.  The program depends on these files having
  237. # the exact format in which they have been defined here.  There is no need to
  238. # translate these tags or comment them out for any reason.  Repeating, THERE IS
  239. # NO NEED TO TOUCH THESE TAGS FOR ANY REASON, SO DO NOT MODIFY THESE TAGS!!!!!!
  240.  
  241. 3       image_notuploaded   <img src="!var(url_to_default_image)!" alt="|1|">
  242. 3       image_alreadyuploaded   <img src="!var(html_url)!/messages/!var(topic_number)!/|1|.gif" alt="|2|">
  243. 3       jpeg_alreadyuploaded   <img src="!var(html_url)!/messages/!var(topic_number)!/|1|.jpg" alt="|2|">
  244. 3       png_alreadyuploaded   <img src="!var(html_url)!/messages/!var(topic_number)!/|1|.png" alt="|2|">
  245. 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-!>
  246. 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-->
  247. 3       attachment_notuploaded <!-attachment-!><center><img src="!var(html_url)!/icons/attachment_icon.gif" alt="|1|"></center><!-/attachment-!>
  248. 3       popattach       +++ attachment +++ |1| +++ |2| +++
  249. 3       popgif          +++ gif +++ |1| +++ |2| +++
  250. 3       popjpeg         +++ jpeg +++ |1| +++ |2| +++
  251. 3       poppng          +++ png +++ |1| +++ |2| +++
  252.  
  253. ##############################################################################
  254. # SPECIAL FORMATTING CODES TO CALL SUBROUTINES
  255. #
  256. # This is a new feature in Discus 4.0 that allows you to call Perl code to
  257. # extend the capabilities of the formatting language.  More documentation will
  258. # be available in the Knowledge Center (http://support.discusware.com/center).
  259. # The pig latin formatting tag and word find examples are provided so you can
  260. # learn the way that these tags work in general (see the webtags2.pl file)
  261.  
  262. *S      pig_latin               &pig_latin(|1|)
  263. *S      word_find               &word_find(|1|)
  264.  
  265.  
  266. 3  repeat       <table bgcolor="#67A8B2" border=0><tr><td></td><td width=100%><font size=1><b>citaat:<br/></b></font><BR/><font size=1>|1|</font></td></tr></table><br/>

Raw Paste

Login or Register to edit or fork this paste. It's free.