234)); $return = array( // html $n->formulaire( // champs et attributs propres array( 'descriptif' => array('type' => 'texte', 'attrs' => array( 'style' => 'height:' . ceil($n->hauteur*2/13) . 'px;' . 'width:' . $n->largeur . 'px;')), 'chapo' => array('type' => 'texte', 'attrs' => array( 'style' => 'height:' . ceil($n->hauteur*4/13) . 'px;' . 'width:' . $n->largeur . 'px;')), 'texte' => array('type' => 'texte', 'attrs' => array( 'style' => 'height:' . ceil($n->hauteur*4/13) . 'px;' . 'width:' . $n->largeur . 'px;'))) //, // attributs communs :( marche pas pour style , pas 2 fois ? // array('style' => 'width:' . $n->largeur . 'px;') ), // status null); return $return; } ?>