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