w_en_tete($this->titre, $this->description); // En-tĂȘte standard. $d->article()->w_liste($this->enfants(true, "-date_creation"), create_function('$e, $li', ' $li->a($e->cible)->text($e->texte); ')); return $d; } } class mLiensLien extends mPage { public static function info($module) { Module::attribut("texte", "text_line", "Texte du lien"); Module::attribut("cible", "text_rich", "http://www.example.com/"); } } Module::add_module("mLiens"); Module::add_module("mLiensLien"); ?>