{if $formSubmitted}
{if $submitResult.mode == 'optimize'} {foreach from=$submitResult.message item=table} {"Optimize '%s': %s"|i18n:$table.Table:$table.Msg_text}
{/foreach} {elseif $submitResult.mode == 'repair'} {foreach from=$submitResult.message item=table} {"Repair '%s': %s"|i18n:$table.Table:$table.Msg_text}
{/foreach} {elseif $submitResult.mode == 'backup_textbox'} {"Backup Complete"|i18n} {elseif $submitResult.mode == 'clean'} {"Database has been cleaned."|i18n} {/if}
{/if}

{"Database Utilities"|i18n}

{"Database Repair/Optimization"|i18n}
{if $admin.brand_demo} {"Disabled in demo"|i18n} {else}
{/if}
{if $admin.brand_demo} {"Disabled in demo"|i18n} {else}
{/if}


{"Database Backup"|i18n}

{if $admin.brand_demo} {"Disabled in demo"|i18n} {else} {/if}

{if $admin.brand_demo} {"Disabled in demo"|i18n} {else} {/if}

{if $formSubmitted && $submitResult.mode == 'backup_textbox'}
{/if}
 
{"Database Cleaning"|i18n}

{"Warning - Do not run any of these utilities unless you are sure you know what they will do. All of these utilities remove / delete portions of your database and the information is not recoverable."|i18n}


{if $admin.brand_demo} {"Disabled in demo"|i18n} {else} {/if}

{"This will delete all statistics for all lists. Including read/open, bounce, and link tracking stats."|i18n}

{if $admin.brand_demo} {"Disabled in demo"|i18n} {else} {/if}

{"This will delete all messages for all lists. Which includes the messages and stats."|i18n}

{if $admin.brand_demo} {"Disabled in demo"|i18n} {else} {/if}

{"This will delete all subscribers from all lists. Including subscriber fields data."|i18n}

{if $admin.brand_demo} {"Disabled in demo"|i18n} {else} {/if}

{"This will delete all of the subscriber fields and subscriber fields data."|i18n}
{if $formSubmitted && $submitResult.mode == 'backup_textbox'}
{/if}