meta données pour cette page
  •  

Ceci est une ancienne révision du document !


Demo 1 de pagemod

  • retour à pagemod
  • démo 2 : ajout d'une ligne à la fin d'un tableau
  • démo 3 : ajout d'une ligne sous l'entête d'un tableau

Ajout d'un commentaire

New Comment

Write new comment
envoi
   __ __   __    ___    ___    __ __
  / // /  / /   / _ \  / _ \  / // /
 / _  /  / /__ / , _/ / , _/ / _  / 
/_//_/  /____//_/|_| /_/|_| /_//_/

Comments

<pagemod add_comment output_after> @@meta.date.format.r@@:

@@Name@@ @@Email (optional)@@
@@Comment@@

</pagemod> Fri, 09 Sep 2011 16:52:46 +0200:

toto toto@example.com
coucou

Fri, 26 Aug 2011 18:55:40 +0200:

alan test@exemple.com
coucou

Fri, 10 Jun 2011 10:37:42 +0200:

moi moi@example.com
c'est super ! ÇA MARCHE !

Mon, 21 Mar 2011 19:19:49 +0100:

a toto@example.com
<html> essai <B>gras</B></html>

Mon, 21 Mar 2011 19:19:06 +0100:

azs toto@example.com
[[http://www.wikipedia.fr]] jkhjhjk lkjklj lkjklj

Mon, 21 Mar 2011 19:17:36 +0100:

moi toto@example.com
[[http://www.wikipedia.fr]]

Sun, 13 Mar 2011 10:40:21 +0100:

ben c'es moi kwoa !
Je trouve ce wiki super génial ! Merci

Le code dokuwiki de ce formulaire

=== New Comment ===
<form>
action pagemod _self add_comment
fieldset "Write new comment"
textbox  "Name" /^((?!<\/nowiki>).)*$/
email "Email (optional)" /^((?!<\/nowiki>).)*$/ !
textarea "Comment" /^((?!<\/nowiki>).|\n)*$/
fieldset envoi
submit
</form>

=== Comments ===
<pagemod add_comment output_after>
//@@meta.date.format.r@@://
^<nowiki>@@Name@@</nowiki> |<nowiki>@@Email (optional)@@</nowiki>|
|<nowiki>@@Comment@@</nowiki> ||
</pagemod>
//Fri, 09 Sep 2011 16:52:46 +0200://
^<nowiki>toto</nowiki> |<nowiki>toto@example.com</nowiki>|
|<nowiki>coucou</nowiki> ||

//Fri, 26 Aug 2011 18:55:40 +0200://
^<nowiki>alan</nowiki> |<nowiki>test@exemple.com</nowiki>|
|<nowiki>coucou
</nowiki> ||