{literal}
{/literal} {if $smarty.get.cat == 'edit'} {else} {/if}
{t}Manage News{/t}
{if $result != ""}

{if $smarty.post.cat == "new"} {if $result == -1} {t}An error occurred while trying to add the news entry.{/t} {elseif $result == -2} {t}Please enter the title for this news entry.{/t} {elseif $result == -3} {t}Please enter the message for this news entry.{/t} {elseif $result == 1} {t}Thank you, the news entry was added successfully.{/t} {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} {t}An error occurred while trying to update the news entry information.{/t} {elseif $result == -2} {t}Please enter the title for this news entry.{/t} {elseif $result == -3} {t}Please enter the message for this news entry.{/t} {elseif $result == 1} {t}Thank you, the news entry was updated successfully.{/t} {/if} {/if}

{/if}
{t}Assigned Projects{/t}: | {include file="error_icon.tpl.html" field="projects[]"}
{t}Status{/t}: |
{t}Title{/t}: | {include file="error_icon.tpl.html" field="title"}
{t}Message{/t}: | {$info.nws_message|escape:"html"} {include file="error_icon.tpl.html" field="message"}
{if $smarty.get.cat == 'edit'} {else} {/if}
{t}Existing News Entries{/t}:

{literal}
{/literal}

| {t}Title{/t} | {t}Projects{/t} | {t}Status{/t}
{section name="i" loop=$list} {cycle values=$cycle assign="row_color"}
| {$list[i].nws_title} | {$list[i].projects|escape:"html"} | {$list[i].nws_status|escape:"html"}
{sectionelse}
{t}No news entries could be found.{/t}
{/section}