Il est temps de fermer le rideau.


# diff -U 1 kame/ecrire/tools/referers/index.php  kame_new/ecrire/tools/referers/index.php
--- kame/ecrire/tools/referers/index.php        2006-08-20 17:24:02.000000000 +0200
+++ kame_new/ecrire/tools/referers/index.php    2007-07-27 23:47:50.000000000 +0200
@@ -96,3 +96,3 @@
 buffer::str('<form action="tools.php" method="post">');
-
+buffer::str(dcNonce::form());
 buffer::str('<fieldset><legend>' .__('Configuration') . '</legend>');

# diff -U 1 kame/ecrire/tools/bbclone/lib/html.php kame_new/ecrire/tools/bbclone/lib/html.php
--- kame/ecrire/tools/bbclone/lib/html.php      2006-08-13 11:08:59.000000000 +0200
+++ kame_new/ecrire/tools/bbclone/lib/html.php  2007-07-28 00:09:42.000000000 +0200
@@ -131,2 +131,3 @@
     $str = (empty($lang_sel) ? "" : "<form method=\"post\" action=\"".str_replace("index.php", "", $self)."\">\n")
+         .dcNonce::form()
           ."<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" width=\"100%\" "

# diff -U 1 kame/ecrire/tools/bbclonerss/lib/html.php kame_new/ecrire/tools/bbclonerss/lib/html.php
--- kame/ecrire/tools/bbclonerss/lib/html.php   2006-08-20 20:14:23.000000000 +0200
+++ kame_new/ecrire/tools/bbclonerss/lib/html.php       2007-07-28 00:15:26.000000000 +0200
@@ -119,2 +119,3 @@
     $str = (empty($lang_sel) ? "" : "<form method=\"post\" action=\"".str_replace("index.php", "", $self)."\">\n")
+         .dcNonce::form()
           ."<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" width=\"100%\" "

# diff -U 1 kame/ecrire/tools/gravatars/index.php kame_new/ecrire/tools/gravatars/index.php  
--- kame/ecrire/tools/gravatars/index.php       2007-01-31 17:40:02.000000000 +0100
+++ kame_new/ecrire/tools/gravatars/index.php   2007-07-28 00:18:37.000000000 +0200
@@ -142,3 +142,3 @@
                '<form action="'.$url.'" method="post">'.
-
+               dcNonce::form().
                '<fieldset class="clear">'.

# diff -U 1 kame/ecrire/tools/filemanager/index.php kame_new/ecrire/tools/filemanager/index.php
--- kame/ecrire/tools/filemanager/index.php     2006-04-21 04:55:38.000000000 +0200
+++ kame_new/ecrire/tools/filemanager/index.php 2007-07-28 00:22:50.000000000 +0200
@@ -234,2 +234,3 @@
                                '<form action="tools.php" method="post">'.
+                               dcNonce::form().
                                '<textarea id="f_content" name="f_content" '.
@@ -288,2 +289,3 @@
        '<form enctype="multipart/form-data" action="tools.php" method="post">'.
+       dcNonce::form().
        '<fieldset><legend>'.__('Add a file').' :</legend>'.

# diff -U 1 kame/ecrire/tools/lastcomments/index.php kame_new/ecrire/tools/lastcomments/index.php
--- kame/ecrire/tools/lastcomments/index.php    2007-01-31 17:38:30.000000000 +0100
+++ kame_new/ecrire/tools/lastcomments/index.php        2007-07-28 00:27:26.000000000 +0200
@@ -129,3 +129,3 @@
        '<form action="'.$url.'" method="post">'.
-
+       dcNonce::form().
        '<fieldset class="clear">'.
@@ -190,3 +190,3 @@
        '<form action="'.$url.'&setdefaults=1" method="post">'.
-
+       dcNonce::form().
        '<fieldset class="clear">'.

v1.2.7 installée, reste à migrer quelques fichiers...

Fichiers migrés... c'est fini.