[ Index ] |
|
Code source de SPIP 1.9.2c |
1 <?php 2 3 /***************************************************************************\ 4 * SPIP, Systeme de publication pour l'internet * 5 * * 6 * Copyright (c) 2001-2007 * 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 // http://doc.spip.org/@exec_legender_dist 16 function exec_legender_dist() 17 { 18 global $id_document, $id, $type, $ancre, $script; 19 $id = intval($id); 20 $id_document = intval($id_document); 21 22 if (!($type == 'article' 23 ? autoriser('modifier','article',$id) 24 : autoriser('publierdans','rubrique',$id))) { 25 include_spip('inc/minipres'); 26 echo minipres(); 27 exit; 28 } 29 30 $legender = charger_fonction('legender', 'inc'); 31 ajax_retour($legender($id_document, array(), $script, $type, $id, $ancre)); 32 } 33 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Wed Nov 21 10:20:27 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |