{literal} {/literal} {if $smarty.get.cat == 'edit'} {else} {/if} {if $result != ""} {/if}
{t}Manage Canned Email Responses{/t}
{if $smarty.post.cat == "new"} {if $result == -1} {t}An error occurred while trying to add the new email response.{/t} {elseif $result == -2} {t}Please enter the title for this new email response.{/t} {elseif $result == 1} {t}Thank you, the email response was added successfully.{/t} {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} {t}An error occurred while trying to update the email response information.{/t} {elseif $result == -2} {t}Please enter the title for this email response.{/t} {elseif $result == 1} {t}Thank you, the email response was updated successfully.{/t} {/if} {/if}
{t}Projects:{/t} {include file="error_icon.tpl.html" field="projects[]"}
{t}Title:{/t} {include file="error_icon.tpl.html" field="title"}
{t}Response Body:{/t} {include file="error_icon.tpl.html" field="response_body"}
{if $smarty.get.cat == 'edit'} {else} {/if}
{t}Existing Canned Email Responses:{/t}
{literal} {/literal} {section name="i" loop=$list} {cycle values=$cycle assign="row_color"} {sectionelse} {/section}
 {t}Title{/t}  {t}Projects{/t}
 {$list[i].ere_title}  {$list[i].projects|escape:"html"}
{t}No canned email responses could be found.{/t}