--- capa/capa51/pProj/capaCgiUtils.c 1999/09/28 21:26:20 1.1 +++ capa/capa51/pProj/capaCgiUtils.c 1999/10/13 18:45:28 1.2 @@ -1067,7 +1067,7 @@ print_mainmenu(class,sn,pin)char *class; void print_page_header(mode,num_quest) int mode;int num_quest; { - char buf[MAX_BUFFER_SIZE]; + char buf[MAX_BUFFER_SIZE], discussdir[MAX_BUFFER_SIZE]; char *serverName; int configResult,term_summary_button=1; @@ -1206,6 +1206,20 @@ print_page_header(mode,num_quest) int mo fprintf(stdout,""); } + /*Discuss Button*/ + + sprintf(discussdir,"%s/discussion/%d",g_class_fullpath,g_login_set); + if ( access(discussdir,F_OK) == 0 ) { + fprintf(stdout,"