Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | /***************************************************************************\ |
---|
4 | * SPIP, Systeme de publication pour l'internet * |
---|
5 | * * |
---|
6 | * Copyright (c) 2001-2015 * |
---|
7 | * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * |
---|
8 | * * |
---|
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 | \***************************************************************************/ |
---|
12 | |
---|
13 | if (!defined('_ECRIRE_INC_VERSION')) return; |
---|
14 | |
---|
15 | # afficher un mini-navigateur de rubriques |
---|
16 | |
---|
17 | // http://code.spip.net/@exec_selectionner_auteur_dist |
---|
18 | function exec_selectionner_auteur_dist() |
---|
19 | { |
---|
20 | $id = intval(_request('id_article')); |
---|
21 | $type = _request('type'); |
---|
22 | if (!preg_match(',^[a-z_]+$,',$type)) $type = 'article'; |
---|
23 | $selectionner_auteur = charger_fonction('selectionner_auteur', 'inc'); |
---|
24 | include_spip('inc/actions'); |
---|
25 | ajax_retour($selectionner_auteur($id, $type)); |
---|
26 | } |
---|
27 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.