$coll = array('name' => $collection_nom, 'parent' => $ed_id, 'collection_web' => $collection_web, 'issn' => $issn, 'comment' => $comment); $collection = new collection($id); $collection->update($coll); include './autorites/collections/collections_list.inc.php'; } break; case 'collection_form': // création d'une collection if (!$id) { // affichage du form pour création $collection = new collection(); $collection->show_form(); } else { // affichage du form pour modification $collection = new collection($id); $collection->show_form(); } break; case 'collection_last': $last_param = 1; $tri_param = "order by collection_id desc "; $limit_param = "limit 0, {$pmb_nb_lastautorities} "; $clef = ""; $nbr_lignes = 0; include './autorites/collections/collections_list.inc.php'; break; default: // affichage du form de recherche (par défaut) include './autorites/collections/collections_list.inc.php'; break; }