diff --git a/.gitattributes b/.gitattributes
index 727c715863c8f66268e46a50d988abc63000765b..8d194e3cbd871d5cc37df21b8561c988db88a7d9 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -382,6 +382,7 @@ ecrire/exec/export_all.php -text
 ecrire/exec/forum.php -text
 ecrire/exec/forum_admin.php -text
 ecrire/exec/forum_envoi.php -text
+ecrire/exec/gadgets.php -text
 ecrire/exec/grouper_mots.php -text
 ecrire/exec/iconifier.php -text
 ecrire/exec/import_all.php -text
diff --git a/ecrire/exec/gadgets.php b/ecrire/exec/gadgets.php
new file mode 100644
index 0000000000000000000000000000000000000000..6ac62a300b96763f99d1866bdc0214efd84194ba
--- /dev/null
+++ b/ecrire/exec/gadgets.php
@@ -0,0 +1,23 @@
+<?php
+
+/***************************************************************************\
+ *  SPIP, Systeme de publication pour l'internet                           *
+ *                                                                         *
+ *  Copyright (c) 2001-2006                                                *
+ *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
+ *                                                                         *
+ *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
+ *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
+\***************************************************************************/
+
+if (!defined("_ECRIRE_INC_VERSION")) return;
+
+function exec_gadgets_dist()
+{
+	$id_rubrique = intval(_request('id_rubrique'));
+	$gadget = _request('gadget');
+	$gadgets = charger_fonction('gadgets', 'inc');
+
+	return $gadgets($id_rubrique, $gadget);
+}
+?>