{* DO NOT EDIT THIS FILE! Use an override template instead. *}
{section show=$validation_error}
<div class="message-error">
<h2><span class="time">[{currentdate()|l10n( shortdatetime )}]</span> {'Input did not validate'|i18n( 'design/admin/settings' )}</h2>
    {switch match=$validation_error_type}
    {case match='empty'}
        <p>{'%valfield is empty'|i18n( 'design/admin/settings',, hash( '%valfield', $validation_field ) )}</p>
    {/case}
    {case match='variable_exists'}
        <p>{'Variable %valfield already exists in section %block'|i18n( 'design/admin/settings',, hash( '%valfield', $validation_field, '%block', $block ) )|wash}</p>
        <p>{'Please choose another name that is not already taken'|i18n( 'design/admin/settings' )}</p>
    {/case}
    {case match='contain_spaces'}
        <p>{'%valfield is not allowed to contain spaces'|i18n( 'design/admin/settings' ,, hash( '%valfield', $validation_field ) )|wash}</p>
    {/case}
    {case match='write_error'}
        <p>{'Writing setting: %setting_name to file: %filename failed.'|i18n( 'design/admin/settings',, hash( '%setting_name', $setting_name, '%filename', $filename ) )|wash}</p>
        <p>{'Make sure you have proper permissions to %path and try again.'|i18n( 'design/admin/settings',, hash( '%path', $path) )|wash}</p>
    {/case}
    {case match='not_valid_name'}
        <p>{'Name contains illegal character(s).'|i18n( 'design/admin/settings' )} </p>
        <p>{'Name should only contain A-Z and 0-9.'|i18n( 'design/admin/settings' )}</p>
    {/case}
    {case match='not_string'}
        <p>{'%valfield does not contain a valid string.'|i18n( 'design/admin/settings',, hash( '%valfield', $validation_field ) )|wash} </p>
        <p>{'If the string is all numbers use the numeric type instead.'|i18n( 'design/admin/settings' )}</p>
    {/case}
    {case match='not_numeric'}
        <p>{'%valfield does not contain a valid numeric'|i18n( 'design/admin/settings',, hash( '%valfield', $validation_field ) )|wash}</p>
        <p>{'A valid numeric can only contain 0-9 and one . (dot). '|i18n( 'design/admin/settings' )|wash}</p>
    {/case}
    {case match='not_array'}
        <p>{'$valfield does not contain valid array.'|i18n( 'design/admin/settings',, hash( '%valfield', $validation_field ) )|wash}</p>
    {/case}
    {case}
        <p>{$validation_error_message}</p>
    {/case}
    {/switch}
</div>
{/section}
