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

# <{$smarty.const._MD_TCW_SCHEDULE_ADD}>

<{$cate_menu_form}>
<{$smarty.const._MD_TCW_SCHEDULENAME}>
<{if $ScheduleID}>

<{foreach from=$schedule_subjects item=subject}>
- <{$subject.Subject}>
<{/foreach}>
- <{$smarty.const._MD_TCW_SCHEDULE_BLANK}>

<{$smarty.const._MD_TCW_SCHEDULE_SETUP_SUBJECT}>
<{$schedule_template}>
<{/if}>
checked<{/if}>> <{$smarty.const._MD_TCW_SCHEDULE_SET_DEFAULT}><{$smarty.const._MD_TCW_SCHEDULE_SET_DEFAULT_DESC}>
<{elseif $op=="show_one"}> <{if $isMyWeb}> <{$sweet_delete_schedule_func_code}> <{/if}>

# <{$ScheduleName}>

<{$schedule_template}>
<{if $isMyWeb}> <{$smarty.const._TAD_DEL}><{$smarty.const._MD_TCW_SCHEDULE_SHORT}> <{$smarty.const._MD_TCW_ADD}><{$smarty.const._MD_TCW_SCHEDULE_SHORT}> <{$smarty.const._TAD_EDIT}><{$smarty.const._MD_TCW_SCHEDULE_SHORT}> <{/if}> <{$smarty.const._MD_TCW_SCHEDULE_PDF}>
<{elseif $op=="setup_subject"}>

# <{$smarty.const._MD_TCW_SCHEDULE_SETUP_SUBJECT}>

<{$mColorPicker_code}>

<{$smarty.const._MD_TCW_SCHEDULE_DEMO}> | <{$smarty.const._MD_TCW_SCHEDULE_SUBJECT_TITLE}> | <{$smarty.const._MD_TCW_SCHEDULE_TEACHER_NAME}> | <{$smarty.const._MD_TCW_SCHEDULE_COLOR}> | <{$smarty.const._MD_TCW_SCHEDULE_BGCOLOR}>
--- | --- | --- | --- | ---
<{foreach from=$schedule_subjects_arr key=i item=subject}>
| <{$subject.Subject}> <{$subject.Teacher}> |  |  |  |
<{/foreach}>

<{$smarty.const._MD_TCW_SCHEDULE_ADD_ITEM}>
<{elseif $schedule_data}> <{$cate_menu}> <{$FooTableJS}>
<{includeq file="$xoops_rootpath/modules/tad_web/plugins/schedule/tpls/tad_web_common_schedule_b3.html"}>
<{elseif $op=="setup"}> <{includeq file="$xoops_rootpath/modules/tad_web/templates/tad_web_plugin_setup_b3.html"}> <{else}>

# <{$schedule.PluginTitle}>

<{if $isMyWeb and $WebID}> <{$smarty.const._MD_TCW_ADD}><{$smarty.const._MD_TCW_SCHEDULE_SHORT}> <{else}>
<{/if}> <{/if}>