version 1.6, 2000/11/21 18:42:47
|
version 1.7, 2001/07/11 23:00:57
|
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("<endtextarea></endtextarea>\n"); break; |
case MODE_OUTTEXT: send("<endouttext />\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("<starttextarea></starttextarea>\n"); break; |
case MODE_OUTTEXT: send("<startouttext />\n"); break; |
case MODE_ANSWER: send("<answergroup>\n"); break; |
case MODE_ANSWER: send("<answergroup>\n"); break; |
case MODE_NONE: break; |
case MODE_NONE: break; |
} |
} |