Lines 1-34
Link Here
|
|
|
1 |
[% PROCESS 'i18n.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
|
3 |
|
3 |
<title>Koha › Web installer › |
4 |
<title>[% t('Koha › Web installer ›') %] |
4 |
[% IF ( proposeimport ) %] |
5 |
[% IF ( proposeimport ) %] |
5 |
Set up database |
6 |
[% t('Set up database') %] |
6 |
[% END %] |
7 |
[% END %] |
7 |
[% IF ( importdatastructure ) %] |
8 |
[% IF ( importdatastructure ) %] |
8 |
[% IF ( error ) %] |
9 |
[% IF ( error ) %] |
9 |
Error creating database tables |
10 |
[% t('Error creating database tables') %] |
10 |
[% ELSE %] |
11 |
[% ELSE %] |
11 |
Database tables created |
12 |
[% t('Database tables created') %] |
12 |
[% END %] |
13 |
[% END %] |
13 |
[% END %] |
14 |
[% END %] |
14 |
[% IF ( default ) %] |
15 |
[% IF ( default ) %] |
15 |
[% IF ( upgrading ) %] |
16 |
[% IF ( upgrading ) %] |
16 |
Update database |
17 |
[% t('Update database') %] |
17 |
[% ELSE %] |
18 |
[% ELSE %] |
18 |
Install basic configuration settings |
19 |
[% t('Install basic configuration settings') %] |
19 |
[% END %] |
20 |
[% END %] |
20 |
[% END %] |
21 |
[% END %] |
21 |
[% IF ( choosemarc ) %] |
22 |
[% IF ( choosemarc ) %] |
22 |
Select your MARC flavor |
23 |
[% t('Select your MARC flavor') %] |
23 |
[% END %] |
24 |
[% END %] |
24 |
[% IF ( selectframeworks ) %] |
25 |
[% IF ( selectframeworks ) %] |
25 |
Selecting default settings |
26 |
[% t('Selecting default settings') %] |
26 |
[% END %] |
27 |
[% END %] |
27 |
[% IF ( addframeworks ) %] |
28 |
[% IF ( addframeworks ) %] |
28 |
Default data loaded |
29 |
[% t('Default data loaded') %] |
29 |
[% END %] |
30 |
[% END %] |
30 |
[% IF ( finish ) %] |
31 |
[% IF ( finish ) %] |
31 |
Installation complete |
32 |
[% t('Installation complete') %] |
32 |
[% END %] |
33 |
[% END %] |
33 |
</title> |
34 |
</title> |
34 |
|
35 |
|
Lines 43-63
Link Here
|
43 |
<div class="container-fluid"> |
44 |
<div class="container-fluid"> |
44 |
<div class="row"> |
45 |
<div class="row"> |
45 |
<div id="installer-step3" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> |
46 |
<div id="installer-step3" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> |
46 |
<h1 id="logo"><a href="#">Koha</a></h1> |
47 |
<h1 id="logo"><a href="#">[% t('Koha') %]</a></h1> |
47 |
[% IF ( finish ) %] |
48 |
[% IF ( finish ) %] |
48 |
<h2>Web installer › Installation complete</h2> |
49 |
<h2>[% t('Web installer › Installation complete') %]</h2> |
49 |
<h3>Congratulations, installation complete</h3> |
50 |
<h3>[% t('Congratulations, installation complete') %]</h3> |
50 |
<p>This page will redirect in 10 seconds. <a href="/cgi-bin/koha/installer/onboarding.pl">If not, click here to start onboarding process.</a></p> |
51 |
<p>[% t('This page will redirect in 10 seconds.') %] <a href="/cgi-bin/koha/installer/onboarding.pl">[% t('If not, click here to start onboarding process.') %]</a></p> |
51 |
[% END %] |
52 |
[% END %] |
52 |
|
53 |
|
53 |
[% IF ( choosemarc ) %] |
54 |
[% IF ( choosemarc ) %] |
54 |
<h2>Select your MARC flavor</h2> |
55 |
<h2>[% t('Select your MARC flavor') %]</h2> |
55 |
|
56 |
|
56 |
<form name="frameworkselection" method="post" action="install.pl"> |
57 |
<form name="frameworkselection" method="post" action="install.pl"> |
57 |
<input type="hidden" name="step" value="3" /> |
58 |
<input type="hidden" name="step" value="3" /> |
58 |
<input type="hidden" name="op" value="selectframeworks" /> |
59 |
<input type="hidden" name="op" value="selectframeworks" /> |
59 |
|
60 |
|
60 |
<p>MARC stands for Machine Readable Cataloging. A MARC record contains bibliographic information about an item. MARC21 is used globally, UNIMARC tends to be used in a few European countries. </p> |
61 |
<p>[% t('MARC stands for Machine Readable Cataloging. A MARC record contains bibliographic information about an item. MARC21 is used globally, UNIMARC tends to be used in a few European countries.') %] </p> |
61 |
|
62 |
|
62 |
[% FOREACH flavourloo IN flavourloop %] |
63 |
[% FOREACH flavourloo IN flavourloop %] |
63 |
[% IF ( flavourloo.label == "Unimarc") %] |
64 |
[% IF ( flavourloo.label == "Unimarc") %] |
Lines 75-91
Link Here
|
75 |
[% END # / IF choosemarc %] |
76 |
[% END # / IF choosemarc %] |
76 |
|
77 |
|
77 |
[% IF ( selectframeworks ) %] |
78 |
[% IF ( selectframeworks ) %] |
78 |
<h2>Web installer › Selecting default settings</h2> |
79 |
<h2>[% t('Web installer › Selecting default settings') %]</h2> |
79 |
|
80 |
|
80 |
|
81 |
|
81 |
<form name="frameworkselection" method="post" action="install.pl"> |
82 |
<form name="frameworkselection" method="post" action="install.pl"> |
82 |
<input type="hidden" name="step" value="3" /> |
83 |
<input type="hidden" name="step" value="3" /> |
83 |
<input type="hidden" name="op" value="addframeworks" /> |
84 |
<input type="hidden" name="op" value="addframeworks" /> |
84 |
[% IF ( frameworksloop ) %] |
85 |
[% IF ( frameworksloop ) %] |
85 |
<h3>MARC frameworks: [% marcflavour %]</h3> |
86 |
<h3>[% t('MARC frameworks:') %] [% marcflavour %]</h3> |
86 |
[% IF ( en_marc_frameworks ) %] |
87 |
[% IF ( en_marc_frameworks ) %] |
87 |
<h4><span class="error">No MARC frameworks are available for your language. |
88 |
<h4><span class="error">[% t('No MARC frameworks are available for your language.') %] |
88 |
Defaulting to the frameworks supplied for English (en)<span></h4> |
89 |
[% t('Defaulting to the frameworks supplied for English (en)') %]<span></h4> |
89 |
[% END %] |
90 |
[% END %] |
90 |
[% FOREACH frameworksloo IN frameworksloop %] |
91 |
[% FOREACH frameworksloo IN frameworksloop %] |
91 |
<h4>[% frameworksloo.label %]</h4> |
92 |
<h4>[% frameworksloo.label %]</h4> |
Lines 93-109
Link Here
|
93 |
<div class="checkboxes"> |
94 |
<div class="checkboxes"> |
94 |
|
95 |
|
95 |
<p> |
96 |
<p> |
96 |
<a class="selectall [% frameworksloo.label FILTER lower %]" href="#">Select all</a> |
97 |
<a class="selectall [% frameworksloo.label FILTER lower %]" href="#">[% t('Select all') %]</a> |
97 |
<a class="deselectall [% frameworksloo.label FILTER lower %]" href="#">Select none</a> |
98 |
<a class="deselectall [% frameworksloo.label FILTER lower %]" href="#">[% t('Select none') %]</a> |
98 |
</p> |
99 |
</p> |
99 |
|
100 |
|
100 |
[% FOREACH framework IN frameworksloo.frameworks %] |
101 |
[% FOREACH framework IN frameworksloo.frameworks %] |
101 |
<div class="checkbox"> |
102 |
<div class="checkbox"> |
102 |
<label> |
103 |
<label> |
103 |
[% IF ( framework.checked ) %] |
104 |
[% IF ( framework.checked ) %] |
104 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id ="[%framework.fwkname%]" checked="checked" /> |
105 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[%framework.fwkname%]" checked="checked" /> |
105 |
[% ELSE %] |
106 |
[% ELSE %] |
106 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id ="[%framework.fwkname%]" /> |
107 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[%framework.fwkname%]" /> |
107 |
[% END %] |
108 |
[% END %] |
108 |
[% framework.fwkdescription %] |
109 |
[% framework.fwkdescription %] |
109 |
<em>([% framework.fwkname %])</em> |
110 |
<em>([% framework.fwkname %])</em> |
Lines 115-125
Link Here
|
115 |
[% END # / FOREACH frameworksloo %] |
116 |
[% END # / FOREACH frameworksloo %] |
116 |
[% END # / IF frameworkdsloop %] |
117 |
[% END # / IF frameworkdsloop %] |
117 |
|
118 |
|
118 |
<h3>Other data</h3> |
119 |
<h3>[% t('Other data') %]</h3> |
119 |
|
120 |
|
120 |
[% IF ( en_sample_data ) %] |
121 |
[% IF ( en_sample_data ) %] |
121 |
<h4><span class="error">No sample data and settings are available for your language. |
122 |
<h4><span class="error">[% t('No sample data and settings are available for your language.') %] |
122 |
Defaulting to the samples supplied for English (en)<span></h4> |
123 |
[% t('Defaulting to the samples supplied for English (en)') %]<span></h4> |
123 |
[% END %] |
124 |
[% END %] |
124 |
|
125 |
|
125 |
[% FOREACH levelloo IN levelloop %] |
126 |
[% FOREACH levelloo IN levelloop %] |
Lines 128-135
Link Here
|
128 |
<div class="checkboxes"> |
129 |
<div class="checkboxes"> |
129 |
|
130 |
|
130 |
<p> |
131 |
<p> |
131 |
<a class="selectall [% levelloo.label FILTER lower %]" href="#">Select all</a> |
132 |
<a class="selectall [% levelloo.label FILTER lower %]" href="#">[% t('Select all') %]</a> |
132 |
<a class="deselectall [% levelloo.label FILTER lower %]" href="#">Select none</a> |
133 |
<a class="deselectall [% levelloo.label FILTER lower %]" href="#">[% t('Select none') %]</a> |
133 |
</p> |
134 |
</p> |
134 |
|
135 |
|
135 |
[% FOREACH framework IN levelloo.frameworks %] |
136 |
[% FOREACH framework IN levelloo.frameworks %] |
Lines 148-170
Link Here
|
148 |
</div> |
149 |
</div> |
149 |
[% END # / FOREACH levelloo %] |
150 |
[% END # / FOREACH levelloo %] |
150 |
|
151 |
|
151 |
<p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete. Please be patient.</p> |
152 |
<p>[% t('When you\'ve made your selections, please click \'Import\' below to begin the process. It may take a while to complete. Please be patient.') %]</p> |
152 |
|
153 |
|
153 |
<p><input type="submit" value="Import" class="btn btn-primary" /></p> |
154 |
<p><input type="submit" value="Import" class="btn btn-primary" /></p> |
154 |
</form> |
155 |
</form> |
155 |
[% END # / IF selectframeworks %] |
156 |
[% END # / IF selectframeworks %] |
156 |
|
157 |
|
157 |
[% IF ( addframeworks ) %] |
158 |
[% IF ( addframeworks ) %] |
158 |
<h2>Web installer › Default data loaded</h2> |
159 |
<h2>[% t('Web installer › Default data loaded') %]</h2> |
159 |
[% FOREACH lis IN list %] |
160 |
[% FOREACH lis IN list %] |
160 |
[% IF lis.level == 'mandatory' %] |
161 |
[% IF lis.level == 'mandatory' %] |
161 |
<h3>Mandatory data added</h3> |
162 |
<h3>[% t('Mandatory data added') %]</h3> |
162 |
[% ELSIF lis.level == 'optional' %] |
163 |
[% ELSIF lis.level == 'optional' %] |
163 |
<h3>Optional data added</h3> |
164 |
<h3>[% t('Optional data added') %]</h3> |
164 |
[% ELSIF lis.level == 'mysql' %] |
165 |
[% ELSIF lis.level == 'mysql' %] |
165 |
<h3>MySQL data added</h3> |
166 |
<h3>[% t('MySQL data added') %]</h3> |
166 |
[% ELSE %] |
167 |
[% ELSE %] |
167 |
<h3>[% lis.level FILTER ucfirst %] data added</h3> |
168 |
<h3>[% lis.level FILTER ucfirst %] [% t('data added') %]</h3> |
168 |
[% END %] |
169 |
[% END %] |
169 |
<ul> |
170 |
<ul> |
170 |
[% FOREACH fwklis IN lis.fwklist %] |
171 |
[% FOREACH fwklis IN lis.fwklist %] |
Lines 176-191
Link Here
|
176 |
</ul> |
177 |
</ul> |
177 |
[% END %] |
178 |
[% END %] |
178 |
|
179 |
|
179 |
<h3>Basic installation complete.</h3> |
180 |
<h3>[% t('Basic installation complete.') %]</h3> |
180 |
|
181 |
|
181 |
<p>In the next steps you will be guided through some basic requirements like defining Koha user with all administrative privileges (superlibrarian).</p> |
182 |
<p>[% t('In the next steps you will be guided through some basic requirements like defining Koha user with all administrative privileges (superlibrarian).') %]</p> |
182 |
|
183 |
|
183 |
<form action="/cgi-bin/koha/installer/install.pl" method="post" name="finish"> |
184 |
<form action="/cgi-bin/koha/installer/install.pl" method="post" name="finish"> |
184 |
<h4> |
185 |
<h4> |
185 |
You can help the Koha community by sharing your statistics with us. |
186 |
[% t('You can help the Koha community by sharing your statistics with us.') %] |
186 |
</h4> |
187 |
</h4> |
187 |
<p> |
188 |
<p> |
188 |
If you wish to share some of your data, please enable the functionality in the "Share your usage statistics" section of the Administration module. |
189 |
[% t('If you wish to share some of your data, please enable the functionality in the "Share your usage statistics" section of the Administration module.') %] |
189 |
</p> |
190 |
</p> |
190 |
|
191 |
|
191 |
<input type="hidden" name="step" value="3" /> |
192 |
<input type="hidden" name="step" value="3" /> |
Lines 199-210
Link Here
|
199 |
|
200 |
|
200 |
[% IF ( importdatastructure ) %] |
201 |
[% IF ( importdatastructure ) %] |
201 |
[% IF ( error ) %] |
202 |
[% IF ( error ) %] |
202 |
<p>The following error occurred while importing the database structure:</p> |
203 |
<p>[% t('The following error occurred while importing the database structure:') %]</p> |
203 |
<div class="alert alert-warning"><p>[% error %] </p></div> |
204 |
<div class="alert alert-warning"><p>[% error %] </p></div> |
204 |
<p>Please contact your system administrator</p> |
205 |
<p>[% t('Please contact your system administrator') %]</p> |
205 |
[% ELSE %] |
206 |
[% ELSE %] |
206 |
<h2>Web installer › Success</h2> |
207 |
<h2>[% t('Web installer › Success') %]</h2> |
207 |
<div class="alert alert-success"><p>Database tables created</p></div> |
208 |
<div class="alert alert-success"><p>[% t('Database tables created') %]</p></div> |
208 |
<form action="install.pl" method="post"> |
209 |
<form action="install.pl" method="post"> |
209 |
<input type="hidden" name="step" value="3" /> |
210 |
<input type="hidden" name="step" value="3" /> |
210 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
211 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
Lines 213-220
Link Here
|
213 |
[% END # / IF importdatastructure %] |
214 |
[% END # / IF importdatastructure %] |
214 |
|
215 |
|
215 |
[% IF ( proposeimport ) %] |
216 |
[% IF ( proposeimport ) %] |
216 |
<h2>Web installer › Set up database</h2> |
217 |
<h2>[% t('Web installer › Set up database') %]</h2> |
217 |
<p>Now we're ready to create the database tables and fill them with some default data.</p> |
218 |
<p>[% t('Now we\'re ready to create the database tables and fill them with some default data.') %]</p> |
218 |
<form action="install.pl" method="post"> |
219 |
<form action="install.pl" method="post"> |
219 |
<input type="hidden" name="step" value="3" /> |
220 |
<input type="hidden" name="step" value="3" /> |
220 |
<input type="hidden" name="op" value="importdatastructure" /> |
221 |
<input type="hidden" name="op" value="importdatastructure" /> |
Lines 224-243
Link Here
|
224 |
|
225 |
|
225 |
[% IF ( default ) %] |
226 |
[% IF ( default ) %] |
226 |
[% IF ( upgrading ) %] |
227 |
[% IF ( upgrading ) %] |
227 |
<h2>Web installer › Update database</h2> |
228 |
<h2>[% t('Web installer › Update database') %]</h2> |
228 |
<p>We are upgrading from Koha [% dbversion %] to [% kohaversion %]</p> |
229 |
<p>[% t('We are upgrading from Koha') %] [% dbversion %] [% t('to') %] [% kohaversion %]</p> |
229 |
<p><a href="install.pl?step=3&op=updatestructure" class="btn btn-primary">Update your database</a></p> |
230 |
<p><a href="install.pl?step=3&op=updatestructure" class="btn btn-primary">[% t('Update your database') %]</a></p> |
230 |
[% ELSE %] |
231 |
[% ELSE %] |
231 |
<h2>Web installer › Install basic configuration settings</h2> |
232 |
<h2>[% t('Web installer › Install basic configuration settings') %]</h2> |
232 |
<p>We are ready to do some basic configuration.</p> |
233 |
<p>[% t('We are ready to do some basic configuration.') %]</p> |
233 |
<p><a href="install.pl?step=3&op=choosemarc" class="btn btn-primary">Continue to the next step</a></p> |
234 |
<p><a href="install.pl?step=3&op=choosemarc" class="btn btn-primary">[% t('Continue to the next step') %]</a></p> |
234 |
[% END %] |
235 |
[% END %] |
235 |
[% END # / IF default %] |
236 |
[% END # / IF default %] |
236 |
|
237 |
|
237 |
[% IF ( updatestructure ) %] |
238 |
[% IF ( updatestructure ) %] |
238 |
<h2>Updating database structure</h2> |
239 |
<h2>[% t('Updating database structure') %]</h2> |
239 |
[% IF ( has_update_succeeds ) %] |
240 |
[% IF ( has_update_succeeds ) %] |
240 |
<p>Update report :</p> |
241 |
<p>[% t('Update report :') %]</p> |
241 |
<ul> |
242 |
<ul> |
242 |
[% FOREACH update_repor IN update_report %] |
243 |
[% FOREACH update_repor IN update_report %] |
243 |
<li>[% update_repor.line |html %]</li> |
244 |
<li>[% update_repor.line |html %]</li> |
Lines 245-251
Link Here
|
245 |
</ul> |
246 |
</ul> |
246 |
[% END %] |
247 |
[% END %] |
247 |
[% IF ( has_update_errors ) %] |
248 |
[% IF ( has_update_errors ) %] |
248 |
<p>Update errors :</p> |
249 |
<p>[% t('Update errors :') %]</p> |
249 |
<ul> |
250 |
<ul> |
250 |
[% FOREACH update_error IN update_errors %] |
251 |
[% FOREACH update_error IN update_errors %] |
251 |
<li class="update_error">[% update_error.line |html %]</li> |
252 |
<li class="update_error">[% update_error.line |html %]</li> |
Lines 253-261
Link Here
|
253 |
</ul> |
254 |
</ul> |
254 |
[% END %] |
255 |
[% END %] |
255 |
[% UNLESS ( has_update_errors ) %] |
256 |
[% UNLESS ( has_update_errors ) %] |
256 |
<p>Everything went okay. Update done.</p> |
257 |
<p>[% t('Everything went okay. Update done.') %]</p> |
257 |
[% END %] |
258 |
[% END %] |
258 |
<p><a href="install.pl?step=3&op=finished" class="btn btn-primary">Continue to log in to Koha</a></p> |
259 |
<p><a href="install.pl?step=3&op=finished" class="btn btn-primary">[% t('Continue to log in to Koha') %]</a></p> |
259 |
[% END # / IF updatestructure %] |
260 |
[% END # / IF updatestructure %] |
260 |
</div> <!-- / #installer-step3 --> |
261 |
</div> <!-- / #installer-step3 --> |
261 |
</div> <!-- / .row --> |
262 |
</div> <!-- / .row --> |
262 |
- |
|
|