<{if $op=="tad_cal_cate_form"}>

<{$smarty.const._MA_TADCAL_CATE_FORM}>

<{$formValidator_code}>
<{$enable_group}>
<{$enable_upload_group}>
<{if $cate_handle}>
<{$smarty.const._MA_TADCAL_GOOGLE_ID_NOTE}>
<{/if}>
<{elseif $op=="link_to_google"}>

<{$smarty.const._MA_TADCAL_CATE_GFORM}>

<{if $all}>
<{foreach item=cal from=$all}> <{if $cal.in_array}> <{else}> <{/if}> <{/foreach}>
<{$smarty.const._MA_TADCAL_CATE_GTITLE}><{$smarty.const._MA_TADCAL_CATE_GNUM}>
<{$smarty.const._MA_TADCAL_GOOGLE_EXIST}> <{$cal.cate_handle}><{$cal.cate_title}> <{$cal.totalResults}>
<{$cal.totalResults}>
<{/if}> <{elseif $op=="tad_cal_add_gcal_form"}> <{if !$curl_init}>
<{$smarty.const._MA_TADCAL_CURL_NEED}>
<{else}>
<{$smarty.const._MA_TADCAL_GOOGLE_ID}> <{$smarty.const._MA_TADCAL_GOOGLE_ID_NOTE}>
<{$smarty.const._MA_TADCAL_GOOGLE_PASS}>
<{/if}> <{else}> <{if $all_content==""}> <{$smarty.const._TAD_ADD_CAL}><{$smarty.const._TAD_ADD_CAL}> <{$smarty.const._TAD_ADD_GOOGLE}><{$smarty.const._TAD_ADD_GOOGLE}> <{else}> <{$jquery}> <{foreach item=cal from=$all_content}> <{/foreach}>
<{$smarty.const._MA_TADCAL_CATE_TITLE}> <{$smarty.const._MA_TADCAL_CATE_EVENTS_AMOUNT}> <{$smarty.const._MA_TADCAL_CATE_ENABLE}> <{$smarty.const._MA_TADCAL_ENABLE_GROUP}> <{$smarty.const._MA_TADCAL_ENABLE_UPLOAD_GROUP}> <{$smarty.const._MA_TADCAL_LAST_UPDATE}> <{$smarty.const._TAD_FUNCTION}>
<{if $cate_handle==""}> <{$cal.cate_title}> <{else}> <{$cal.cate_handle}> <{/if}> <{$cal.cate_title}> <{$cal.counter}> <{$cal.enable}> <{$cal.g_txt}> <{$cal.gu_txt}> <{$cal.last}> <{$smarty.const._TAD_DEL}> <{$smarty.const._TAD_EDIT}><{$smarty.const._TAD_EDIT}> <{if $cate_handle!=""}> <{$smarty.const._MA_TADCAL_GOOGLE_IMPORT}><{$smarty.const._MA_TADCAL_GOOGLE_IMPORT}> <{/if}>
<{$smarty.const._TAD_ADD_CAL}><{$smarty.const._TAD_ADD_CAL}> <{$smarty.const._MA_TADCAL_ALL_SYNC}><{$smarty.const._MA_TADCAL_ALL_SYNC}> <{$smarty.const._TAD_ADD_GOOGLE}><{$smarty.const._TAD_ADD_GOOGLE}> <{$bar}>
<{/if}> <{/if}>