You are here: Telem>Wok Web>UserComments (04 Oct 2010, UnknownUser)EditAttach

Templates used in rest of file

Generic prompt box used by other templates
%TMPL:DEF{promptbox}%<div class="commentPlugin commentPluginPromptBox"><small><b>Laissez votre commentaire dans le champ de saisie ci-après</b></small><br /><textarea %DISABLED% rows="%rows|10%" cols="%cols|90%" name="comment" class="twikiInputField" wrap="soft" onfocus="if(this.value=='%MESSAGE%')this.value=''" onblur="if(this.value=='')this.value='%MESSAGE%'">%MESSAGE%</textarea><br />&nbsp;<input %DISABLED% type="submit" value="%button|Ajouter ce commentaire%" class="twikiButton" /> <small><i>[[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]] - %GMTIME{"$day $month $year"}%</i></small></div><!--/commentPlugin-->%TMPL:END%
Short comment, signed and dated
%TMPL:DEF{outputoneliner}%----- 
%URLPARAM{"comment"}% -- [[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]] - %GMTIME{"$day $month $year"}%%TMPL:END%

hand See rendered template Default

Add user with ease

%TMPL:DEF{PROMPT:user}%
<table border="0"><tr><th><small>Qui ?</small></th><th><small>pourquoi ? comment ? infos...</small></th></tr>
<tr><td><select name="who"> <option>
%SEARCH{"%META:FORM.*[U]serForm" web="Accueil" regex="on" casesensitive="on" nosearch="on" format="<option>$topic</option>" sort="topic" excludetopic="Test*, TWiki*" separator=" "}%</option></select></td><td>
      <input type="hidden" name="state" value="proposed" /><input type="text" size="40" name="infos" value="%URLPARAM{"infos"}%" /></td></tr><tr><td><input %DISABLED% type="submit" value="%button|M'ajouter %" /></td><td></td></tr></table>
%TMPL:END%

%TMPL:DEF{OUTPUT:user}%%POS:BEFORE%   * %MAINWEB%.%URLPARAM{"who"}%  %URLPARAM{"infos"}%
%TMPL:END%

Add bon plan

%TMPL:DEF{PROMPT:bon_plan}%

Ajouter un bon plan

titre
description rapide

%TMPL:END%

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


-- Wiki Guest - 27 Jul 2017

Intéressé(e)s :
J'en suis ! Qui ?pourquoi ? comment ? infos...
%TMPL:END%
Topic revision: r5 - 04 Oct 2010, UnknownUser
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Telem? Send feedback