<{if $op=="edit_form"}> <{$formValidator_code}>

<{$smarty.const._MD_TCW_HOMEWORK_ADD}>

<{$cate_menu_form}>
<{if $HomeworkContent_editor}>
<{$HomeworkContent_editor}>
<{else}>
<{$HomeworkContent_editor1}>
<{$HomeworkContent_editor2}>
<{$HomeworkContent_editor3}>
<{$HomeworkContent_editor4}>
<{/if}>
<{$upform}>
<{elseif $op=="show_one"}> <{if $isMyWeb}> <{$sweet_delete_homework_func_code}> <{/if}>

<{$HomeworkTitle}>

<{if $HomeworkContent}> <{$HomeworkContent}> <{else}>
<{if $today_homework}>
<{$smarty.const._MD_TCW_HOMEWORK_TODAY_WORK}>
<{$today_homework}>
<{/if}> <{if $bring}>
<{$smarty.const._MD_TCW_HOMEWORK_BRING}>
<{$bring}>
<{/if}> <{if $teacher_say}>
<{$smarty.const._MD_TCW_HOMEWORK_TEACHER_SAY}>
<{$teacher_say}>
<{/if}>
<{if $other}>
<{$other}>
<{/if}> <{/if}>
<{if $HomeworkFiles}> <{$HomeworkFiles}> <{/if}> <{$fb_comments}> <{if $isMyWeb or $isAssistant}>
<{$smarty.const._TAD_DEL}><{$smarty.const._MD_TCW_HOMEWORK_SHORT}> <{$smarty.const._MD_TCW_ADD}><{$smarty.const._MD_TCW_HOMEWORK_SHORT}> <{$smarty.const._TAD_EDIT}><{$smarty.const._MD_TCW_HOMEWORK_SHORT}>
<{/if}> <{elseif $homework_data or $yet_data}> <{if $WebID}> <{$cate_menu}> <{/if}> <{$FooTableJS}> <{includeq file="$xoops_rootpath/modules/tad_web/plugins/homework/tpls/tad_web_common_homework_b3.html"}>
<{includeq file="$xoops_rootpath/modules/tad_web/plugins/calendar/tpls/tad_web_common_calendar_b3.html"}> <{elseif $op=="setup"}> <{includeq file="$xoops_rootpath/modules/tad_web/templates/tad_web_plugin_setup_b3.html"}> <{else}>

<{$homework.PluginTitle}>

<{if $isMyWeb or $isAssistant}> <{$smarty.const._MD_TCW_ADD}><{$smarty.const._MD_TCW_HOMEWORK_SHORT}> <{else}>
<{$smarty.const._MD_TCW_EMPTY}>
<{/if}> <{/if}>