File: error.tmpl

package info (click to toggle)
movabletype-opensource 4.2.3-1%2Blenny3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 21,268 kB
  • ctags: 15,862
  • sloc: perl: 178,892; php: 26,178; sh: 161; makefile: 82
file content (33 lines) | stat: -rw-r--r-- 1,029 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<mt:var name="error_page" value="1">
<mt:setvarblock name="page_title"><__trans phrase="Movable Type"></mt:setvarblock>
<mt:include name="cms/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="../cms/include/chromeless_footer.tmpl">