{literal} {/literal}
{if $smarty.get.cat == 'edit'} {else} {/if} {if $result != ""} {/if}
{t}Manage Link Filters{/t} {include file="help_link.tpl.html" topic="link_filters"}
{if $smarty.post.cat == "new"} {if $result == -1} {t}An error occurred while trying to add the new link filter.{/t} {elseif $result == 1} {t}Thank you, the link filter was added successfully.{/t} {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} {t}An error occurred while trying to update the link filter.{/t} {elseif $result == 1} {t}Thank you, the link filter was updated successfully.{/t} {/if} {elseif $smarty.post.cat == "delete"} {if $result == -1} {t}An error occurred while trying to delete the link filter.{/t} {elseif $result == 1} {t}Thank you, the link filter was deleted successfully.{/t} {/if} {/if}
{t}Pattern{/t}: * {include file="error_icon.tpl.html" field="pattern"}
{t}Replacement{/t}: * {include file="error_icon.tpl.html" field="replacement"}
{t}Description{/t}: {include file="error_icon.tpl.html" field="description"}
{t}Assigned Projects{/t}: * {include file="error_icon.tpl.html" field="projects[]"}
{t}Minimum User Role{/t}: * {include file="error_icon.tpl.html" field="usr_role"}
{if $smarty.get.cat == 'edit'} {else} {/if}
{t}Existing Link Filters{/t}
{section name="i" loop=$list} {cycle values=$cycle assign="row_color"} {sectionelse} {/section}
 {t}Pattern{/t}  {t}Replacement{/t}  {t}Description{/t}  {t}Minimum Role{/t}  {t}Projects{/t}
 {$list[i].lfi_pattern|escape:"html"}  {$list[i].lfi_replacement|escape:"html"}  {$list[i].lfi_description}  {$list[i].min_usr_role_name}  {", "|join:$list[i].project_names}
{t}No link filters could be found.{/t}