Hello
WikiGuest
Log In
or
Register
Users
About
Blog
Extensions
Documentation
Community
Development
Tasks
Download
Support
You are here:
Foswiki
>
System Web
>
Plugins
>
CommentPlugin
>
CommentPluginTemplate
>
UserCommentsTemplate
(revision 2) (raw view)
---++ 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: <blockquote><verbatim> %COMMENT{type="bulletbelow" inputsize="20"}% </verbatim></blockquote> <verbatim> %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% </verbatim> <verbatim> %TMPL:DEF{OUTPUT:bulletbelow}% * %URLPARAM{"bullet_below_item" encode="off"}%%POS:AFTER% %TMPL:END% </verbatim> <verbatim> %TMPL:DEF{returnpromptboxtab}% <input type="hidden" name="redirectto" value="%BASEWEB%.%BASETOPIC%?tab=discuss" /> %TMPL:P{promptbox}% %TMPL:END% </verbatim> <verbatim> %TMPL:DEF{PROMPT:returntab}%%TMPL:P{returnpromptboxtab}%%TMPL:END% </verbatim> <verbatim> %TMPL:DEF{OUTPUT:returntab}%%POS:BEFORE%%TMPL:P{OUTPUT:threadmode}%%TMPL:END% </verbatim> -- Main.KennethLavrsen - 30 Sep 2009 -----------------
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r2 - 14 Jan 2012,
GeorgeClark
System
Log In
or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
About
Blog
Book
Community
Finance
Development
Download
Extensions
Archived
Testing
Home
Main
Sandbox
AlexanderKudryavtsev
AlexanderStoffers
DenisZoz
EricLandrieu
Formfield_example
GregKuiper
JackyHui
JonasRodrigues
LaurentChauvirey
MarianBanica
PadraigLennon
PeterSvendsen
PhilJ
PhilippLeufke
RobertFelber
SteffenFranke
SylvainBaeriswyl
TotoBig
WikiGuest
Support
Question922
System
Tasks
TestCases
WikiApps
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback