' . 'tâche' . '

' . $donnees . '

'; } function tache_base($tags, $nom_resultat) { $donnees = $tags[$nom_resultat]; $donnees = preg_replace('/{{{TACHE:(.*)}}}/Ume', "'$1')", $donnees); $donnees = preg_replace('/(.*)<\/tache>/Use', "taches_formater_tache_inline(unquote('$1'))", $donnees); $donnees = preg_replace('/

\s*<\/p>/m', '', $donnees); $tags[$nom_resultat] = $donnees; return $tags; } function tache_typedoc_tache($tags, $nom_resultat) { $donnees = $tags[$nom_resultat]; $tags["logo"] = "tache.png"; $tags["niveau entetes"] = 1; $tags["titre"] = preg_find_delete("|^=\s*(.*?)\s*=$|m", $donnees, 0, 1, 1); $dependances = preg_find_delete("|^(.*?)$|m", $donnees, NULL, 1); $dependances = preg_replace("|^.*$|e", "'$0')", $dependances); $tags["dependances"] = implode(", ", $dependances); $tags[$nom_resultat] = $donnees; return $tags; } enregisterPlugin("tache"); ?>