{literal} {/literal} {if $smarty.get.cat == 'edit'} {else} {/if} {if $result != ""} {/if}
{t}Manage Priorities{/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 priority.{/t} {elseif $result == -2} {t}Please enter the title for this new priority.{/t} {elseif $result == 1} {t}Thank you, the priority was added successfully.{/t} {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} {t}An error occurred while trying to update the priority information.{/t} {elseif $result == -2} {t}Please enter the title for this priority.{/t} {elseif $result == 1} {t}Thank you, the priority was updated successfully.{/t} {/if} {/if}
{t}Title{/t}: * {include file="error_icon.tpl.html" field="title"}
{t}Rank{/t}: * {include file="error_icon.tpl.html" field="rank"}
{if $smarty.get.cat == 'edit'} {else} {/if}
{t}Existing Priorities{/t}:
{literal} {/literal} {section name="i" loop=$list} {cycle values=$cycle assign="row_color"} {sectionelse} {/section}
 {t}Rank{/t}   {t}Title{/t}
{$list[i].pri_rank}  {$list[i].pri_title}
{t}No priorities could be found.{/t}