META TOPICPARENT |
name="CommentPluginTemplate" |
Newsbox
Wiki thread mode comment, signed and dated. Last comment on the top.
%TMPL:DEF{newsprompt}%
<div class="commentPlugin commentPluginPromptBox">
<table><tr><td>Title:</td><td><input %DISABLED% type="text" size="%cols|70%" name="title"></input></td></tr>
<tr valign="middle"><td>Message:</td><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 news%" /></td></tr></table>
</div><!--/commentPlugin-->
%TMPL:END%
%TMPL:DEF{PROMPT:newsbox}%%TMPL:P{newsprompt}%%TMPL:END%
%TMPL:DEF{OUTPUT:newsbox}%%POS:AFTER%
---+++ %URLPARAM{"title"}%
%URLPARAM{"comment"}%
-- %WIKIUSERNAME% - %DATE% %TIME%
%TMPL:END%
-- PedroMaiaAlves - 03 Jan 2007
META TOPICMOVED |
by="PedroMaiaAlves" date="1167864192" from="TWiki.UserCommentsTemplate" to="TWiki.UserComments" |
|