<{if $localcss}> <{/if}>

<{if $edit.catid}> <{$smarty.const._MD_CATEGORY_EDIT}> <{else}> <{$smarty.const._MD_CATEGORY_NEW}> <{/if}>

<{$smarty.const._MD_CATEGORY_NAME}>
<{$smarty.const._MD_CATEGORY_DESC}>

<{if $categories}>

<{$smarty.const._MD_CATEGORY_LIST}>

<{foreach from=$categories item=cat}> <{$cat.class}>"> <{/foreach}>
<{$smarty.const._MD_LOGTICK_CATEGORY}> <{$smarty.const._MD_CATEGORY_DESC}> <{$smarty.const._MD_OPERATION}>
<{$cat.cname}> <{$cat.description}> <{if $cat.cuid == $uid}> <{$smarty.const._EDIT}> <{/if}>
<{/if}> <{if $restcats}>

<{$smarty.const._MD_CATEGORY_REST}>

<{foreach from=$restcats item=cat}>
<{$cat.cname}>
<{/foreach}>
<{/if}>