Log In
|
Users
|
Register
Sandbox test area with all features enabled.
OK
Main
Sandbox
Log In
or
Register
Edit
|
Attach
|
New
|
View
|
Diff
|
Print
|
|
Tools
You are here:
Sandbox
»
CommentPluginTemplateExample
---+!! Template Example Example template topic for [[%SYSTEMWEB%.CommentPluginExamples#TemplateTopic][CommentPluginExamples:templatetopic]]. <verbatim> %TMPL:DEF{PROMPT:example}%%TMPL:P{promptbox}%%TMPL:END% </verbatim> <verbatim> %TMPL:DEF{FORM:example}% #TemplateTopicPrompt <form method="post" action="%SCRIPTURL{save}%/%BASEWEB%/%BASETOPIC%" enctype="application/x-www-form-urlencoded" name="examplecomment" id="examplecomment"> <input type="hidden" name="redirectto" value="%BASEWEB%.%BASETOPIC%" /> %COMMENTPROMPT% </form> %TMPL:END% </verbatim> <verbatim> %TMPL:DEF{OUTPUT:example}%%POS:BEFORE%%TMPL:P{OUTPUT:examplethreadmode}%%TMPL:END% </verbatim> <verbatim> %TMPL:DEF{OUTPUT:examplethreadmode}%%POS:BEFORE% %GMTIME{"#CommentDate$epoch"}% %WIKIUSERNAME% - %DATE%: %URLPARAM{"comment" encode="off"}% --- %TMPL:END% </verbatim> Include generic comment templates: <verbatim> %TMPL:INCLUDE{"%SYSTEMWEB%.CommentPlugin"}% </verbatim>
View
Changed by
ProjectContributor
on
03 Dec 2006 - 21:00 - r1
This site is managed by the
Center for Climate Systems Modeling (C2SM)
.
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems?
Send feedback!