<mt:var name="error_page" value="1">
<mt:setvarblock name="page_title"><__trans phrase="Movable Type"></mt:setvarblock>
<mt:include name="include/chromeless_header.tmpl">

        <mt:if name="error_config_file">
        <h2><__trans phrase="Missing Configuration File"></h2>

        <p><__trans phrase="_ERROR_CONFIG_FILE"></p>
        <mt:else>
        <mt:if name="error_database_connection">
        <h2><__trans phrase="Database Connection Error"></h2>

        <p><__trans phrase="_ERROR_DATABASE_CONNECTION"></p>
        <mt:else>
        <mt:if name="error_cgi_path">
        <h2><__trans phrase="CGI Path Configuration Required"></h2>

        <p><__trans phrase="_ERROR_CGI_PATH"></p>
        <mt:else>

        <h2><__trans phrase="An error occurred"></h2>

        <mtapp:statusmsg
            id="generic-error"
            class="error">
            <mt:var name="error">
        </mtapp:statusmsg>

        </mt:if>
        </mt:if>
        </mt:if>

<mt:include name="include/chromeless_footer.tmpl">
