예제 #1
0
파일: authors.inc.php 프로젝트: hogsim/PMB
        break;
    case 'author_form':
        // création/modification d'un responsable
        if (!$id) {
            $auteur = new auteur();
        } else {
            $auteur = new auteur($id);
        }
        // affichage du form pour modification
        $auteur->show_form($type_autorite);
        break;
    case 'author_last':
        $last_param = 1;
        $tri_param = "order by author_id desc ";
        $limit_param = "limit 0, {$pmb_nb_lastautorities} ";
        $clef = "";
        $nbr_lignes = 0;
        include './autorites/authors/authors_list.inc.php';
        break;
    case 'duplicate':
        $auteur = new auteur($id);
        $auteur->id = 0;
        $auteur->duplicate_from_id = $id;
        $auteur->type = $type_autorite;
        $auteur->show_form($type_autorite);
        break;
    default:
        // affichage du début de la liste
        include './autorites/authors/authors_list.inc.php';
        break;
}