fonction find_in_path_plugin
Le code http://trac.rezo.net/trac/spip-zone/browser/plugins/dev/css_petits_ecrans/css_petits_ecrans_pipelines.php?rev=26500#L7 pour trouver le chemin d'un fichier d'un plugin me semble un peu gros (« _DIR_PLUGINS.end(explode(basename(_DIR_PLUGINS)."/",str_replace('\','/',realpath(dirname(+FILE+))))) »). Ne serait-il pas possible de faire, sur le modèle de "#CHEMIN":http://www.spip.net/fr_article1902.html#CHEMIN et surtout "find_in_path()":http://doc.spip.org/`find_in_path, une fonction dans le genre find_in_path_plugin("id-plugin", "nom-fichier") qui renvoie le chemin du fichier nom-fichier dans l'arborescence du plugin id-plugin ?
("Nicolas Krebs":http://www.spip-contrib.net/Nicolas-Krebs)