root/branches/release-27/tmpl/cms/restore.tmpl @ 1212

Revision 1212, 3.0 kB (checked in by bsmith, 23 months ago)

bugzid:64263 - moving status messaging above title for consistency across app

Line 
1<mt:setvarblock name="page_title"><__trans phrase="Restore from a Backup"></mt:setvarblock>
2<$mt:setvar name="position_actions_bottom" value="1"$>
3<mt:setvar name="restore" value="1">
4<MTSetVarBlock name="content_nav">
5    <mt:include name="include/tools_content_nav.tmpl">
6</MTSetVarBlock>
7
8<mt:include name="include/header.tmpl">
9
10<mt:if name="error">
11    <mtapp:statusmsg
12        id="generic-error"
13        class="error">
14        <mt:var name="error">
15    </mtapp:statusmsg>
16</mt:if>
17
18<div id="restore-panel">
19    <mt:if name="missing_sax">
20        <mtapp:statusmsg
21            id="missing-sax"
22            class="error">
23            <__trans phrase="Perl module XML::SAX and/or its dependencies are missing - Movable Type can not restore the system without it.">
24        </mtapp:statusmsg>
25    <mt:else>
26    <form method="post" enctype="multipart/form-data" action="<mt:var name="script_url">">
27        <input type="hidden" name="__mode" value="restore" />
28        <input type="hidden" name="magic_token" value="<mt:var name="magic_token">" />
29        <mtapp:setting
30            id="file"
31            label="<__trans phrase="Backup file">"
32            hint="<__trans phrase="If your backup file is located on your computer, you can upload it here.  Otherwise, Movable Type will automatically look in the 'import' folder of your Movable Type directory.">"
33            help_page="backup_restore"
34            help_section="source_file">
35                <input name="file" type="file" size="50" />
36        </mtapp:setting>
37        <mtapp:setting
38            id="ignore_schema_conflict"
39            label="<__trans phrase="Options">"
40            show_label="0"
41            hint="<__trans phrase="Check this and files backed up from newer versions can be restored to this system.  NOTE: Ignoring Schema Version can damage Movable Type permanently.">">
42                <input name="ignore_schema_conflict" id="ignore_schema_conflict" type="checkbox" />
43                <label for="ignore_schema_conflict"><__trans phrase="Ignore schema version conflicts"></label>
44        </mtapp:setting>
45        <mtapp:setting
46            id="overwrite_global_templates"
47            label="<__trans phrase="Options">"
48            show_label="0"
49            hint="<__trans phrase="Check this and existing global templates will be overwritten from the backup file.">">
50                <input name="overwrite_global_templates" id="overwrite_global_templates" type="checkbox" />
51                <label for="overwrite_global_templates"><__trans phrase="Overwrite global templates."></label>
52        </mtapp:setting>
53        <mt:setvarblock name="action_buttons">
54            <button
55                type="submit"
56                accesskey="r"
57                title="<__trans phrase="Restore (r)">"
58                class="primary-button"
59                ><__trans phrase="Restore"></button>
60        </mt:setvarblock>
61        <mt:include name="include/actions_bar.tmpl" bar_position="bottom" hide_pager="1" settings_bar="1">
62    </form>
63    </mt:if>
64</div>
65<mt:include name="include/footer.tmpl">
Note: See TracBrowser for help on using the browser.