TWiki> Forum Web>FstForum>UserCommentsTemplate (revision 9)EditAttach
%TMPL:DEF{PROMPT:newtopic}%
|  Subject | <textarea %DISABLED% rows="1" cols="%cols|70%" name="newtopic_subject" class="twikiInputField" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea>|
|  Comment | <textarea %DISABLED% rows="%rows|4%" cols="%cols|70%" name="newtopic_comment" class="twikiInputField" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea> |
<input type="submit" value="Submit" /> %LOGIN%
%TMPL:END%

%TMPL:DEF{OUTPUT:newtopic}%
%POS:AFTER%

---++ %URLPARAM{"newtopic_subject"  newline=" "}% 
---+++ %WIKIUSERNAME% - %SERVERTIME%
<noautolink>
%URLPARAM{"newtopic_comment"}%
</noautolink>

%COMMENT{type="mythreadmode"}% 
%TMPL:END%

%TMPL:DEF{PROMPT:mythreadmode}%%TMPL:P{promptbox}%%LOGIN%%TMPL:END%
%TMPL:DEF{OUTPUT:mythreadmode}%%POS:BEFORE%
---+++ %WIKIUSERNAME% - %SERVERTIME%
<noautolink>
%URLPARAM{"comment"}%
</noautolink>
%TMPL:END%


%TMPL:DEF{PROMPT:mytableappend}%
%TWISTY{mode="div" showlink="Add Comment..." hidelink="Hide"
showimgleft="%ICONURLPATH{toggleopen-small}%" 
hideimgleft="%ICONURLPATH{toggleclose-small}%"}%
%TMPL:P{promptbox}%
%ENDTWISTY%
%TMPL:END%

%TMPL:DEF{OUTPUT:mytableappend}%%POS:BEFORE%| %URLPARAM{"comment" newline="%BR%"}% | %WIKIUSERNAME% | %SERVERTIME% |
%TMPL:END%

-- CyrilAllauzen - 15 Jun 2007

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2014-02-24 - TWikiGuest
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback