#1449: Installer improved to add a zebra/Nozebra screen
[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
84 <!--TMPL_IF Name="selectframeworks"-->
85     <h2 align="center">Selecting Default Settings</h2>
86     <form name="frameworkselection" method="post" action="install.pl">
87     <input type="hidden" name="step" value="3" />
88     <input type="hidden" name="op" value="addframeworks" />
89     <p>Each language has a set of default settings that cover a wide range of configuration options. Please select a language from the dropdown or use the default lanaguage already selected.</p>
90     
91     <p><select name="fwklanguage" onchange="javascript:refresh(this.value)">
92     <!--TMPL_LOOP Name="languagelist" -->
93     <!--TMPL_IF Name="checked"--><option value="<!--TMPL_VAR Name="dirname"-->" selected="selected"><!--TMPL_VAR Name="languagedescription"--></option>
94     <!--TMPL_ELSE--><option value="<!--TMPL_VAR Name="dirname"-->"><!--TMPL_VAR Name="languagedescription"--></option>
95     <!--/TMPL_IF-->
96     <!--/TMPL_LOOP-->
97     </select>
98     </p>
99     <p>
100     <!--TMPL_LOOP Name="levelloop"-->
101     <div>
102     <h3><!--TMPL_VAR Name="label"--></h3>
103     <!--TMPL_LOOP Name="frameworks"-->
104         <table style="border:1px;vertical-align:top;">
105         <tr>
106         <td style="vertical-align:top;">
107             <!--TMPL_IF Name="checked"-->
108                 <input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked="checked" />
109             <!--TMPl_ELSE-->
110                 <input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
111             <!--/TMPL_IF-->
112         </td>
113         <td>
114             <!--TMPL_VAR Name="fwkdescription"-->
115             <em>(<!--TMPL_VAR Name="fwkname"-->)</em>
116         </td>
117         </table>
118     <!--/TMPL_LOOP-->
119     </div>
120     </p>
121     <!--/TMPL_LOOP-->
122     <p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete,
123     please be patient.</p>
124     <p><input type="submit" value="import" />
125     </p>
126     </form>
127     </p>
128 <!--/TMPL_IF-->
129
130
131 <!--TMPL_IF Name="addframeworks"-->
132     <!--TMPL_LOOP Name="list"-->
133     <h3><!--TMPL_VAR Name="level"--> data added</h3>
134     <ul>
135     <!--TMPL_LOOP Name="fwklist"-->
136         <li><!--TMPL_VAR Name="fwkname"--><!--TMPL_IF Name="error"--><br /><span class="error"><!--TMPL_VAR Name="error"--></span><!--/TMPL_IF--> </li>
137     <!--/TMPL_LOOP-->
138     </ul>
139     <!--/TMPL_LOOP-->
140     <h2>Zebra or Nozebra ?</h2>
141     <p>Koha comes in 2 flavours : Zebra and NoZebra. You will now decide the version you need</p>
142     <p>some directions to help you choose:</p>
143     <h3>Zebra version</h3>
144       <ul>
145         <li>is highly scalable (can support easily more than 300 000 items on a public library with an OPAC widely accessed on the web : see http://catalog.ccfls.org/cgi-bin/koha/opac-main.pl or http://www.mediathequeouestprovence.fr/)<li>
146         <li>provide a public (external) z3950 server</li>
147         <li>is complex to configure and administrate</li>
148     </ul>
149     <h3>NoZebra version</h3>
150         <ul>
151             <li>is available immediatly once Koha is installed</li>
152             <li>is probably not that speedy for catalogue with more than 100 000 items</li>
153             <li>does not provide a public (external) z3950 server</li>
154         </ul>
155     <p>Whatever you choose now, you can always change your mind and setup the other version.</p>
156     <p>Note that, if you choose "Zebra", you won't have a working koha, you must set up zebra first (catalogue search won't work, the rest will)</p>
157     <h3>What do you choose ?</h3>
158         <form action="install.pl">
159             <input type="hidden" name="step" value="3" />
160             <input type="hidden" name="op" value="Nozebra" />
161             <p><input type="radio" name="NoZebra" value="1" />Nozebra: my catalogue is not that large and I want something simple to setup</p>
162             <p><input type="radio" name="NoZebra" value="0" />Zebra: I have a large catalogue, I'm not afraid having to setup more software on my server</p>
163             <input type="submit" value="Choose" /></form>
164         </form>
165 <!-- /TMPL_IF -->
166
167 <!-- TMPL_IF name="Nozebra" -->
168     <p>Installation complete.<br />
169         <p>Click on Finish to complete and load the Koha Staff Interface.
170         <form name="finish">
171         <input type="hidden" name="step" value="3" />
172         <input type="hidden" name="op" value="finish" />
173         <input type="submit" value="Finish" /></form>
174         </p>
175     </p>
176 <!--/TMPL_IF-->
177
178
179 <!--TMPL_IF Name="importdatastructure"-->
180     <!--TMPL_IF Name="error"-->
181         <p>The following error occcurred while importing the database structure:</p>
182         <p class="error"><!-- TMPL_VAR NAME="error" --> </p>
183         <p>Please contact your system administrator</p>
184     <!-- TMPL_ELSE -->
185         <h2 align="center">Success</h2>
186         <ul>
187         <li>Database tables created</li>
188         </ul>
189         <form action="install.pl">
190         <input type="hidden" name="step" value="3" />
191             <p> Click Next to continue <input value="Next &gt;&gt;" type="submit" /></p>
192         </form>
193     <!-- /TMPL_IF -->
194 <!--/TMPL_IF-->
195
196
197 <!--TMPL_IF Name="proposeimport"-->
198     <p>Now we're ready to create the database tables and fill them with some default data.</p>
199     <form action="install.pl">
200     <input type="hidden" name="step" value="3" />
201     <input type="hidden" name="op" value="importdatastructure" />
202     <p> Click Next to continue <input value="Next &gt;&gt;" type="submit" /></p>
203     </form>
204 <!--/TMPL_IF-->
205
206
207 <!--TMPL_IF Name="default"-->
208     <!-- TMPL_IF name="upgrading" -->
209         <p>
210             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>
211         </p>
212     <!-- TMPL_ELSE -->
213         <p>We are ready to do some basic configuration. Please 
214             <a href="install.pl?step=3&amp;op=selectframeworks" class="button">install basic configuration settings</a>
215             to continue the installation.
216         </p>
217     <!-- /TMPL_IF -->
218 <!--/TMPL_IF-->
219
220
221
222 <!--TMPL_IF Name="updatestructure"-->
223   <div><h2 align="center">Updating Mysql database</h2>
224   <!--TMPL_IF Name="updatereport"-->
225     <p>Update report :</p>
226     <p>
227     <!--TMPL_VAR Name="updatereport"-->
228     </p>
229   <!--TMPL_ELSE-->
230     <p>Everything went OK, update done.</p>
231   <!--/TMPL_IF-->
232 <a href="install.pl?step=3&amp;op=finished" class="button">Continue to login to Koha</a>
233   </div>
234 <!--/TMPL_IF-->
235
236 </body>
237 </html>