{config_load file="fmanagment_$interface_lang.conf"} {#folder_mgmt#}
{include file="folders.html"} 
{#welcome#} {$user}

{if not $action} {if $folders} {foreach from=$folders item=item name=name} {/foreach} {/if}
{#folder_mgmt#}
 
{#add_new_folder#}
 
{if $item.name|lower eq 'inbox'}{$item.name|capitalize}{else}{$item.name|lower|replace:"inbox.":""|capitalize}{/if} {if $item.name|lower neq 'inbox' and $item.name|lower neq 'inbox.sent' and $item.name|lower neq 'inbox.draft' and $item.name|lower neq 'inbox.trash'} {#edit#}  {#delete#} {/if}
{/if} {if ($action eq 'edit') or ($action eq 'add')} {literal} {/literal}
{#folder_mgmt#}
 
{if $action eq 'edit'}{#edit_folder#}{/if}{if $action eq 'add'}{#add_new_folder#}{/if}
{#folder_name#}:
{/if}