[ Index ] |
|
Code source de SPIP Agora 1.4 |
1 <?php 2 /***************************************************** 3 * This file is part of Agora, web based content management system. 4 * 5 * Agora is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; version 2 of the License. 8 * 9 * Agora is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details (file "COPYING"). 13 * 14 * Copyright © Arnaud Martin, Antoine Pitrou et Philippe Rivière. 15 * List of authors detailed in "copyright_fr.html" file. 16 * E-mail : agora@sig.premier-ministre.gouv.fr 17 * Web site : http://www.agora.gouv.fr 18 *****************************************************/ 19 /** 20 * @version $Id$ 21 **/ 22 // 23 // Ce fichier ne sera execute qu'une fois 24 if (defined("_ECRIRE_INC_MODULES")) 25 return; 26 27 define("_ECRIRE_INC_MODULES", "1"); 28 29 // Chargement des pages de configurations des modules ecrire/MODULE_module.php 30 function charger_modules () { 31 global $modules_options; 32 33 //La listes des modules est contenu dans la variable globale modules défini dans mes_options 34 if (isset($GLOBALS['modules'])) { 35 foreach ($GLOBALS['modules'] as $module) { 36 //RUBRIQUE : a_suivre, a_suivre_avancees, edition_site, 37 //edition_site_avancees, discussions, suivi_actualite, 38 //admin_site et admin_site_avancees 39 $modules_options[$module]['liens_a_suivre'] = array(); 40 $modules_options[$module]['liens_a_suivre_avancees'] = array(); 41 $modules_options[$module]['liens_edition_site'] = array(); 42 $modules_options[$module]['liens_edition_site_avancees'] = array(); 43 $modules_options[$module]['liens_discussions'] = array(); 44 $modules_options[$module]['liens_suivi_actualite'] = array(); 45 $modules_options[$module]['liens_admin_site'] = array(); 46 $modules_options[$module]['liens_admin_site_avancees'] = array(); 47 //include_ecrire ( "modules/$module/module.php" ) ; 48 include_once (dirname(__FILE__). "/modules/$module/module.php"); 49 } 50 } 51 } 52 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 14:40:03 2007 | par Balluche grâce à PHPXref 0.7 |