19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: pap_rendu.inc.php,v 1.7 2004-11-24 18:33:29 jpm Exp $ |
// CVS : $Id: pap_rendu.inc.php,v 1.8 2004-11-26 19:02:07 jpm Exp $ |
/** |
* Rendu : programme traitant l'url demandée et retournant la page compressé au navigateur. |
* |
35,7 → 35,7 |
*@author Alexandre GRANIER <alexadandre@tela-botanica.org> |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.7 $ $Date: 2004-11-24 18:33:29 $ |
*@version $Revision: 1.8 $ $Date: 2004-11-26 19:02:07 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
309,10 → 309,16 |
for ($j = 0; $j <= ($GLOBALS['_PAPYRUS_']['applette']['nbr_balise'] - 1); $j++) { |
// Nous vérifions que le nom de la fonction principale de l'applette existe. |
if (function_exists($_GEN_commun['info_applette'][$i]->applette_fonction)) { |
// Nous comptabilisons le nombre d'utilisation des applettes dans un squelette: |
if (!isset($GLOBALS['_PAPYRUS_']['applette']['comptage'][$_GEN_commun['info_applette'][$i]->applette_fonction])) { |
$GLOBALS['_PAPYRUS_']['applette']['comptage'][$_GEN_commun['info_applette'][$i]->applette_fonction] = 1; |
} else { |
$GLOBALS['_PAPYRUS_']['applette']['comptage'][$_GEN_commun['info_applette'][$i]->applette_fonction]++; |
} |
$GLOBALS['_PAPYRUS_']['applette']['contenu_applette'] = |
call_user_func( $_GEN_commun['info_applette'][$i]->applette_fonction, |
$GLOBALS['_PAPYRUS_']['applette']['applet_arguments'][$j], |
$_GEN_commun); |
call_user_func( $_GEN_commun['info_applette'][$i]->applette_fonction, |
$GLOBALS['_PAPYRUS_']['applette']['applet_arguments'][$j], |
$_GEN_commun); |
} else { |
$GLOBALS['_PAPYRUS_']['applette']['contenu_applette'] = |
'<!-- '."\n". |
358,6 → 364,9 |
/* +--Fin du code ---------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.7 2004/11/24 18:33:29 jpm |
* Encapsulation des variables dans le tableau global _PAPYRUS_. |
* |
* Revision 1.6 2004/11/15 17:40:21 jpm |
* Gestion d'un espace de nom pour les balises Papyrus. |
* |