root/branches/release-39/tmpl/wizard/packages.tmpl @ 2484

Revision 2484, 5.5 kB (checked in by bsmith, 18 months ago)

bugzid:79490 - Fixing Config Wizard js errors on mail settings screen

Line 
1<mt:setvarblock name="page_title"><__trans phrase="Requirements Check"></mt:setvarblock> 
2
3<mt:include name="../cms/include/chromeless_header.tmpl">
4
5<script type="text/javascript">
6/* <![CDATA[ */
7function go(mode) {
8    var f = document.forms[0];
9    f['__mode'].value = mode;
10}
11
12function toggleList() {
13    var list = getByID('package-list');
14    var list_msg = getByID('package-list-msg');
15    if (list) {
16        if (list.style.display == 'none') {
17            list.style.display = 'block';
18            list_msg.style.display = 'none';
19        } else {
20            list.style.display = 'none';
21            list_msg.style.display = 'block';
22        }
23    }
24    var bttns = getByID('buttons');
25    if (bttns) {
26        if (bttns.style.display == 'none')
27            bttns.style.display = 'block';
28        else
29            bttns.style.display = 'none';
30    }
31    var more = getByID('show-more');
32    if (more) {
33        if (more.style.display == 'none')
34            more.style.display = 'block';
35        else
36            more.style.display = 'none';
37    }
38}
39/* ]]> */
40</script>
41
42<form method="post">
43<input type="hidden" name="__mode" value="" />
44<input type="hidden" name="step" value="start" />
45<input type="hidden" name="config" value="<$mt:var name="config" escape="html"$>" />
46<input type="hidden" name="set_static_uri_to" value="<mt:var name="static_uri">" />
47
48<mt:if name="missing_db">
49    <mtapp:statusmsg
50        id="missing_db"
51        class="error">
52        <__trans phrase="The following Perl modules are required in order to make a database connection.  Movable Type requires a database in order to store your blog's data.  Please install one of the packages listed here in order to proceed.  When you are ready, click the 'Retry' button.">
53    </mtapp:statusmsg>
54</mt:if>
55<mt:if name="optional">
56<p class="intro"><span class="ready"><__trans phrase="All required Perl modules were found."></span> <__trans phrase="You are ready to proceed with the installation of Movable Type."></p>
57<div class="right pkg">
58   <input name="continue" type="submit" class="sb" value="<__trans phrase="Continue">" onclick="go('next_step');" />
59</div>
60<p id="package-list-msg" class="note"><__trans phrase="Some optional Perl modules could not be found. <a href="javascript:void(0)" onclick="[_1]">Display list of optional modules</a>" params="toggleList()"></p>
61</mt:if>
62<mt:if name="required">
63    <mtapp:statusmsg
64        id="required"
65        class="error">
66        <__trans phrase="One or more Perl modules required by Movable Type could not be found.">
67    </mtapp:statusmsg>
68    <p><__trans phrase="The following Perl modules are required for Movable Type to run properly. Once you have met these requirements, click the 'Retry' button to re-test for these packages."></p>
69</mt:if>
70
71<mt:if name="optional">
72<div id="package-list" style="display: none">
73</mt:if>
74
75    <p class="note"><__trans phrase="Some optional Perl modules could not be found. You may continue without installing these optional Perl modules. They may be installed at any time if they are needed. Click 'Retry' to test for the modules again."></p>
76
77<mt:if name="missing_db">
78    <mtapp:statusmsg
79        id="missing_db"
80        class="error"
81        can_close="0">
82        <__trans phrase="Missing Database Modules">
83    </mtapp:statusmsg>
84</mt:if>
85<mt:if name="optional">
86    <mtapp:statusmsg
87        id="optional"
88        class="info"
89        can_close="0">
90        <__trans phrase="Missing Optional Modules">
91    </mtapp:statusmsg>
92</mt:if>
93<mt:if name="required">
94    <mtapp:statusmsg
95        id="required"
96        class="error"
97        can_close="0">
98        <__trans phrase="Missing Required Modules">
99    </mtapp:statusmsg>
100</mt:if>
101<ul id="packages-list">
102<mt:loop name="package_loop">
103<li><span class="module-name"><a href="<mt:var name="link">" target="cpan"><mt:var name="module"></a></span> - <mt:var name="description">
104<mt:if name="version">
105<br /><em><__trans phrase="Minimal version requirement: [_1]" params="<mt:var name="version">"></em>
106</mt:if>
107</li>
108</mt:loop>
109</ul>
110
111<mt:if name="optional">
112<p><a target="cpan" href="http://www.cpan.org/modules/INSTALL.html"><__trans phrase="Learn more about installing Perl modules."></a></p>
113</div>
114</mt:if>
115
116<p>
117<mt:if name="success">
118<div class="message">
119<__trans phrase="Your server has all of the required modules installed; you do not need to perform any additional module installations.">
120</div>
121</mt:if>
122
123<div id="buttons" <mt:if name="optional">style="display:none;"</mt:if>>
124<div class="left">
125<input name="back" type="submit" class="sb" value="<__trans phrase="Back">" onclick="this.form.reset(); go('previous_step');" />
126</div>
127<div class="right">
128<mt:if name="missing_db_or_optional">
129<mt:if name="missing_db">
130   <input name="retry" type="submit" class="sb" value="<__trans phrase="Retry">" onclick="go('retry');" />
131<mt:else>
132   <mt:if name="optional">
133      <input name="retry" type="submit" class="sb" value="<__trans phrase="Retry">" onclick="go('retry');" />
134      <input name="continue" type="submit" class="sb" value="<__trans phrase="Continue">" onclick="go('next_step');" />
135   <mt:else>
136      <input name="retry" type="submit" class="sb" value="<__trans phrase="Retry">" onclick="go('retry');" />
137   </mt:if>
138</mt:if>
139<mt:else>
140<mt:if name="required">
141   <input name="retry" type="submit" class="sb" value="<__trans phrase="Retry">" onclick="go('retry');" />
142</mt:if>
143</mt:if>
144
145<mt:if name="success">
146   <input name="continue" type="submit" class="sb" value="<__trans phrase="Continue">" onclick="go('next_step');" />
147</mt:if>
148</div>
149</div>
150
151</form>
152<mt:include name="../cms/include/chromeless_footer.tmpl">
Note: See TracBrowser for help on using the browser.