|
Lines 1-265
Link Here
|
| 1 |
[% INCLUDE 'doc-head-open.inc' %]<title>Koha › Web installer › Step 3</title> |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
| 2 |
[% IF ( finish ) %]<meta http-equiv="refresh" content="5; url=/cgi-bin/koha/installer/onboarding.pl">[% END %] |
|
|
| 3 |
[% INCLUDE 'installer-doc-head-close.inc' %] |
| 4 |
<div> |
| 5 |
<h1 id="logo"><img alt="Koha" src="[% interface %]/[% theme %]/img/koha.org-logo.gif" /> Koha web installer › Step 3</h1> |
| 6 |
|
| 7 |
[% IF ( selectframeworks ) %] |
| 8 |
<script type="text/javascript"> |
| 9 |
//<![CDATA[ |
| 10 |
|
| 11 |
var surl = unescape(window.location.pathname); |
| 12 |
|
| 13 |
function doLoad() |
| 14 |
{ |
| 15 |
// the timeout value should be the same as in the "refresh" meta-tag |
| 16 |
setTimeout( "refresh()", 2*1000 ); |
| 17 |
} |
| 18 |
|
| 19 |
function refresh(value) |
| 20 |
{ |
| 21 |
// The argument to the location.reload function determines |
| 22 |
// if the browser should retrieve the document from the |
| 23 |
// web-server. In our example all we need to do is cause |
| 24 |
// the JavaScript block in the document body to be |
| 25 |
// re-evaluated. If we needed to pull the document from |
| 26 |
// the web-server again (such as where the document contents |
| 27 |
// change dynamically) we would pass the argument as 'true'. |
| 28 |
// |
| 29 |
surl=surl+'?step=3&op=selectframeworks&fwklanguage='+value; |
| 30 |
|
| 31 |
window.location.replace( surl ); |
| 32 |
} |
| 33 |
|
| 34 |
function selectAllFrameworks() |
| 35 |
{ |
| 36 |
// A handy short link that selects all available checkboxes |
| 37 |
// on the page. |
| 38 |
// |
| 39 |
var checkboxes = document.getElementsByTagName("input"); |
| 40 |
for (var i = 0; i < checkboxes.length; i++) |
| 41 |
{ |
| 42 |
if (checkboxes[i].type == 'checkbox') |
| 43 |
{ |
| 44 |
checkboxes[i].checked = true; |
| 45 |
} |
| 46 |
} |
| 47 |
|
| 48 |
// Prevent event propergation. |
| 49 |
return false; |
| 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 |
//]]> |
| 63 |
</script> |
| 64 |
[% END %] |
| 65 |
|
| 66 |
|
2 |
|
| 67 |
[% IF ( finish ) %] |
3 |
<title>Koha › Web installer › |
| 68 |
<h1>Congratulations, installation complete</h1> |
4 |
[% IF ( proposeimport ) %] |
| 69 |
<p>If this page does not redirect in 10 seconds, click <a href="/cgi-bin/koha/installer/onboarding.pl">Start onboarding process</a>.</p> |
5 |
Set up database |
| 70 |
[% END %] |
|
|
| 71 |
|
| 72 |
|
| 73 |
[% IF ( choosemarc ) %] |
| 74 |
<h2 align="center">Select your MARC flavor</h2> |
| 75 |
<form name="frameworkselection" method="post" action="install.pl"> |
| 76 |
<input type="hidden" name="step" value="3" /> |
| 77 |
<input type="hidden" name="op" value="selectframeworks" /> |
| 78 |
<p> |
| 79 |
[% FOREACH flavourloo IN flavourloop %] |
| 80 |
<div> |
| 81 |
[% IF ( flavourloo.checked ) %] |
| 82 |
<input type="radio" name="marcflavour" value="[% flavourloo.code %]" checked /> [% flavourloo.label %] <br/> |
| 83 |
[% ELSE %] |
| 84 |
<input type="radio" name="marcflavour" value="[% flavourloo.code %]" /> [% flavourloo.label %] <br/> |
| 85 |
[% END %] |
| 86 |
</div> |
| 87 |
[% END %] |
| 88 |
</p> |
| 89 |
<p> Click 'Next' to continue <input value="Next >>" type="submit" /></p> |
| 90 |
</form> |
| 91 |
[% END %] |
| 92 |
|
| 93 |
[% IF ( selectframeworks ) %] |
| 94 |
<h2 align="center">Selecting Default Settings</h2> |
| 95 |
<script type="text/javascript"> |
| 96 |
var linklabel = _("Select all sample data"); |
| 97 |
document.write('<p><a href="#" onclick="return selectAllFrameworks();">'+linklabel+'</a></p>'); |
| 98 |
</script> |
| 99 |
<form name="frameworkselection" method="post" action="install.pl"> |
| 100 |
<input type="hidden" name="step" value="3" /> |
| 101 |
<input type="hidden" name="op" value="addframeworks" /> |
| 102 |
|
| 103 |
[% IF ( frameworksloop ) %] |
| 104 |
<h2>MARC frameworks: [% marcflavour %]</h2> |
| 105 |
[% IF ( en_marc_frameworks ) %] |
| 106 |
<h4><span class="error">No MARC frameworks are available for your language. |
| 107 |
Defaulting to the frameworks supplied for English (en)<span></h4> |
| 108 |
[% END %] |
| 109 |
[% FOREACH frameworksloo IN frameworksloop %] |
| 110 |
<div> |
| 111 |
<h3>[% frameworksloo.label %]</h3> |
| 112 |
[% FOREACH framework IN frameworksloo.frameworks %] |
| 113 |
<table style="border:1px;vertical-align:top;"> |
| 114 |
<tr> |
| 115 |
<td style="vertical-align:top;"> |
| 116 |
[% IF ( framework.checked ) %] |
| 117 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" id="[% framework.fwkname %]" /> |
| 118 |
[% ELSE %] |
| 119 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[% framework.fwkname %]" /> |
| 120 |
[% END %] |
| 121 |
</td> |
| 122 |
<td> |
| 123 |
<label for="[% framework.fwkname %]"> |
| 124 |
[% framework.fwkdescription %] |
| 125 |
<em>([% framework.fwkname %])</em> |
| 126 |
</label> |
| 127 |
</td> |
| 128 |
</table> |
| 129 |
[% END %] |
6 |
[% END %] |
| 130 |
</div> |
7 |
[% IF ( importdatastructure ) %] |
|
|
8 |
[% IF ( error ) %] |
| 9 |
Error creating database tables |
| 10 |
[% ELSE %] |
| 11 |
Database tables created |
| 12 |
[% END %] |
| 131 |
[% END %] |
13 |
[% END %] |
| 132 |
<h2>Other data</h2> |
14 |
[% IF ( default ) %] |
|
|
15 |
[% IF ( upgrading ) %] |
| 16 |
Update database |
| 17 |
[% ELSE %] |
| 18 |
Install basic configuration settings |
| 19 |
[% END %] |
| 133 |
[% END %] |
20 |
[% END %] |
| 134 |
[% IF ( en_sample_data ) %] |
21 |
[% IF ( choosemarc ) %] |
| 135 |
<h4><span class="error">No sample data and settings are available for your language. |
22 |
Select your MARC flavor |
| 136 |
Defaulting to the samples supplied for English (en)<span></h4> |
|
|
| 137 |
[% END %] |
23 |
[% END %] |
| 138 |
[% FOREACH levelloo IN levelloop %] |
24 |
[% IF ( selectframeworks ) %] |
| 139 |
<div> |
25 |
Selecting default settings |
| 140 |
<h3>[% levelloo.label %]</h3> |
|
|
| 141 |
[% FOREACH framework IN levelloo.frameworks %] |
| 142 |
<table style="border:1px;vertical-align:top;"> |
| 143 |
<tr> |
| 144 |
<td style="vertical-align:top;"> |
| 145 |
[% IF ( framework.checked ) %] |
| 146 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" id="[% framework.fwkname %]" /> |
| 147 |
[% ELSE %] |
| 148 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[% framework.fwkname %]" /> |
| 149 |
[% END %] |
| 150 |
</td> |
| 151 |
<td> |
| 152 |
<label for="[% framework.fwkname %]"> |
| 153 |
[% framework.fwkdescription %] |
| 154 |
<em>([% framework.fwkname %])</em> |
| 155 |
</label> |
| 156 |
</td> |
| 157 |
</table> |
| 158 |
[% END %] |
26 |
[% END %] |
| 159 |
</div> |
27 |
[% IF ( addframeworks ) %] |
|
|
28 |
Default data loaded |
| 160 |
[% END %] |
29 |
[% END %] |
| 161 |
<p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete, |
30 |
[% IF ( finish ) %] |
| 162 |
please be patient.</p> |
31 |
Installation complete |
| 163 |
<p><input type="submit" value="Import >>" /> |
32 |
[% END %] |
| 164 |
</p> |
33 |
</title> |
| 165 |
</form> |
|
|
| 166 |
[% END %] |
| 167 |
|
34 |
|
|
|
35 |
[% IF ( finish ) %]<meta http-equiv="refresh" content="10; url=/cgi-bin/koha/installer/onboarding.pl">[% END %] |
| 36 |
[% INCLUDE 'installer-doc-head-close.inc' %] |
| 37 |
</head> |
| 168 |
|
38 |
|
| 169 |
[% IF ( addframeworks ) %] |
39 |
<body id="installer" class="installer"> |
| 170 |
[% FOREACH lis IN list %] |
40 |
<div class="container-fluid"> |
| 171 |
<h3>[% lis.level %] data added</h3> |
41 |
<div class="row"> |
| 172 |
<ul> |
42 |
<div id="installer-step3" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2"> |
| 173 |
[% FOREACH fwklis IN lis.fwklist %] |
43 |
<h1 id="logo"><a href="#">Koha</a></h1> |
| 174 |
<li>[% fwklis.fwkname %][% IF ( fwklis.error ) %]<br /><span class="error">[% fwklis.error %]</span>[% END %] </li> |
44 |
[% IF ( finish ) %] |
| 175 |
[% END %] |
45 |
<h2>Web installer › Installation complete</h2> |
| 176 |
</ul> |
46 |
<h3>Congratulations, installation complete</h3> |
| 177 |
[% END %] |
47 |
<p> |
| 178 |
<h3>All done!</h3> |
48 |
If this page does not redirect in 10 seconds, <a href="/cgi-bin/koha/installer/onboarding.pl">start onboarding process</a>. |
| 179 |
<p>Installation complete.<br /> |
49 |
</p> |
| 180 |
<p> |
50 |
[% END %] |
| 181 |
You can help the Koha community by sharing your statistics with us. |
|
|
| 182 |
<br>If you wish to share some of your data, please enable the functionality in the "Share your usage statistics" section of the admin module. |
| 183 |
</p> |
| 184 |
<p>Click on 'Set up Koha with the onboarding tool' to complete and load the Koha onboarding tool. |
| 185 |
<form name="finish"> |
| 186 |
<input type="hidden" name="step" value="3" /> |
| 187 |
<input type="hidden" name="op" value="finish" /> |
| 188 |
<input type="submit" value="Set up Koha with the onboarding tool"/> |
| 189 |
</form> |
| 190 |
</p> |
| 191 |
</p> |
| 192 |
[% END %] |
| 193 |
|
51 |
|
|
|
52 |
[% IF ( choosemarc ) %] |
| 53 |
<h2>Select your MARC flavor</h2> |
| 194 |
|
54 |
|
| 195 |
[% IF ( importdatastructure ) %] |
55 |
<form name="frameworkselection" method="post" action="install.pl"> |
| 196 |
[% IF ( error ) %] |
56 |
<input type="hidden" name="step" value="3" /> |
| 197 |
<p>The following error occurred while importing the database structure:</p> |
57 |
<input type="hidden" name="op" value="selectframeworks" /> |
| 198 |
<p class="error">[% error %] </p> |
|
|
| 199 |
<p>Please contact your system administrator</p> |
| 200 |
[% ELSE %] |
| 201 |
<h2 align="center">Success</h2> |
| 202 |
<ul> |
| 203 |
<li>Database tables created</li> |
| 204 |
</ul> |
| 205 |
<form action="install.pl"> |
| 206 |
<input type="hidden" name="step" value="3" /> |
| 207 |
<p> Click 'Next' to continue <input value="Next >>" type="submit" /></p> |
| 208 |
</form> |
| 209 |
[% END %] |
| 210 |
[% END %] |
| 211 |
|
58 |
|
|
|
59 |
<p>MARC stands for Machine Readable Cataloging. A MARC record contains bibliographic information about an item. MARC21 is used globally, whereas UNIMARC tends to be used in Europe. </p> |
| 212 |
|
60 |
|
| 213 |
[% IF ( proposeimport ) %] |
61 |
[% FOREACH flavourloo IN flavourloop %] |
| 214 |
<p>Now we're ready to create the database tables and fill them with some default data.</p> |
62 |
[% IF ( flavourloo.label == "Unimarc") %] |
| 215 |
<form action="install.pl"> |
63 |
<p> |
| 216 |
<input type="hidden" name="step" value="3" /> |
64 |
<label><input type="radio" name="marcflavour" value="[% flavourloo.code %]" /> [% flavourloo.label %]</label> |
| 217 |
<input type="hidden" name="op" value="importdatastructure" /> |
65 |
</p> |
| 218 |
<p> Click 'Next' to continue <input value="Next >>" type="submit" /></p> |
66 |
[% ELSE %] |
| 219 |
</form> |
67 |
<p> |
| 220 |
[% END %] |
68 |
<label><input type="radio" name="marcflavour" value="[% flavourloo.code %]" checked="checked" /> [% flavourloo.label %]</label> |
|
|
69 |
</p> |
| 70 |
[% END %] |
| 71 |
[% END %] |
| 72 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
| 73 |
</form> |
| 74 |
[% END # / IF choosemarc %] |
| 221 |
|
75 |
|
| 222 |
[% IF ( default ) %] |
76 |
[% IF ( selectframeworks ) %] |
| 223 |
[% IF ( upgrading ) %] |
77 |
<h2>Web installer › Selecting default settings</h2> |
| 224 |
<p> |
78 |
|
| 225 |
We are upgrading from Koha [% dbversion %] to [% kohaversion %], you must update your database. |
79 |
|
| 226 |
<br> |
80 |
<form name="frameworkselection" method="post" action="install.pl"> |
| 227 |
<a href="install.pl?step=3&op=updatestructure" class="button">Update your database</a> |
81 |
<input type="hidden" name="step" value="3" /> |
| 228 |
</p> |
82 |
<input type="hidden" name="op" value="addframeworks" /> |
| 229 |
[% ELSE %] |
83 |
[% IF ( frameworksloop ) %] |
| 230 |
<p>We are ready to do some basic configuration. Please install some basic configuration settings to continue the installation: |
84 |
<h3>MARC frameworks: [% marcflavour %]</h3> |
| 231 |
<br> |
85 |
[% IF ( en_marc_frameworks ) %] |
| 232 |
<br> |
86 |
<h4><span class="error">No MARC frameworks are available for your language. |
| 233 |
<a href="install.pl?step=3&op=choosemarc" class="button">Install basic configuration settings</a> |
87 |
Defaulting to the frameworks supplied for English (en)<span></h4> |
| 234 |
|
88 |
[% END %] |
| 235 |
[% END %] |
89 |
[% FOREACH frameworksloo IN frameworksloop %] |
| 236 |
[% END %] |
90 |
<h4>[% frameworksloo.label %]</h4> |
|
|
91 |
|
| 92 |
<div class="checkboxes"> |
| 237 |
|
93 |
|
| 238 |
[% IF ( updatestructure ) %] |
94 |
<p> |
| 239 |
<div><h2 align="center">Updating database structure</h2> |
95 |
<a class="selectall [% frameworksloo.label FILTER lower %]" href="#">Select all [% frameworksloo.label FILTER lower %] data</a> |
| 240 |
[% IF ( has_update_succeeds ) %] |
96 |
<a class="deselectall [% frameworksloo.label FILTER lower %]" href="#">Select no [% frameworksloo.label FILTER lower %] data</a> |
| 241 |
<p>Update report :</p> |
97 |
</p> |
| 242 |
<ul> |
98 |
|
| 243 |
[% FOREACH update_repor IN update_report %] |
99 |
[% FOREACH framework IN frameworksloo.frameworks %] |
| 244 |
<li>[% update_repor.line |html %]</li> |
100 |
<div class="checkbox"> |
| 245 |
[% END %] |
101 |
<label> |
| 246 |
</ul> |
102 |
[% IF ( framework.checked ) %] |
| 247 |
[% END %] |
103 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id ="[%framework.fwkname%]" checked="checked" /> |
| 248 |
[% IF ( has_update_errors ) %] |
104 |
[% ELSE %] |
| 249 |
<p>Update errors :</p> |
105 |
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id ="[%framework.fwkname%]" /> |
| 250 |
<ul> |
106 |
[% END %] |
| 251 |
[% FOREACH update_error IN update_errors %] |
107 |
[% framework.fwkdescription %] |
| 252 |
<li class="update_error">[% update_error.line |html %]</li> |
108 |
<em>([% framework.fwkname %])</em> |
| 253 |
[% END %] |
109 |
</label> |
| 254 |
</ul> |
110 |
</div> |
| 255 |
[% END %] |
111 |
<hr /> |
| 256 |
[% UNLESS ( has_update_errors ) %] |
112 |
[% END # / FOREACH framework %] |
| 257 |
<p>Everything went OK, update done.</p> |
113 |
</div> |
| 258 |
[% END %] |
114 |
[% END # / FOREACH frameworksloo %] |
| 259 |
<a href="install.pl?step=3&op=finished" class="button">Continue to log in to Koha</a> |
115 |
[% END # / IF frameworkdsloop %] |
| 260 |
</div> |
116 |
|
|
|
117 |
<h3>Other data</h3> |
| 118 |
|
| 119 |
[% IF ( en_sample_data ) %] |
| 120 |
<h4><span class="error">No sample data and settings are available for your language. |
| 121 |
Defaulting to the samples supplied for English (en)<span></h4> |
| 122 |
[% END %] |
| 123 |
|
| 124 |
[% FOREACH levelloo IN levelloop %] |
| 125 |
<h4>[% levelloo.label %]</h4> |
| 126 |
|
| 127 |
<div class="checkboxes"> |
| 128 |
|
| 129 |
<p> |
| 130 |
<a class="selectall [% levelloo.label FILTER lower %]" href="#">Select all [% levelloo.label FILTER lower %] data</a> |
| 131 |
<a class="deselectall [% levelloo.label FILTER lower %]" href="#">Select no [% levelloo.label FILTER lower %] data</a> |
| 132 |
</p> |
| 133 |
|
| 134 |
[% FOREACH framework IN levelloo.frameworks %] |
| 135 |
<div class="checkbox"> |
| 136 |
<label for="[% framework.fwkname %]"> |
| 137 |
[% IF ( framework.checked ) %] |
| 138 |
<input type="checkbox" name="framework" value="[%framework.fwkfile %]" id="[%framework.fwkname%]" checked="checked" /> |
| 139 |
[% ELSE %] |
| 140 |
<input type="checkbox" name="framework" value="[%framework.fwkfile %]" id="[%framework.fwkname%]" /> |
| 141 |
[% END %] |
| 142 |
[% framework.fwkdescription %] |
| 143 |
<em>([% framework.fwkname %])</em> |
| 144 |
</label> |
| 145 |
</div> <!-- /div.checkbox --> |
| 146 |
[% END # / FOREACH framework %] |
| 147 |
</div> |
| 148 |
[% END # / FOREACH levelloo %] |
| 149 |
|
| 150 |
<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> |
| 151 |
|
| 152 |
<p><input type="submit" value="Import" class="btn btn-primary" /></p> |
| 153 |
</form> |
| 154 |
[% END # / IF selectframeworks %] |
| 155 |
|
| 156 |
[% IF ( addframeworks ) %] |
| 157 |
<h2>Web installer › Default data loaded</h2> |
| 158 |
[% FOREACH lis IN list %] |
| 159 |
<h3>[% lis.level FILTER ucfirst %] data added</h3> |
| 160 |
<ul> |
| 161 |
[% FOREACH fwklis IN lis.fwklist %] |
| 162 |
<li> |
| 163 |
[% fwklis.fwkname %] |
| 164 |
[% IF ( fwklis.error ) %]<p class="bg-danger">[% fwklis.error %]</p>[% END %] |
| 165 |
</li> |
| 166 |
[% END %] |
| 167 |
</ul> |
| 168 |
[% END %] |
| 169 |
|
| 170 |
<h3>Basic installation complete.</h3> |
| 171 |
|
| 172 |
<p>In the next steps you will be guided through some basic requirements like defining Koha user with all administrative privileges (superlibrarian).</p> |
| 173 |
|
| 174 |
<form action="/cgi-bin/koha/installer/install.pl" method="post" name="finish"> |
| 175 |
<h4> |
| 176 |
You can help the Koha community by sharing your statistics with us. |
| 177 |
</h4> |
| 178 |
<p> |
| 179 |
If you wish to share some of your data, please enable the functionality in the "Share your usage statistics" section of the Administration module. |
| 180 |
</p> |
| 181 |
|
| 182 |
<input type="hidden" name="step" value="3" /> |
| 183 |
<input type="hidden" name="op" value="finish" /> |
| 184 |
<p> |
| 185 |
<input value="Set up some of Koha's basic requirements" class="btn btn-primary" type="submit" /> |
| 186 |
</p> |
| 187 |
</form> |
| 188 |
|
| 189 |
[% END # / IF addframeworks %] |
| 190 |
|
| 191 |
[% IF ( importdatastructure ) %] |
| 192 |
[% IF ( error ) %] |
| 193 |
<p>The following error occurred while importing the database structure:</p> |
| 194 |
<div class="alert alert-warning"><p>[% error %] </p></div> |
| 195 |
<p>Please contact your system administrator</p> |
| 196 |
[% ELSE %] |
| 197 |
<h2>Web installer › Success</h2> |
| 198 |
<div class="alert alert-success"><p>Database tables created</p></div> |
| 199 |
<form action="install.pl" method="post"> |
| 200 |
<input type="hidden" name="step" value="3" /> |
| 201 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
| 202 |
</form> |
| 203 |
[% END %] |
| 204 |
[% END # / IF importdatastructure %] |
| 205 |
|
| 206 |
[% IF ( proposeimport ) %] |
| 207 |
<h2>Web installer › Set up database</h2> |
| 208 |
<p>Now we're ready to create the database tables and fill them with some default data.</p> |
| 209 |
<form action="install.pl" method="post"> |
| 210 |
<input type="hidden" name="step" value="3" /> |
| 211 |
<input type="hidden" name="op" value="importdatastructure" /> |
| 212 |
<p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p> |
| 213 |
</form> |
| 214 |
[% END # / proposeimport %] |
| 215 |
|
| 216 |
[% IF ( default ) %] |
| 217 |
[% IF ( upgrading ) %] |
| 218 |
<h2>Web installer › Update database</h2> |
| 219 |
<p>We are upgrading from Koha [% dbversion %] to [% kohaversion %]</p> |
| 220 |
<p><a href="install.pl?step=3&op=updatestructure" class="btn btn-primary">Update your database</a></p> |
| 221 |
[% ELSE %] |
| 222 |
<h2>Web installer › Install basic configuration settings</h2> |
| 223 |
<p>We are ready to do some basic configuration.</p> |
| 224 |
<p> <a href="install.pl?step=3&op=choosemarc" class="btn btn-primary">Continue to the next step</a> </p> |
| 225 |
[% END %] |
| 226 |
[% END # / IF default %] |
| 227 |
|
| 228 |
[% IF ( updatestructure ) %] |
| 229 |
<h2>Updating database structure</h2> |
| 230 |
[% IF ( has_update_succeeds ) %] |
| 231 |
<p>Update report :</p> |
| 232 |
<ul> |
| 233 |
[% FOREACH update_repor IN update_report %] |
| 234 |
<li>[% update_repor.line |html %]</li> |
| 235 |
[% END %] |
| 236 |
</ul> |
| 237 |
[% END %] |
| 238 |
[% IF ( has_update_errors ) %] |
| 239 |
<p>Update errors :</p> |
| 240 |
<ul> |
| 241 |
[% FOREACH update_error IN update_errors %] |
| 242 |
<li class="update_error">[% update_error.line |html %]</li> |
| 243 |
[% END %] |
| 244 |
</ul> |
| 245 |
[% END %] |
| 246 |
[% UNLESS ( has_update_errors ) %] |
| 247 |
<p>Everything went okay. Update done.</p> |
| 248 |
[% END %] |
| 249 |
<p><a href="install.pl?step=3&op=finished" class="btn btn-primary">Continue to log in to Koha</a></p> |
| 250 |
[% END # / IF updatestructure %] |
| 251 |
</div> <!-- / #installer-step3 --> |
| 252 |
</div> <!-- / .row --> |
| 253 |
|
| 254 |
[% IF ( selectframeworks ) %] |
| 255 |
<script type="text/javascript"> |
| 256 |
$(document).ready(function(){ |
| 257 |
$(".selectall,.deselectall").on("click",function(e){ |
| 258 |
e.preventDefault(); |
| 259 |
var container = $(this).parent().parent(); |
| 260 |
if( $(this).hasClass("selectall") ){ |
| 261 |
var state = true; |
| 262 |
} else { |
| 263 |
var state = false; |
| 264 |
} |
| 265 |
$( container ).find("input").prop("checked", state); |
| 266 |
$( container ).find(".selectall,.deselectall").toggle(); |
| 267 |
}); |
| 268 |
}); |
| 269 |
</script> |
| 261 |
[% END %] |
270 |
[% END %] |
| 262 |
|
271 |
|
| 263 |
</div> |
272 |
[% INCLUDE 'intranet-bottom.inc' %] |
| 264 |
</body> |
|
|
| 265 |
</html> |