7abfd231d495db60714d0d91dc868ce18dfbc986
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
6 * Copyright (c) 2001-2014 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
13 if (!defined('_ECRIRE_INC_VERSION')) return;
15 include_spip('inc/actions');
17 # Les informations d'une rubrique selectionnee dans le mini navigateur
19 // http://doc.spip.org/@exec_informer_dist
20 function exec_informer_dist()
22 $id = intval(_request('id'));
23 $col = intval(_request('col'));
24 $exclus = intval(_request('exclus'));
27 if (preg_match('/^\w*$/', $do)) {
28 if (!$do) $do = 'aff';
30 $informer = charger_fonction('informer', 'inc');
31 $res = $informer($id, $col, $exclus, _request('rac'), _request('type'), $do);