data/TWiki/CommentPluginTemplate.txt,v
changeset 0 414e01d06fd5
child 1 e2915a7cbdfa
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     1 head	1.4;
       
     2 access;
       
     3 symbols;
       
     4 locks; strict;
       
     5 comment	@# @;
       
     6 
       
     7 
       
     8 1.4
       
     9 date	2008.01.22.03.21.30;	author TWikiContributor;	state Exp;
       
    10 branches;
       
    11 next	1.3;
       
    12 
       
    13 1.3
       
    14 date	2007.01.16.04.12.04;	author TWikiContributor;	state Exp;
       
    15 branches;
       
    16 next	1.2;
       
    17 
       
    18 1.2
       
    19 date	2006.10.25.00.22.00;	author TWikiContributor;	state Exp;
       
    20 branches;
       
    21 next	1.1;
       
    22 
       
    23 1.1
       
    24 date	2006.06.25.16.26.31;	author TWikiContributor;	state Exp;
       
    25 branches;
       
    26 next	;
       
    27 
       
    28 
       
    29 desc
       
    30 @buildrelease
       
    31 @
       
    32 
       
    33 
       
    34 1.4
       
    35 log
       
    36 @buildrelease
       
    37 @
       
    38 text
       
    39 @%META:TOPICINFO{author="TWikiContributor" date="1166310108" format="1.0" version="4"}%
       
    40 %META:TOPICPARENT{name="CommentPlugin"}%
       
    41 
       
    42 ---+!! Templates for CommentPlugin
       
    43 
       
    44 See [[%TWIKIWEB%.CommentPlugin#Customisation][CommentPlugin: Customisation]] for help.
       
    45 
       
    46 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.
       
    47 
       
    48 %ICON{"hand"}% See CommentPluginExamples to view rendered templates
       
    49 
       
    50 <div class="twikiBroadcastMessage" style="background-color:#ffc;">WARNING: THIS FILE WILL BE OVERWRITTEN WHEN YOU UPGRADE THE COMMENT PLUGIN</div>
       
    51 
       
    52 Put your local templates into %TWIKIWEB%.UserCommentsTemplate (create if it does not exist yet). *Local templates defined in that topic will override templates defined below.*
       
    53 
       
    54 %TOC{title="Table of Contents"}%
       
    55 
       
    56 ---++ Template definitions
       
    57 ---+++ Templates used in rest of file
       
    58 Generic prompt box used by other templates
       
    59 <verbatim>
       
    60 %TMPL:DEF{promptbox}%<div class="commentPlugin commentPluginPromptBox"><table border="0" cellpadding="0" cellspacing="0"><tr valign="middle"><td><textarea %DISABLED% rows="%rows|3%" cols="%cols|70%" name="comment" class="twikiInputField" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea></td><td>&nbsp;<input %DISABLED% type="submit" value="%button|Add comment%" class="twikiButton" /></td></tr></table></div><!--/commentPlugin-->%TMPL:END%
       
    61 </verbatim>
       
    62 Short comment, signed and dated
       
    63 <verbatim>
       
    64 %TMPL:DEF{outputoneliner}%   * %URLPARAM{"comment"}% -- %WIKIUSERNAME% - %GMTIME{"$day $month $year"}%%TMPL:END%
       
    65 </verbatim>
       
    66 
       
    67 %ICON{"hand"}% See rendered template [[CommentPluginExamples#Default][Default]]
       
    68 
       
    69 
       
    70 
       
    71 
       
    72 ---+++ User templates
       
    73 ---++++ top
       
    74 Comments, signed and dated, added at top of file
       
    75 <verbatim>
       
    76 %TMPL:DEF{PROMPT:top}%%TMPL:P{promptbox}%%TMPL:END%
       
    77 </verbatim>
       
    78 
       
    79 <verbatim>
       
    80 %TMPL:DEF{OUTPUT:top}%%TMPL:P{outputoneliner}%%POS:TOP%
       
    81 %TMPL:END%
       
    82 </verbatim>
       
    83 
       
    84 %ICON{"hand"}% See rendered template [[CommentPluginExamples#top][top]]
       
    85 
       
    86 
       
    87 
       
    88 
       
    89 ---++++ bottom
       
    90 Comments, signed and dated, added at end of file
       
    91 <verbatim>
       
    92 %TMPL:DEF{PROMPT:bottom}%%TMPL:P{promptbox}%%TMPL:END%
       
    93 </verbatim>
       
    94 <verbatim>
       
    95 %TMPL:DEF{OUTPUT:bottom}%%POS:BOTTOM%%TMPL:P{outputoneliner}%%TMPL:END%
       
    96 </verbatim>
       
    97 
       
    98 %ICON{"hand"}% See rendered template [[CommentPluginExamples#bottom][bottom]]
       
    99 
       
   100 
       
   101 
       
   102 
       
   103 ---++++ above
       
   104 Comments, signed and dated, added immediately before anchor
       
   105 <verbatim>
       
   106 %TMPL:DEF{PROMPT:above}%%TMPL:P{promptbox}%%TMPL:END%
       
   107 </verbatim>
       
   108 <verbatim>
       
   109 %TMPL:DEF{OUTPUT:above}%%POS:BEFORE%%TMPL:P{OUTPUT:threadmode}%%TMPL:END%
       
   110 </verbatim>
       
   111 
       
   112 %ICON{"hand"}% See rendered template [[CommentPluginExamples#above][above]]
       
   113 
       
   114 
       
   115 
       
   116 
       
   117 ---++++ bulletabove
       
   118 Bullet item added immediately before anchor. The input field width is passed with variable =inputsize=, for example:
       
   119 <blockquote><verbatim>
       
   120 %COMMENT{type="bulletabove" inputsize="20"}%
       
   121 </verbatim></blockquote>
       
   122 
       
   123 <verbatim>
       
   124 %TMPL:DEF{PROMPT:bulletabove}%<input class="twikiInputField" name="bullet_above_item" id="bullet_above_item" type="text" size="%inputsize|40" value="%URLPARAM{"bullet_above_item"}%" />&nbsp;<input %DISABLED% type="submit" value="%button|Add item%" class="twikiButton" />%TMPL:END%
       
   125 </verbatim>
       
   126 <verbatim>
       
   127 %TMPL:DEF{OUTPUT:bulletabove}%   * %URLPARAM{"bullet_above_item"}%%POS:BEFORE%
       
   128 %TMPL:END%
       
   129 </verbatim>
       
   130 
       
   131 %ICON{"hand"}% See rendered template [[CommentPluginExamples#bulletabove][bulletabove]]
       
   132 
       
   133 
       
   134 
       
   135 
       
   136 ---++++ threadmode
       
   137 Wiki thread mode comment, signed and dated
       
   138 <verbatim>
       
   139 %TMPL:DEF{PROMPT:threadmode}%%TMPL:P{promptbox}%%TMPL:END%
       
   140 </verbatim>
       
   141 <verbatim>
       
   142 %TMPL:DEF{OUTPUT:threadmode}%%POS:BEFORE%
       
   143 
       
   144 %URLPARAM{"comment"}%
       
   145 
       
   146 -- %WIKIUSERNAME% - %DATE%
       
   147 %TMPL:END%
       
   148 </verbatim>
       
   149 
       
   150 %ICON{"hand"}% See rendered template [[CommentPluginExamples#threadmode][threadmode]]
       
   151 
       
   152 
       
   153 
       
   154 
       
   155 ---++++ belowthreadmode
       
   156 Comments, signed and dated, added recurse after comment box.
       
   157 
       
   158 <verbatim>
       
   159 %TMPL:DEF{PROMPT:belowthreadmode}%%TMPL:P{promptbox}%%TMPL:END%
       
   160 </verbatim>
       
   161 <verbatim>
       
   162 %TMPL:DEF{OUTPUT:belowthreadmode}%%POS:AFTER%
       
   163 ---++++ %WIKIUSERNAME% - %SERVERTIME%
       
   164 
       
   165 %URLPARAM{"comment"}%
       
   166 
       
   167 %TMPL:END%
       
   168 </verbatim>
       
   169 
       
   170 %ICON{"hand"}% See rendered template [[CommentPluginExamples#belowthreadmode][belowthreadmode]]
       
   171 
       
   172 
       
   173 
       
   174 
       
   175 ---++++ below
       
   176 Comments, signed and dated, added immediately below anchor
       
   177 <verbatim>
       
   178 %TMPL:DEF{PROMPT:below}%%TMPL:P{promptbox}%%TMPL:END%
       
   179 </verbatim>
       
   180 <verbatim>
       
   181 %TMPL:DEF{OUTPUT:below}%%POS:AFTER%%TMPL:P{outputoneliner}%
       
   182 %TMPL:END%
       
   183 </verbatim>
       
   184 
       
   185 %ICON{"hand"}% See rendered template [[CommentPluginExamples#below][below]]
       
   186 
       
   187 
       
   188 
       
   189 
       
   190 ---++++ tableprepend
       
   191 Comments, signed and dated, added at top of table below the
       
   192 anchor/location/COMMENT
       
   193 <verbatim>
       
   194 %TMPL:DEF{PROMPT:tableprepend}%%TMPL:P{promptbox}%%TMPL:END%
       
   195 </verbatim>
       
   196 <verbatim>
       
   197 %TMPL:DEF{OUTPUT:tableprepend}%%POS:AFTER%| %URLPARAM{"comment" newline="<br />"}% | %WIKIUSERNAME% | %SERVERTIME% |
       
   198 %TMPL:END%
       
   199 </verbatim>
       
   200 
       
   201 %ICON{"hand"}% See rendered template [[CommentPluginExamples#tableprepend][tableprepend]]
       
   202 
       
   203 
       
   204 
       
   205 
       
   206 ---++++ tableappend
       
   207 Comments, signed and dated, added at end of table above the anchor/location/COMMENT
       
   208 <verbatim>
       
   209 %TMPL:DEF{PROMPT:tableappend}%%TMPL:P{promptbox}%%TMPL:END%
       
   210 </verbatim>
       
   211 <verbatim>
       
   212 %TMPL:DEF{OUTPUT:tableappend}%%POS:BEFORE%| %URLPARAM{"comment" newline="<br />"}% | %WIKIUSERNAME% | %SERVERTIME% |
       
   213 %TMPL:END%
       
   214 </verbatim>
       
   215 
       
   216 %ICON{"hand"}% See rendered template [[CommentPluginExamples#tableappend][tableappend]]
       
   217 
       
   218 
       
   219 
       
   220 
       
   221 ---++++ after: Add before the comment box, after the last comment
       
   222 <verbatim>
       
   223 %TMPL:DEF{PROMPT:after}%%TMPL:P{promptbox}%%TMPL:END%
       
   224 </verbatim>
       
   225 <verbatim>
       
   226 %TMPL:DEF{OUTPUT:after}%%NOP%%TMPL:P{outputoneliner}%
       
   227 %POS:BEFORE%%TMPL:END%
       
   228 </verbatim>
       
   229 
       
   230 %ICON{"hand"}% See rendered template [[CommentPluginExamples#after][after]]
       
   231 
       
   232 
       
   233 
       
   234 
       
   235 ---++++ action
       
   236 Action added to action table directly above comment box
       
   237 (requires TWiki:Plugins/ActionTrackerPlugin)
       
   238 <verbatim>
       
   239 %TMPL:DEF{PROMPT:action}%
       
   240 
       
   241 %TABLE{databg="#ffffff" tableborder="0" cellborder="0"}%
       
   242 |        <label for="action_who">Action for</label>| <input class="twikiInputField" name="action_who" id="action_who" type="text" size="50" value="%URLPARAM{"who"}%" /> |
       
   243 | <label for="action_due">Due date</label>| <input class="twikiInputField" name="action_due" id="action_due" type="text" size="30" value="%URLPARAM{"due"}%" /> |
       
   244 |    <label for="action_comment">Comment</label>| <textarea %DISABLED% rows="%rows|3%" cols="%cols|50%" name="action_comment" id="action_comment" class="twikiInputField" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea> |
       
   245 || <input %DISABLED% type="submit" class="twikiButton" value="Add action" /> |
       
   246 %TMPL:END%
       
   247 </verbatim>
       
   248 <verbatim>
       
   249 %TMPL:DEF{OUTPUT:action}%%POS:BEFORE%%AC%NOP%TION{who="%URLPARAM{"action_who"}%" due="%URLPARAM{"action_due"}%"}% %URLPARAM{"action_comment" newline="<br />"}%<br />- Created by %WIKIUSERNAME%, %SERVERTIME%
       
   250 %TMPL:END%
       
   251 </verbatim>
       
   252 
       
   253 %ICON{"hand"}% See rendered template [[CommentPluginExamples#action][action]]
       
   254 
       
   255 
       
   256 
       
   257 
       
   258 ---++++ table
       
   259 Tablerows adding on end - TWiki:Main/FranzJosefSilli
       
   260 <verbatim>
       
   261 %TMPL:DEF{PROMPT:table}%
       
   262 %TABLE{databg="#ffffff" tableborder="0" cellborder="0"}%
       
   263 |        <label for="comment_date">Date</label>| <input class="twikiInputField" %DISABLED% type="text" size="40" name="comment_date" id="comment_date" /> |
       
   264 |        <label for="comment_city">City</label>| <input class="twikiInputField" %DISABLED% type="text" size="40" name="comment_city" id="comment_city" value="" /> |
       
   265 || <input %DISABLED% type="submit" class="twikiButton" value="%button|Add entry%" /> |
       
   266 %TMPL:END%
       
   267 </verbatim>
       
   268 <verbatim>
       
   269 %TMPL:DEF{OUTPUT:table}%%POS:BEFORE%| %URLPARAM{"comment_date"}% | %WIKIUSERNAME% | %URLPARAM{"comment_city" }% |
       
   270 %TMPL:END%
       
   271 </verbatim>
       
   272 
       
   273 %ICON{"hand"}% See rendered template [[CommentPluginExamples#table][table]]
       
   274 
       
   275 
       
   276 
       
   277 
       
   278 ---++++ toctalk
       
   279 Talk using TOC adding on end - TWiki:Main/FranzJosefSilli
       
   280 <verbatim>
       
   281 %TMPL:DEF{PROMPT:toctalk}%
       
   282 %TABLE{databg="#ffffff" tableborder="0" cellborder="0"}%
       
   283 |        <label for="comment_summary">Summary</label>| <input class="twikiInputField" %DISABLED% type="text" size="40" name="comment_summary" id="comment_summary" /> |
       
   284 |        <label for="toctalk_comment_text">Message</label>| <textarea %DISABLED% rows="%rows|3%" cols="%cols|50%" name="toctalk_comment_text" id="toctalk_comment_text" class="twikiInputField" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea> |
       
   285 || <input %DISABLED% type="submit" value="%button|Add%" class="twikiButton" /> |
       
   286 %TMPL:END%
       
   287 </verbatim>
       
   288 <verbatim>
       
   289 %TMPL:DEF{OUTPUT:toctalk}%
       
   290 %POS:BEFORE%---++++ %SERVERTIME% %WIKIUSERNAME%: %URLPARAM{"comment_summary"}%
       
   291 %POS:BEFORE%%URLPARAM{"toctalk_comment_text" }%
       
   292 %POS:BEFORE%
       
   293 %TMPL:END%
       
   294 </verbatim>
       
   295 
       
   296 %ICON{"hand"}% See rendered template [[CommentPluginExamples#toctalk][toctalk]]
       
   297 
       
   298 
       
   299 
       
   300 
       
   301 ---++++ bookmark
       
   302 Create a list of annotated bookmarks - TWiki:Main/FranzJosefSilli
       
   303 <verbatim>
       
   304 %TMPL:DEF{PROMPT:bookmark}%
       
   305 %TABLE{databg="#ffffff" tableborder="0" cellborder="0"}%
       
   306 |        <label for="comment_url">Url</label>| <input class="twikiInputField" %DISABLED% type="text" size="40" name="comment_url" id="comment_url" value="http://" /> |
       
   307 | <label for="comment_link">Link label</label>| <input class="twikiInputField" %DISABLED% type="text" size="40" name="comment_link" id="comment_link" /> |
       
   308 |    <label for="bookmark_comment_text">Comment</label>| <input class="twikiInputField" %DISABLED% type="text" size="40" name="bookmark_comment_text" id="bookmark_comment_text" value="%MESSAGE%" /> |
       
   309 || <input %DISABLED% type="submit" value="%button|Add bookmark%" class="twikiButton" /> |
       
   310 %TMPL:END%
       
   311 </verbatim>
       
   312 <verbatim>
       
   313 %TMPL:DEF{OUTPUT:bookmark}%%POS:BEFORE%   * [[%URLPARAM{"comment_url" encode="entity"}%][%URLPARAM{"comment_link" encode="entity"}%]] %IF{" '%URLPARAM{"bookmark_comment_text" encode="entity"}%' = '' " then="" else="- "}%%URLPARAM{"bookmark_comment_text" encode="entity"}%
       
   314 %TMPL:END%
       
   315 </verbatim>
       
   316 
       
   317 %ICON{"hand"}% See rendered template [[CommentPluginExamples#bookmark][bookmark]]
       
   318 
       
   319 
       
   320 
       
   321 
       
   322 ---++++ return
       
   323 Post to a different topic and return to here. The comment =target= is set in the =PROMPT=. In the form below the =redirectto= is set to the current (including) topic. %RED% Available with TWiki 4.1. %ENDCOLOR%
       
   324 
       
   325 <verbatim>
       
   326 %TMPL:DEF{returnpromptbox}%
       
   327 <input type="hidden" name="redirectto" value="%BASEWEB%.%BASETOPIC%" />
       
   328 %TMPL:P{promptbox}%
       
   329 %TMPL:END%
       
   330 </verbatim>
       
   331 <verbatim>
       
   332 %TMPL:DEF{PROMPT:return}%%TMPL:P{returnpromptbox}%%TMPL:END%
       
   333 </verbatim>
       
   334 <verbatim>
       
   335 %TMPL:DEF{OUTPUT:return}%%POS:BEFORE%%TMPL:P{OUTPUT:threadmode}%%TMPL:END%
       
   336 </verbatim>
       
   337 
       
   338 %ICON{"hand"}% See rendered template [[CommentPluginExamples#return][return]]
       
   339 
       
   340 
       
   341 
       
   342 
       
   343 ---++ Include !UserComments
       
   344 
       
   345 Including UserComments:
       
   346 
       
   347 %TMPL:INCLUDE{"UserComments"}%
       
   348 @
       
   349 
       
   350 
       
   351 1.3
       
   352 log
       
   353 @buildrelease
       
   354 @
       
   355 text
       
   356 @d1 1
       
   357 a1 1
       
   358 %META:TOPICINFO{author="TWikiContributor" date="1166310108" format="1.0" version="3"}%
       
   359 d264 1
       
   360 a264 1
       
   361 Talk using TOC adding on end - TWiki:Main/FranzJosefSilli
       
   362 @
       
   363 
       
   364 
       
   365 1.2
       
   366 log
       
   367 @buildrelease
       
   368 @
       
   369 text
       
   370 @d1 2
       
   371 a2 1
       
   372 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="2"}%
       
   373 d4 3
       
   374 a6 1
       
   375 Templates for CommentPlugin - See %TWIKIWEB%.CommentPlugin#Customisation for help.
       
   376 d10 3
       
   377 a12 1
       
   378 *WARNING: THIS FILE WILL BE OVERWRITTEN WHEN YOU UPGRADE THE COMMENT PLUGIN*
       
   379 d14 1
       
   380 a14 2
       
   381 Put your local templates into %TWIKIWEB%.UserCommentsTemplate.
       
   382 *LOCAL TEMPLATES WILL OVERRIDE TEMPLATES DEFINED IN THIS FILE*
       
   383 d16 1
       
   384 a16 1
       
   385 %TOC%
       
   386 d18 2
       
   387 a19 2
       
   388 ---+ Template definitions
       
   389 ---++ Templates used in rest of file
       
   390 d22 1
       
   391 a22 5
       
   392 %TMPL:DEF{promptbox}%
       
   393 <div class="commentPlugin commentPluginPromptBox">
       
   394 <table><tr valign="middle"><td><textarea %DISABLED% rows="%rows|3%" cols="%cols|70%" name="comment" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea></td><td><input %DISABLED% type="submit" value="%button|Add comment%" /></td></tr></table>
       
   395 </div><!--/commentPlugin-->
       
   396 %TMPL:END%
       
   397 d26 1
       
   398 a26 1
       
   399 %TMPL:DEF{outputoneliner}%   * %URLPARAM{"comment"}% -- %WIKIUSERNAME% - %SERVERTIME%%TMPL:END%
       
   400 d28 8
       
   401 a35 3
       
   402 ---------------------------------------------------------------------------
       
   403 ---++ User templates
       
   404 ---+++ top
       
   405 d45 7
       
   406 a51 2
       
   407 ---------------------------------------------------------------------------
       
   408 ---+++ bottom
       
   409 d59 7
       
   410 a65 2
       
   411 ---------------------------------------------------------------------------
       
   412 ---+++ above
       
   413 d71 19
       
   414 a89 1
       
   415 %TMPL:DEF{OUTPUT:above}%%POS:BEFORE%%TMPL:P{outputoneliner}%
       
   416 d92 7
       
   417 a98 2
       
   418 ---------------------------------------------------------------------------
       
   419 ---+++ threadmode
       
   420 d111 27
       
   421 a137 2
       
   422 ---------------------------------------------------------------------------
       
   423 ---+++ below
       
   424 d146 7
       
   425 a152 2
       
   426 ---------------------------------------------------------------------------
       
   427 ---+++ tableprepend
       
   428 d159 1
       
   429 a159 1
       
   430 %TMPL:DEF{OUTPUT:tableprepend}%%POS:AFTER%| %URLPARAM{"comment" newline="<br />"}% </td><td> %WIKIUSERNAME% </td><td> %SERVERTIME% |
       
   431 d162 7
       
   432 a168 2
       
   433 ---------------------------------------------------------------------------
       
   434 ---+++ tableappend
       
   435 d177 7
       
   436 a183 2
       
   437 ---------------------------------------------------------------------------
       
   438 ---+++ after: Add before the comment box, after the last comment
       
   439 d188 2
       
   440 a189 2
       
   441 %TMPL:DEF{OUTPUT:after}%%NOP%
       
   442 %TMPL:P{outputoneliner}% %POS:BEFORE%%TMPL:END%
       
   443 d191 7
       
   444 a197 2
       
   445 ----------------------------------------------------------------------------
       
   446 ---+++ action
       
   447 d199 1
       
   448 d202 6
       
   449 a207 20
       
   450 <table>
       
   451  <tr>
       
   452   <td align="right">Action for (%TWIKIWEB%.WikiName):</td>
       
   453   <td><input name="who" type="text" size="50" value="%URLPARAM{"who"}%" /></td>
       
   454  </tr>
       
   455  <tr>
       
   456   <td align="right">Due date:</td>
       
   457   <td>
       
   458 	<input name="due" id="idDue" type="text" size="30" value="%URLPARAM{"due"}%" />
       
   459   </td>
       
   460  </tr>
       
   461  <tr>
       
   462   <td colspan="2">
       
   463 	<textarea %DISABLED% rows="5" cols="120" name="comment" wrap="soft"></textarea>
       
   464   </td>
       
   465  </tr>
       
   466  <tr>
       
   467   <td colspan=2 align=middle><input %DISABLED% type="submit" value="Add action" /></td>
       
   468  </tr>
       
   469 </table>
       
   470 d211 1
       
   471 a211 1
       
   472 %TMPL:DEF{OUTPUT:action}%%POS:BEFORE%%AC%NOP%TION{who="%URLPARAM{"who"}%" due="%URLPARAM{"due"}%"}% %URLPARAM{"comment" newline="<br />"}%<br />- Created by %WIKIUSERNAME%, %SERVERTIME%
       
   473 d214 7
       
   474 a220 2
       
   475 ----------------------------------------------------------------------------
       
   476 ---+++ table
       
   477 d224 4
       
   478 a227 1
       
   479 <hr width="60%" /> Date: <input %DISABLED% type="text" size="40" name="comment_date" /> <br /> City: <input %DISABLED% type="text" size="40" name="comment_city" value="" /> <input %DISABLED% type="submit" value="%button|Add%" /> entry <hr width="90%" />
       
   480 d231 1
       
   481 a231 2
       
   482 %TMPL:DEF{OUTPUT:table}%
       
   483 %POS:BEFORE%| %URLPARAM{"comment_date"}% | %WIKIUSERNAME% | %URLPARAM{"comment_city" }% |
       
   484 d234 7
       
   485 a240 2
       
   486 ---------------------------------------------------------------------------
       
   487 ---+++ toctalk
       
   488 d244 4
       
   489 a247 1
       
   490 <hr width="60%" /> Summary: <input %DISABLED% type="text" size="40" name="comment_summary" /> <br /> <textarea %DISABLED% rows="%rows|3%" cols="%cols|50%" name="comment_text" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea> <br /> <input %DISABLED% type="submit" value="%button|Add%" /> <hr width="90%" />
       
   491 d252 2
       
   492 a253 2
       
   493 %POS:BEFORE%---+++ %SERVERTIME% %WIKIUSERNAME%: %URLPARAM{"comment_summary"}%
       
   494 %POS:BEFORE%%URLPARAM{"comment_text" }%
       
   495 d257 7
       
   496 a263 2
       
   497 ---------------------------------------------------------------------------
       
   498 ---+++ bookmark
       
   499 d267 9
       
   500 a275 1
       
   501 <hr width="60%" /> URL: <input %DISABLED% type="text" size="40" name="comment_url" value="http://" /> <br /> Link: <input %DISABLED% type="text" size="40" name="comment_link" /> <br /> Text: <input %DISABLED% type="text" size="40" name="comment_text" value="%MESSAGE%" /> <input %DISABLED% type="submit" value="%button|Add%" /> bookmark <hr width="90%" />
       
   502 d278 9
       
   503 d288 3
       
   504 a290 2
       
   505 %TMPL:DEF{OUTPUT:bookmark}%
       
   506 %POS:BEFORE%	* [[%URLPARAM{"comment_url"}%][%URLPARAM{"comment_link"}%]] - %URLPARAM{"comment_text" }%
       
   507 d293 9
       
   508 a302 1
       
   509 ---+ Include !UserCommentsTemplate
       
   510 d304 4
       
   511 a307 1
       
   512 Including UserCommentsTemplate:
       
   513 a309 2
       
   514 
       
   515 <!-- Do _not_ attempt to edit this topic; it is auto-generated. Please add comments/questions/remarks to the Dev topic instead. -->
       
   516 @
       
   517 
       
   518 
       
   519 1.1
       
   520 log
       
   521 @buildrelease
       
   522 @
       
   523 text
       
   524 @d1 1
       
   525 a1 1
       
   526 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="1"}%
       
   527 d26 1
       
   528 a26 1
       
   529 %TMPL:DEF{outputoneliner}%<span class="commentPlugin commentPluginOutputOneliner">	* %URLPARAM{"comment"}% -- %WIKIUSERNAME% - %SERVERTIME%</span></span><!--/commentPlugin-->%TMPL:END%
       
   530 @