9a4eb90df0c92197617a749dbb8195ce35b2a398
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / installer / step3.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha &rsaquo; Web Installer &rsaquo; Step 3</title>
2 <!--TMPL_IF Name="finish"--><meta http-equiv="refresh" content="10; url=/cgi-bin/koha/mainpage.pl"><!--/TMPL_IF-->
3 <!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
4 <div>
5 <h1 id="logo"><img alt="Koha" src="/intranet-tmpl/prog/img/koha.org-logo.gif" /> Web Installer &rsaquo; Step 3</h1>
6
7 <!--TMPL_IF NAME="selectframeworks"-->
8     <script language="JavaScript">
9     <!--
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         //  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)
50     {
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
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'.
62         //  
63         sURL=sURL+'?step=3&op=selectframeworks&fwklanguage='+value;
64         window.location.replace( sURL );
65     }
66     //-->
67     </script>
68     </head>
69     <body>
70     <script language="JavaScript">
71     function Hide(link) {
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' ;
76     }
77     </script>
78 <!--/TMPL_IF-->
79 <!--TMPL_IF Name="finish"-->
80     <h1>Congratulations, Installation complete</h1>
81     <p>If this page does not redirect in 5 seconds, click <a href="/">here</a>.</p> 
82 <!--/TMPL_IF-->
83 <!--TMPL_IF Name="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" />
88     <p>  
89     <!--TMPL_LOOP Name="flavourloop"-->
90     <div>
91             <!--TMPL_IF Name="checked"-->
92                 <input type="radio" name="marcflavour" value="<!--TMPL_VAR Name="code"-->" checked /> <!--TMPL_VAR Name="label"--> <br/>
93             <!--TMPl_ELSE-->
94                 <input type="radio" name="marcflavour" value="<!--TMPL_VAR Name="code"-->" /> <!--TMPL_VAR Name="label"--> <br/>
95             <!--/TMPL_IF-->
96     </div>
97     <!--/TMPL_LOOP-->
98     </p>
99     <p> Click Next to continue <input value="Next &gt;&gt;" type="submit" /></p>
100     </form>
101 <!--/TMPL_IF-->
102
103 <!--TMPL_IF Name="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" />
108     
109     <!--TMPL_IF Name="frameworksloop"-->
110     <h2>MARC Frameworks: <!--TMPL_VAR Name="marcflavour"--></h2>
111     <!-- TMPL_IF Name="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>
114     <!-- /TMPL_IF -->
115     <!--TMPL_LOOP Name="frameworksloop"-->
116     <div>
117     <h3><!--TMPL_VAR Name="label"--></h3>
118     <!--TMPL_LOOP Name="frameworks"-->
119         <table style="border:1px;vertical-align:top;">
120         <tr>
121         <td style="vertical-align:top;">
122             <!--TMPL_IF Name="checked"-->
123                 <input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked="checked" />
124             <!--TMPl_ELSE-->
125                 <input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
126             <!--/TMPL_IF-->
127         </td>
128         <td>
129             <!--TMPL_VAR Name="fwkdescription"-->
130             <em>(<!--TMPL_VAR Name="fwkname"-->)</em>
131         </td>
132         </table>
133     <!--/TMPL_LOOP-->
134     </div>
135     </p>
136     <!--/TMPL_LOOP-->
137     <h2>Other data</h2>
138     <!--/TMPL_IF -->
139     <!-- TMPL_IF Name="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>
142     <!-- /TMPL_IF -->
143     <!--TMPL_LOOP Name="levelloop"-->
144     <div>
145     <h3><!--TMPL_VAR Name="label"--></h3>
146     <!--TMPL_LOOP Name="frameworks"-->
147         <table style="border:1px;vertical-align:top;">
148         <tr>
149         <td style="vertical-align:top;">
150             <!--TMPL_IF Name="checked"-->
151                 <input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked="checked" />
152             <!--TMPl_ELSE-->
153                 <input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
154             <!--/TMPL_IF-->
155         </td>
156         <td>
157             <!--TMPL_VAR Name="fwkdescription"-->
158             <em>(<!--TMPL_VAR Name="fwkname"-->)</em>
159         </td>
160         </table>
161     <!--/TMPL_LOOP-->
162     </div>
163     </p>
164     <!--/TMPL_LOOP-->
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" />
168     </p>
169     </form>
170     </p>
171 <!--/TMPL_IF-->
172
173
174 <!--TMPL_IF Name="addframeworks"-->
175     <!--TMPL_LOOP Name="list"-->
176     <h3><!--TMPL_VAR Name="level"--> data added</h3>
177     <ul>
178     <!--TMPL_LOOP Name="fwklist"-->
179         <li><!--TMPL_VAR Name="fwkname"--><!--TMPL_IF Name="error"--><br /><span class="error"><!--TMPL_VAR Name="error"--></span><!--/TMPL_IF--> </li>
180     <!--/TMPL_LOOP-->
181     </ul>
182     <!--/TMPL_LOOP-->
183     <h2>Choose indexing engine</h2>
184     <p>Searching Koha's bibliographic and authorities databases can be acomplished in two ways:
185         Koha can utilize a textual index engine (Zebra) or use its own internal indexing scheme (NoZebra).
186         </p>
187     <p>You can change your selection after installation and re-index accordingly.</p>
188     <h3>Zebra</h3>
189       <ul>
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/)
194                 </li>
195         <li>Native support for Z39.50 and SRU servers for bibliographic and authoritiy 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>
199     </ul>
200     <h3>NoZebra (internal Koha indexes)</h3>
201         <ul>
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>
205         </ul>
206     <p>Note that, if you choose "Zebra", you must configure Zebra before your catalogue 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 catalogue 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 catalogue, I understand I must configure Zebra after the installation has completed</p>
213             <input type="submit" value="Choose" /></form>
214         </form>
215 <!-- /TMPL_IF -->
216
217 <!-- TMPL_IF name="SetIndexingEngine" -->
218     <p>Installation complete.<br />
219         <p>Click on Finish to complete and load the Koha Staff Interface.
220         <form name="finish">
221         <input type="hidden" name="step" value="3" />
222         <input type="hidden" name="op" value="finish" />
223         <input type="submit" value="Finish" /></form>
224         </p>
225     </p>
226 <!--/TMPL_IF-->
227
228
229 <!--TMPL_IF Name="importdatastructure"-->
230     <!--TMPL_IF Name="error"-->
231         <p>The following error occcurred while importing the database structure:</p>
232         <p class="error"><!-- TMPL_VAR NAME="error" --> </p>
233         <p>Please contact your system administrator</p>
234     <!-- TMPL_ELSE -->
235         <h2 align="center">Success</h2>
236         <ul>
237         <li>Database tables created</li>
238         </ul>
239         <form action="install.pl">
240         <input type="hidden" name="step" value="3" />
241             <p> Click Next to continue <input value="Next &gt;&gt;" type="submit" /></p>
242         </form>
243     <!-- /TMPL_IF -->
244 <!--/TMPL_IF-->
245
246
247 <!--TMPL_IF Name="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 &gt;&gt;" type="submit" /></p>
253     </form>
254 <!--/TMPL_IF-->
255
256
257 <!--TMPL_IF Name="default"-->
258     <!-- TMPL_IF name="upgrading" -->
259         <p>
260             We are upgrading from Koha <!-- TMPL_VAR name="dbversion" --> to <!-- TMPL_VAR name="kohaversion" -->, you must <a href="install.pl?step=3&amp;op=updatestructure" class="button">update your database</a>
261         </p>
262     <!-- TMPL_ELSE -->
263         <p>We are ready to do some basic configuration. Please 
264             <a href="install.pl?step=3&amp;op=choosemarc" class="button">install basic configuration settings</a>
265             to continue the installation.
266         </p>
267     <!-- /TMPL_IF -->
268 <!--/TMPL_IF-->
269
270
271
272 <!--TMPL_IF Name="updatestructure"-->
273   <div><h2 align="center">Updating database structure</h2>
274   <!--TMPL_IF Name="updatereport"-->
275     <p>Update report :</p>
276     <p>
277     <!--TMPL_VAR Name="updatereport"-->
278     </p>
279   <!--TMPL_ELSE-->
280     <p>Everything went OK, update done.</p>
281   <!--/TMPL_IF-->
282 <a href="install.pl?step=3&amp;op=finished" class="button">Continue to login to Koha</a>
283   </div>
284 <!--/TMPL_IF-->
285
286 </body>
287 </html>