1 [% INCLUDE 'doc-head-open.inc' %]<title>Koha › Web Installer › Step 3</title>
2 [% IF ( finish ) %]<meta http-equiv="refresh" content="10; url=/cgi-bin/koha/mainpage.pl">[% END %]
3 [% INCLUDE 'installer-doc-head-close.inc' %]
5 <h1 id="logo"><img alt="Koha" src="/intranet-tmpl/prog/img/koha.org-logo.gif" /> Web Installer › Step 3</h1>
7 [% IF ( selectframeworks ) %]
8 <script language="JavaScript">
11 var surl = unescape(window.location.pathname);
15 // the timeout value should be the same as in the "refresh" meta-tag
16 setTimeout( "refresh()", 2*1000 );
19 function refresh(value)
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.
25 surl=surl+'?step=3&op=selectframeworks&fwklanguage='+value;
26 window.location.href = surl;
32 <script language="JavaScript1.1">
34 function refresh(value)
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.
41 surl=surl+'?step=3&op=selectframeworks&fwklanguage='+value;
42 window.location.replace( surl );
47 <script language="JavaScript1.2">
49 function refresh(value)
51 // This version of the refresh function will be invoked
52 // for browsers that support JavaScript version 1.2
55 // The argument to the location.reload function determines
56 // if the browser should retrieve the document from the
57 // web-server. In our example all we need to do is cause
58 // the JavaScript block in the document body to be
59 // re-evaluated. If we needed to pull the document from
60 // the web-server again (such as where the document contents
61 // change dynamically) we would pass the argument as 'true'.
63 surl=surl+'?step=3&op=selectframeworks&fwklanguage='+value;
64 window.location.replace( surl );
70 <script language="JavaScript">
72 subfield = document.getElementById('bloc'+link);
73 var initstyle=subfield.style.display;
74 if (initstyle == 'block') subfield.style.display = 'none' ;
75 if (initstyle == 'none') subfield.style.display = 'block' ;
80 <h1>Congratulations, Installation complete</h1>
81 <p>If this page does not redirect in 5 seconds, click <a href="/">here</a>.</p>
83 [% IF ( choosemarc ) %]
84 <h2 align="center">Select your MARC flavour</h2>
85 <form name="frameworkselection" method="post" action="install.pl">
86 <input type="hidden" name="step" value="3" />
87 <input type="hidden" name="op" value="selectframeworks" />
89 [% FOREACH flavourloo IN flavourloop %]
91 [% IF ( flavourloo.checked ) %]
92 <input type="radio" name="marcflavour" value="[% flavourloo.code %]" checked /> [% flavourloo.label %] <br/>
94 <input type="radio" name="marcflavour" value="[% flavourloo.code %]" /> [% flavourloo.label %] <br/>
99 <p> Click Next to continue <input value="Next >>" type="submit" /></p>
103 [% IF ( selectframeworks ) %]
104 <h2 align="center">Selecting Default Settings</h2>
105 <form name="frameworkselection" method="post" action="install.pl">
106 <input type="hidden" name="step" value="3" />
107 <input type="hidden" name="op" value="addframeworks" />
109 [% IF ( frameworksloop ) %]
110 <h2>MARC Frameworks: [% marcflavour %]</h2>
111 [% IF ( en_marc_frameworks ) %]
112 <h4><span class="error">No MARC frameworks are available for your language.
113 Defaulting to the frameworks supplied for English (en)<span></h4>
115 [% FOREACH frameworksloo IN frameworksloop %]
117 <h3>[% frameworksloo.label %]</h3>
118 [% FOREACH framework IN frameworksloo.frameworks %]
119 <table style="border:1px;vertical-align:top;">
121 <td style="vertical-align:top;">
122 [% IF ( framework.checked ) %]
123 <input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" />
125 <input type="checkbox" name="framework" value="[% framework.fwkfile %]" />
129 [% framework.fwkdescription %]
130 <em>([% framework.fwkname %])</em>
139 [% IF ( en_sample_data ) %]
140 <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>
143 [% FOREACH levelloo IN levelloop %]
145 <h3>[% levelloo.label %]</h3>
146 [% FOREACH framework IN levelloo.frameworks %]
147 <table style="border:1px;vertical-align:top;">
149 <td style="vertical-align:top;">
150 [% IF ( framework.checked ) %]
151 <input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" />
153 <input type="checkbox" name="framework" value="[% framework.fwkfile %]" />
157 [% framework.fwkdescription %]
158 <em>([% framework.fwkname %])</em>
165 <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>
167 <p><input type="submit" value="import" />
174 [% IF ( addframeworks ) %]
175 [% FOREACH lis IN list %]
176 <h3>[% lis.level %] data added</h3>
178 [% FOREACH fwklis IN lis.fwklist %]
179 <li>[% fwklis.fwkname %][% IF ( fwklis.error ) %]<br /><span class="error">[% fwklis.error %]</span>[% END %] </li>
183 <h2>Choose indexing engine</h2>
184 <p>Searching Koha's bibliographic and authorities databases can be accomplished in two ways:
185 Koha can utilize a textual index engine (Zebra) or use its own internal indexing scheme (NoZebra).
187 <p>You can change your selection after installation and re-index accordingly.</p>
190 <li>Is highly scalable (can scale to tens of millions of bibliographic records. Examples of
191 Zebra Koha installations include:
192 http://catalog.ccfls.org/cgi-bin/koha/opac-main.pl or
193 http://www.mediathequeouestprovence.fr/)
195 <li>Native support for Z39.50 and SRU servers for bibliographic and authority data</li>
196 <li>Support for field-weighting, relevance ranking, truncation, stemming</li>
197 <li>Arbitrarily complex queries</li>
198 <li>Can be complex to configure and maintain</li>
200 <h3>NoZebra (internal Koha indexes)</h3>
202 <li>Simple to configure and maintain</li>
203 <li>Hasn't been tested with data sets larger than 100,000 records</li>
204 <li>Does not provide a public (external) z3950 server</li>
206 <p>Note that, if you choose "Zebra", you must configure Zebra before your catalog searching will work)</p>
207 <h3>Please Choose:</h3>
208 <form action="install.pl">
209 <input type="hidden" name="step" value="3" />
210 <input type="hidden" name="op" value="SetIndexingEngine" />
211 <p><input type="radio" name="NoZebra" value="1" />Nozebra: my catalog is not that large and I want something simple to setup/maintain</p>
212 <p><input type="radio" name="NoZebra" value="0" />Zebra: I have a large catalog, I understand I must configure Zebra after the installation has completed</p>
213 <input type="submit" value="Choose" /></form>
217 [% IF ( SetIndexingEngine ) %]
218 <p>Installation complete.<br />
219 <p>Click on Finish to complete and load the Koha Staff Interface.
221 <input type="hidden" name="step" value="3" />
222 <input type="hidden" name="op" value="finish" />
223 <input type="submit" value="Finish" /></form>
229 [% IF ( importdatastructure ) %]
231 <p>The following error occurred while importing the database structure:</p>
232 <p class="error">[% error %] </p>
233 <p>Please contact your system administrator</p>
235 <h2 align="center">Success</h2>
237 <li>Database tables created</li>
239 <form action="install.pl">
240 <input type="hidden" name="step" value="3" />
241 <p> Click Next to continue <input value="Next >>" type="submit" /></p>
247 [% IF ( proposeimport ) %]
248 <p>Now we're ready to create the database tables and fill them with some default data.</p>
249 <form action="install.pl">
250 <input type="hidden" name="step" value="3" />
251 <input type="hidden" name="op" value="importdatastructure" />
252 <p> Click Next to continue <input value="Next >>" type="submit" /></p>
258 [% IF ( upgrading ) %]
260 We are upgrading from Koha [% dbversion %] to [% kohaversion %], you must <a href="install.pl?step=3&op=updatestructure" class="button">update your database</a>
263 <p>We are ready to do some basic configuration. Please
264 <a href="install.pl?step=3&op=choosemarc" class="button">install basic configuration settings</a>
265 to continue the installation.
272 [% IF ( updatestructure ) %]
273 <div><h2 align="center">Updating database structure</h2>
274 [% IF ( has_update_succeeds ) %]
275 <p>Update report :</p>
277 [% FOREACH update_repor IN update_report %]
278 <li>[% update_repor.line |html %]</li>
282 [% IF ( has_update_errors ) %]
283 <p>Update errors :</p>
285 [% FOREACH update_error IN update_errors %]
286 <li class="update_error">[% update_error.line |html %]</li>
290 [% UNLESS ( has_update_errors ) %]
291 <p>Everything went OK, update done.</p>
293 <a href="install.pl?step=3&op=finished" class="button">Continue to log in to Koha</a>