function breves_accueil_informations($texte){ include_spip('base/abstract_sql'); $q = sql_select("COUNT(*) AS cnt, statut", 'spip_breves', '', 'statut', '','', "COUNT(*)<>0"); // processes operating on the text depending on the resulting output // ... return $texte; }