version 1.5, 2000/10/25 20:25:09
|
version 1.6, 2000/11/21 18:42:47
|
Line 263 void end_mode()
|
Line 263 void end_mode()
|
case MODE_COMMENT: send("</comment>\n"); break; |
case MODE_COMMENT: send("</comment>\n"); break; |
case MODE_BLOCK: send("</block>\n"); break; |
case MODE_BLOCK: send("</block>\n"); break; |
case MODE_SCRIPT: send("</script>\n"); break; |
case MODE_SCRIPT: send("</script>\n"); break; |
case MODE_OUTTEXT: send("</outtext>\n"); break; |
case MODE_OUTTEXT: send("<endtextarea></endtextarea>\n"); break; |
case MODE_ANSWER: send("</answergroup>\n"); break; |
case MODE_ANSWER: send("</answergroup>\n"); break; |
case MODE_NONE: break; |
case MODE_NONE: break; |
} |
} |
Line 278 void start_mode(int newmode,char* args)
|
Line 278 void start_mode(int newmode,char* args)
|
case MODE_COMMENT: send("<comment>\n"); break; |
case MODE_COMMENT: send("<comment>\n"); break; |
case MODE_BLOCK: send("<block %s>\n",args); break; |
case MODE_BLOCK: send("<block %s>\n",args); break; |
case MODE_SCRIPT: send("<script type=\"loncapa/perl\">\n"); break; |
case MODE_SCRIPT: send("<script type=\"loncapa/perl\">\n"); break; |
case MODE_OUTTEXT: send("<outtext>\n"); break; |
case MODE_OUTTEXT: send("<starttextarea></starttextarea>\n"); break; |
case MODE_ANSWER: send("<answergroup>\n"); break; |
case MODE_ANSWER: send("<answergroup>\n"); break; |
case MODE_NONE: break; |
case MODE_NONE: break; |
} |
} |