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