Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Deleted: | ||||||||
< < | ||||||||
Templates for CommentPlugin | ||||||||
Changed: | ||||||||
< < | See CommentPlugin: Customisation for help. | |||||||
> > | See CommentPlugin: Customisation for help. | |||||||
While this topic can be viewed as a TWiki topic, it is used by the CommentPlugin as a template file - see TWikiTemplates. The important content in here is in the verbatim blocks. The rest of the topic is just comments. | ||||||||
Changed: | ||||||||
< < | See CommentPluginExamples to view rendered templates | |||||||
> > | See CommentPluginExamples to view rendered templates.
A note on security with the URLPARAM variable: Comments are passed along via URL parameters. They are safely encoded by default to reduce the exposure to cross-site scripting. To preserve user text "as is", and at the cost of security, you can turn off encoding by using encode="off" in the URLPARAM variable. The newline="" parameter of URLPARAM gets encoded with the same encoding as the actual URL parameter. In TWiki 5.0 and later you can specify newline="$br" to add a <br /> , regardless of the encoding used. | |||||||
WARNING: THIS FILE WILL BE OVERWRITTEN WHEN YOU UPGRADE THE COMMENT PLUGIN | ||||||||
Changed: | ||||||||
< < | Put your local templates into UserCommentsTemplate (create if it does not exist yet). Local templates defined in that topic will override templates defined below. | |||||||
> > | Put your local templates into UserCommentsTemplate (create if it does not exist yet). Local templates defined in that topic will override templates defined below. | |||||||
Line: 156 to 157 | ||||||||
%TMPL:DEF{PROMPT:tableprepend}%%TMPL:END% | ||||||||
Changed: | ||||||||
< < | %TMPL:DEF{OUTPUT:tableprepend}%%POS:AFTER%| | TWikiGuest | 2024-10-31 - 19:08 | | |||||||
> > | %TMPL:DEF{OUTPUT:tableprepend}%%POS:AFTER%| | TWikiGuest | 2024-10-31 - 19:08 | | |||||||
%TMPL:END% | ||||||||
Line: 171 to 172 | ||||||||
%TMPL:DEF{PROMPT:tableappend}%%TMPL:END% | ||||||||
Changed: | ||||||||
< < | %TMPL:DEF{OUTPUT:tableappend}%%POS:BEFORE%| | TWikiGuest | 2024-10-31 - 19:08 | | |||||||
> > | %TMPL:DEF{OUTPUT:tableappend}%%POS:BEFORE%| | TWikiGuest | 2024-10-31 - 19:08 | | |||||||
%TMPL:END% |