This topic does not get overwritten when upgrading Foswiki so here we can safely put foswiki.org unique
CommentPlugin templates.
Try not to use COMMENT in a way that encourage threadmode instead of refactoring.
Remember to put the definitions in verbatim to avoid this topic becoming a XSS attack vector
bulletbelow
Bullet item added immediately after the COMMENT tag. Used to add bullets at the top of a list. The input field width is passed with parameter
inputsize
, for example:
%COMMENT{type="bulletbelow" inputsize="20"}%
%TMPL:DEF{PROMPT:bulletbelow}%<input class="foswikiInputField" name="bullet_below_item" id="bullet_below_item" type="text" size="%inputsize|60%" value="%URLPARAM{"bullet_below_item"}%" /> <input %DISABLED% type="submit" value="%button|Add item%" class="foswikiButton" />%TMPL:END%
%TMPL:DEF{OUTPUT:bulletbelow}% * %URLPARAM{"bullet_below_item" encode="off"}%%POS:AFTER%
%TMPL:END%
%TMPL:DEF{returnpromptboxtab}%
<input type="hidden" name="redirectto" value="%BASEWEB%.%BASETOPIC%?tab=discuss" />
%TMPL:P{promptbox}%
%TMPL:END%
%TMPL:DEF{PROMPT:returntab}%%TMPL:P{returnpromptboxtab}%%TMPL:END%
%TMPL:DEF{OUTPUT:returntab}%%POS:BEFORE%%TMPL:P{OUTPUT:threadmode}%%TMPL:END%
--
KennethLavrsen - 30 Sep 2009