group Next Big Thing: Register for the Foswiki Camp 2015 now. ... group Annual Foswiki Association meeting: Friday 20th March 2015 at 1300Z

User Templates for CommentPlugin

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"}%" />&nbsp;<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%

-- KennethLavrsen - 30 Sep 2009


Edit | Attach | Print version | History: r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r1 - 30 Sep 2009, KennethLavrsen
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback