From 81214d3808bfac2ceb19846e90c9ac931625158f Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Thu, 5 Oct 2006 21:48:29 +0000 Subject: [PATCH] =?UTF-8?q?Le=20JavaScript=20asynchrone=20n'oblige=20pas?= =?UTF-8?q?=20=C3=A0=20des=20d=C3=A9pots=20asynchrones=20....?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 1 + ecrire/exec/gadgets.php | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 ecrire/exec/gadgets.php diff --git a/.gitattributes b/.gitattributes index 727c715863..8d194e3cbd 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 0000000000..6ac62a300b --- /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); +} +?> -- GitLab