Lines 5-57
Link Here
|
5 |
<h1 id="logo"><img alt="Koha" src="[% interface %]/[% theme %]/img/koha.org-logo.gif" /> Web installer › Step 3</h1> |
5 |
<h1 id="logo"><img alt="Koha" src="[% interface %]/[% theme %]/img/koha.org-logo.gif" /> Web installer › Step 3</h1> |
6 |
|
6 |
|
7 |
[% IF ( selectframeworks ) %] |
7 |
[% IF ( selectframeworks ) %] |
8 |
<script language="JavaScript"> |
8 |
<script type="text/javascript"> |
9 |
<!-- |
9 |
//<![CDATA[ |
10 |
|
10 |
|
11 |
var surl = unescape(window.location.pathname); |
11 |
var surl = unescape(window.location.pathname); |
12 |
|
12 |
|
13 |
function doLoad() |
13 |
function doLoad() |
14 |
{ |
14 |
{ |
15 |
// the timeout value should be the same as in the "refresh" meta-tag |
15 |
// the timeout value should be the same as in the "refresh" meta-tag |
16 |
setTimeout( "refresh()", 2*1000 ); |
16 |
setTimeout( "refresh()", 2*1000 ); |
17 |
} |
17 |
} |
18 |
|
18 |
|
19 |
function refresh(value) |
|
|
20 |
{ |
21 |
// This version of the refresh function will cause a new |
22 |
// entry in the visitor's history. It is provided for |
23 |
// those browsers that only support JavaScript 1.0. |
24 |
// |
25 |
surl=surl+'?step=3&op=selectframeworks&fwklanguage='+value; |
26 |
window.location.href = surl; |
27 |
} |
28 |
|
29 |
//--> |
30 |
</script> |
31 |
|
32 |
<script language="JavaScript1.1"> |
33 |
<!-- |
34 |
function refresh(value) |
35 |
{ |
36 |
// This version does NOT cause an entry in the browser's |
37 |
// page view history. Most browsers will always retrieve |
38 |
// the document from the web-server whether it is already |
39 |
// in the browsers page-cache or not. |
40 |
// |
41 |
surl=surl+'?step=3&op=selectframeworks&fwklanguage='+value; |
42 |
window.location.replace( surl ); |
43 |
} |
44 |
//--> |
45 |
</script> |
46 |
|
47 |
<script language="JavaScript1.2"> |
48 |
<!-- |
49 |
function refresh(value) |
19 |
function refresh(value) |
50 |
{ |
20 |
{ |
51 |
// This version of the refresh function will be invoked |
|
|
52 |
// for browsers that support JavaScript version 1.2 |
53 |
// |
54 |
|
55 |
// The argument to the location.reload function determines |
21 |
// The argument to the location.reload function determines |
56 |
// if the browser should retrieve the document from the |
22 |
// if the browser should retrieve the document from the |
57 |
// web-server. In our example all we need to do is cause |
23 |
// web-server. In our example all we need to do is cause |
Lines 59-91
Link Here
|
59 |
// re-evaluated. If we needed to pull the document from |
25 |
// re-evaluated. If we needed to pull the document from |
60 |
// the web-server again (such as where the document contents |
26 |
// the web-server again (such as where the document contents |
61 |
// change dynamically) we would pass the argument as 'true'. |
27 |
// change dynamically) we would pass the argument as 'true'. |
62 |
// |
28 |
// |
63 |
surl=surl+'?step=3&op=selectframeworks&fwklanguage='+value; |
29 |
surl=surl+'?step=3&op=selectframeworks&fwklanguage='+value; |
|
|
30 |
|
64 |
window.location.replace( surl ); |
31 |
window.location.replace( surl ); |
65 |
} |
32 |
} |
66 |
//--> |
33 |
|
67 |
</script> |
34 |
function selectAllFrameworks() |
68 |
</head> |
35 |
{ |
69 |
<body> |
36 |
// A handy short link that selects all available checkboxes |
70 |
<script language="JavaScript"> |
37 |
// on the page. |
71 |
function Hide(link) { |
38 |
// |
72 |
subfield = document.getElementById('bloc'+link); |
39 |
var checkboxes = document.getElementsByTagName("input"); |
73 |
var initstyle=subfield.style.display; |
40 |
for (var i = 0; i < checkboxes.length; i++) |
74 |
if (initstyle == 'block') subfield.style.display = 'none' ; |
41 |
{ |
75 |
if (initstyle == 'none') subfield.style.display = 'block' ; |
42 |
if (checkboxes[i].type == 'checkbox') |
|
|
43 |
{ |
44 |
checkboxes[i].checked = true; |
45 |
} |
46 |
} |
47 |
|
48 |
// Prevent event propergation. |
49 |
return false; |
76 |
} |
50 |
} |
|
|
51 |
|
52 |
function Hide(link) |
53 |
{ |
54 |
// Toggle the display of a given element on the page. |
55 |
// |
56 |
subfield = document.getElementById('bloc'+link); |
57 |
var initstyle = subfield.style.display; |
58 |
if (initstyle == 'block') subfield.style.display = 'none' ; |
59 |
if (initstyle == 'none') subfield.style.display = 'block' ; |
60 |
} |
61 |
|
62 |
//]]> |
77 |
</script> |
63 |
</script> |
78 |
[% END %] |
64 |
[% END %] |
79 |
[% IF ( finish ) %] |
65 |
[% IF ( finish ) %] |
80 |
<h1>Congratulations, installation complete</h1> |
66 |
<h1>Congratulations, installation complete</h1> |
81 |
<p>If this page does not redirect in 5 seconds, click <a href="/">here</a>.</p> |
67 |
<p>If this page does not redirect in 5 seconds, click <a href="/">here</a>.</p> |
82 |
[% END %] |
68 |
[% END %] |
83 |
[% IF ( choosemarc ) %] |
69 |
[% IF ( choosemarc ) %] |
84 |
<h2 align="center">Select your MARC flavor</h2> |
70 |
<h2 align="center">Select your MARC flavor</h2> |
85 |
<form name="frameworkselection" method="post" action="install.pl"> |
71 |
<form name="frameworkselection" method="post" action="install.pl"> |
86 |
<input type="hidden" name="step" value="3" /> |
72 |
<input type="hidden" name="step" value="3" /> |
87 |
<input type="hidden" name="op" value="selectframeworks" /> |
73 |
<input type="hidden" name="op" value="selectframeworks" /> |
88 |
<p> |
74 |
<p> |
89 |
[% FOREACH flavourloo IN flavourloop %] |
75 |
[% FOREACH flavourloo IN flavourloop %] |
90 |
<div> |
76 |
<div> |
91 |
[% IF ( flavourloo.checked ) %] |
77 |
[% IF ( flavourloo.checked ) %] |
Lines 102-115
Link Here
|
102 |
|
88 |
|
103 |
[% IF ( selectframeworks ) %] |
89 |
[% IF ( selectframeworks ) %] |
104 |
<h2 align="center">Selecting Default Settings</h2> |
90 |
<h2 align="center">Selecting Default Settings</h2> |
|
|
91 |
<script type="text/javascript"> |
92 |
document.write('<p><a href="#" onclick="return selectAllFrameworks();">Select all frameworks</a></p>'); |
93 |
</script> |
105 |
<form name="frameworkselection" method="post" action="install.pl"> |
94 |
<form name="frameworkselection" method="post" action="install.pl"> |
106 |
<input type="hidden" name="step" value="3" /> |
95 |
<input type="hidden" name="step" value="3" /> |
107 |
<input type="hidden" name="op" value="addframeworks" /> |
96 |
<input type="hidden" name="op" value="addframeworks" /> |
108 |
|
97 |
|
109 |
[% IF ( frameworksloop ) %] |
98 |
[% IF ( frameworksloop ) %] |
110 |
<h2>MARC frameworks: [% marcflavour %]</h2> |
99 |
<h2>MARC frameworks: [% marcflavour %]</h2> |
111 |
[% IF ( en_marc_frameworks ) %] |
100 |
[% IF ( en_marc_frameworks ) %] |
112 |
<h4><span class="error">No MARC frameworks are available for your language. |
101 |
<h4><span class="error">No MARC frameworks are available for your language. |
113 |
Defaulting to the frameworks supplied for English (en)<span></h4> |
102 |
Defaulting to the frameworks supplied for English (en)<span></h4> |
114 |
[% END %] |
103 |
[% END %] |
115 |
[% FOREACH frameworksloo IN frameworksloop %] |
104 |
[% FOREACH frameworksloo IN frameworksloop %] |
Lines 120-143
Link Here
|
120 |
<tr> |
109 |
<tr> |
121 |
<td style="vertical-align:top;"> |
110 |
<td style="vertical-align:top;"> |
122 |
[% IF ( framework.checked ) %] |
111 |
[% IF ( framework.checked ) %] |
123 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" /> |
112 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" id="[% framework.fwkname %]" /> |
124 |
[% ELSE %] |
113 |
[% ELSE %] |
125 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" /> |
114 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[% framework.fwkname %]" /> |
126 |
[% END %] |
115 |
[% END %] |
127 |
</td> |
116 |
</td> |
128 |
<td> |
117 |
<td> |
129 |
[% framework.fwkdescription %] |
118 |
<label for="[% framework.fwkname %]"> |
130 |
<em>([% framework.fwkname %])</em> |
119 |
[% framework.fwkdescription %] |
|
|
120 |
<em>([% framework.fwkname %])</em> |
121 |
</label> |
131 |
</td> |
122 |
</td> |
132 |
</table> |
123 |
</table> |
133 |
[% END %] |
124 |
[% END %] |
134 |
</div> |
125 |
</div> |
135 |
</p> |
|
|
136 |
[% END %] |
126 |
[% END %] |
137 |
<h2>Other data</h2> |
127 |
<h2>Other data</h2> |
138 |
[% END %] |
128 |
[% END %] |
139 |
[% IF ( en_sample_data ) %] |
129 |
[% IF ( en_sample_data ) %] |
140 |
<h4><span class="error">No sample data and settings are available for your language. |
130 |
<h4><span class="error">No sample data and settings are available for your language. |
141 |
Defaulting to the samples supplied for English (en)<span></h4> |
131 |
Defaulting to the samples supplied for English (en)<span></h4> |
142 |
[% END %] |
132 |
[% END %] |
143 |
[% FOREACH levelloo IN levelloop %] |
133 |
[% FOREACH levelloo IN levelloop %] |
Lines 148-173
Link Here
|
148 |
<tr> |
138 |
<tr> |
149 |
<td style="vertical-align:top;"> |
139 |
<td style="vertical-align:top;"> |
150 |
[% IF ( framework.checked ) %] |
140 |
[% IF ( framework.checked ) %] |
151 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" /> |
141 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" id="[% framework.fwkname %]" /> |
152 |
[% ELSE %] |
142 |
[% ELSE %] |
153 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" /> |
143 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[% framework.fwkname %]" /> |
154 |
[% END %] |
144 |
[% END %] |
155 |
</td> |
145 |
</td> |
156 |
<td> |
146 |
<td> |
157 |
[% framework.fwkdescription %] |
147 |
<label for="[% framework.fwkname %]"> |
158 |
<em>([% framework.fwkname %])</em> |
148 |
[% framework.fwkdescription %] |
|
|
149 |
<em>([% framework.fwkname %])</em> |
150 |
</label> |
159 |
</td> |
151 |
</td> |
160 |
</table> |
152 |
</table> |
161 |
[% END %] |
153 |
[% END %] |
162 |
</div> |
154 |
</div> |
163 |
</p> |
|
|
164 |
[% END %] |
155 |
[% END %] |
165 |
<p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete, |
156 |
<p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete, |
166 |
please be patient.</p> |
157 |
please be patient.</p> |
167 |
<p><input type="submit" value="Import >>" /> |
158 |
<p><input type="submit" value="Import >>" /> |
168 |
</p> |
159 |
</p> |
169 |
</form> |
160 |
</form> |
170 |
</p> |
|
|
171 |
[% END %] |
161 |
[% END %] |
172 |
|
162 |
|
173 |
|
163 |
|
Lines 226-232
Link Here
|
226 |
We are upgrading from Koha [% dbversion %] to [% kohaversion %], you must <a href="install.pl?step=3&op=updatestructure" class="button">update your database</a> |
216 |
We are upgrading from Koha [% dbversion %] to [% kohaversion %], you must <a href="install.pl?step=3&op=updatestructure" class="button">update your database</a> |
227 |
</p> |
217 |
</p> |
228 |
[% ELSE %] |
218 |
[% ELSE %] |
229 |
<p>We are ready to do some basic configuration. Please |
219 |
<p>We are ready to do some basic configuration. Please |
230 |
<a href="install.pl?step=3&op=choosemarc" class="button">install basic configuration settings</a> |
220 |
<a href="install.pl?step=3&op=choosemarc" class="button">install basic configuration settings</a> |
231 |
to continue the installation. |
221 |
to continue the installation. |
232 |
</p> |
222 |
</p> |
Lines 242-248
Link Here
|
242 |
<ul> |
232 |
<ul> |
243 |
[% FOREACH update_repor IN update_report %] |
233 |
[% FOREACH update_repor IN update_report %] |
244 |
<li>[% update_repor.line |html %]</li> |
234 |
<li>[% update_repor.line |html %]</li> |
245 |
[% END %] |
235 |
[% END %] |
246 |
</ul> |
236 |
</ul> |
247 |
[% END %] |
237 |
[% END %] |
248 |
[% IF ( has_update_errors ) %] |
238 |
[% IF ( has_update_errors ) %] |
Lines 250-256
Link Here
|
250 |
<ul> |
240 |
<ul> |
251 |
[% FOREACH update_error IN update_errors %] |
241 |
[% FOREACH update_error IN update_errors %] |
252 |
<li class="update_error">[% update_error.line |html %]</li> |
242 |
<li class="update_error">[% update_error.line |html %]</li> |
253 |
[% END %] |
243 |
[% END %] |
254 |
</ul> |
244 |
</ul> |
255 |
[% END %] |
245 |
[% END %] |
256 |
[% UNLESS ( has_update_errors ) %] |
246 |
[% UNLESS ( has_update_errors ) %] |
Lines 260-264
Link Here
|
260 |
</div> |
250 |
</div> |
261 |
[% END %] |
251 |
[% END %] |
262 |
|
252 |
|
|
|
253 |
</div> |
263 |
</body> |
254 |
</body> |
264 |
</html> |
255 |
</html> |
265 |
- |
|
|