Subversion Repositories Applications.papyrus

Rev

Rev 1834 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1834 Rev 1835
Line 19... Line 19...
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: iw_integrateur.fonct.php,v 1.23 2008-04-28 17:17:28 ddelon Exp $
24
// CVS : $Id: iw_integrateur.fonct.php,v 1.24 2008-04-28 17:18:42 jp_milcent Exp $
25
/**
25
/**
26
* Fonctions de l'integrateur de page Wikini
26
* Fonctions de l'integrateur de page Wikini
27
*
27
*
28
* Application permettant d'intégrer des pages wikini dans Papyrus.
28
* Application permettant d'intégrer des pages wikini dans Papyrus.
29
*
29
*
Line 31... Line 31...
31
//Auteur original :
31
//Auteur original :
32
*@author        David Delon <david.delon@clapas.net>
32
*@author        David Delon <david.delon@clapas.net>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Aucun
34
*@author        Aucun
35
*@copyright     Tela-Botanica 2000-2004
35
*@copyright     Tela-Botanica 2000-2004
36
*@version       $Revision: 1.23 $ $Date: 2008-04-28 17:17:28 $
36
*@version       $Revision: 1.24 $ $Date: 2008-04-28 17:18:42 $
37
*
37
*
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
// |                                            ENTETE du PROGRAMME                                       |
39
// |                                            ENTETE du PROGRAMME                                       |
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 206... Line 206...
206
		
206
		
207
				if ($_POST) {
207
				if ($_POST) {
Line 208... Line 208...
208
					if ($_POST["submit"] == "Sauver")	{
208
					if ($_POST["submit"] == "Sauver")	{
209
						
209
						
210
					require_once(ADWI_CHEMIN_BIBLIOTHEQUE.'/hashcash/secret/wp-hashcash.lib');
210
					require_once(ADWI_CHEMIN_BIBLIOTHEQUE.'/hashcash/secret/wp-hashcash.lib');
211
					if($_POST["hashcash_value"] == hashcash_field_value()) {
211
					if($_POST["hashcash_value"] != hashcash_field_value()) {
Line 212... Line 212...
212
					    $error="Cette page n'a pas &eacute;t&eacute; enregistr&eacute;e car ce wiki pense que vous etes un robot.  Copiez-collez vos modifications et activez Javascript  !";
212
					    $error="Cette page n'a pas &eacute;t&eacute; enregistr&eacute;e car ce wiki pense que vous etes un robot.  Copiez-collez vos modifications et activez Javascript  !";
213
					}
213
					}