{literal} {/literal} {if $smarty.get.cat == 'edit'} {else} {/if} {if $result != ""} {/if}
{t}Manage Time Tracking Categories{/t}
{if $smarty.post.cat == "new"} {if $result == -1} {t}An error occurred while trying to add the new time tracking category.{/t} {elseif $result == -2} {t}Please enter the title for this new time tracking category.{/t} {elseif $result == 1} {t}Thank you, the time tracking category was added successfully.{/t} {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} {t}An error occurred while trying to update the time tracking category information.{/t} {elseif $result == -2} {t}Please enter the title for this time tracking category.{/t} {elseif $result == 1} {t}Thank you, the time tracking category was updated successfully.{/t} {/if} {/if}
{t}Title:{/t} {include file="error_icon.tpl.html" field="title"}
{if $smarty.get.cat == 'edit'} {else} {/if}
{t}Existing Categories:{/t}
{literal} {/literal} {section name="i" loop=$list} {cycle values=$cycle assign="row_color"} {sectionelse} {/section}
 {t}Title{/t}
 {$list[i].ttc_title}
{t}No time tracking categories could be found.{/t}

{t}Note{/t}: {t}'Note Discussion', 'Email Discussion' and 'Telephone Discussion' categories are required by Eventum and cannot be deleted.{/t}