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