{literal} {/literal} {if $smarty.get.cat == 'edit'} {else} {/if} {if $result != ""} {/if}
{t}Manage Categories{/t} ({t}Current Project{/t}: {$project.prj_title})
{if $smarty.post.cat == "new"} {if $result == -1} {t}An error occurred while trying to add the new category.{/t} {elseif $result == -2} {t}Please enter the title for this new category.{/t} {elseif $result == 1} {t}Thank you, the category was added successfully.{/t} {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} {t}An error occurred while trying to update the category information.{/t} {elseif $result == -2} {t}Please enter the title for this category.{/t} {elseif $result == 1} {t}Thank you, the 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].prc_title}
{t}No categories could be found.{/t}