21,7 → 21,7 |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: plan.php,v 1.1 2006-12-13 09:42:39 jp_milcent Exp $ |
// CVS : $Id: plan.php,v 1.2 2006-12-13 10:53:36 jp_milcent Exp $ |
/** |
* papyrus_bp - plan.php |
* |
33,7 → 33,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 1999-2006 |
*@version $Revision: 1.1 $ $Date: 2006-12-13 09:42:39 $ |
*@version $Revision: 1.2 $ $Date: 2006-12-13 10:53:36 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
44,8 → 44,8 |
$GLOBALS['_GEN_commun']['info_applette_balise'] = '\{\{[Pp]lan'. |
'(?:\s*'. |
'(?:'. |
'(site="[^"]+")|'. |
'(permalien="(?i:oui|non)")|'. |
'(site="[^"]*")|'. |
'(permalien="[^"]*")|'. |
')'. |
')+'. |
'\s*\}\}'; |
115,12 → 115,10 |
//+----------------------------------------------------------------------------------------------------------------+ |
// Récupération des données |
if (count($GLOBALS['_PLAN_']['erreurs']) == 0) { |
$aso_info_menu = GEN_lireInfoMenuContenuDate($GLOBALS['_GEN_commun']['pear_db'], $options['type'], $options['site'], $options['categorie']); |
if (count($aso_info_menu) == 0) { |
$tab_site = array_map('trim', explode(',', $options['site'])); |
if (count($tab_site) == 0) { |
$GLOBALS['_PLAN_']['informations'][] = sprintf(PLAN_LG_INFO_ZERO_PAGE, $options['site']); |
} else { |
$tab_site = array_map('trim', explode(',', $options['site'])); |
|
foreach ($tab_site as $cle => $site) { |
$aso_site_info = GEN_lireInfoSitePrincipalCodeAlpha($GLOBALS['_GEN_commun']['pear_db'], $site, DB_FETCHMODE_ASSOC); |
$aso_site['abreviation'] = $site; |
218,7 → 216,10 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.1 2006/12/13 09:42:39 jp_milcent |
* Ajout de l'applette Plan. |
* |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |