Modified step3 template for PostgreSQL option.
[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_LOOP Name="frameworksloop"-->
112     <div>
113     <h3><!--TMPL_VAR Name="label"--></h3>
114     <!--TMPL_LOOP Name="frameworks"-->
115         <table style="border:1px;vertical-align:top;">
116         <tr>
117         <td style="vertical-align:top;">
118             <!--TMPL_IF Name="checked"-->
119                 <input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked="checked" />
120             <!--TMPl_ELSE-->
121                 <input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
122             <!--/TMPL_IF-->
123         </td>
124         <td>
125             <!--TMPL_VAR Name="fwkdescription"-->
126             <em>(<!--TMPL_VAR Name="fwkname"-->)</em>
127         </td>
128         </table>
129     <!--/TMPL_LOOP-->
130     </div>
131     </p>
132     <!--/TMPL_LOOP-->
133     <h2>Other data</h2>
134     <!--/TMPL_IF -->
135     <!--TMPL_LOOP Name="levelloop"-->
136     <div>
137     <h3><!--TMPL_VAR Name="label"--></h3>
138     <!--TMPL_LOOP Name="frameworks"-->
139         <table style="border:1px;vertical-align:top;">
140         <tr>
141         <td style="vertical-align:top;">
142             <!--TMPL_IF Name="checked"-->
143                 <input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked="checked" />
144             <!--TMPl_ELSE-->
145                 <input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
146             <!--/TMPL_IF-->
147         </td>
148         <td>
149             <!--TMPL_VAR Name="fwkdescription"-->
150             <em>(<!--TMPL_VAR Name="fwkname"-->)</em>
151         </td>
152         </table>
153     <!--/TMPL_LOOP-->
154     </div>
155     </p>
156     <!--/TMPL_LOOP-->
157     <p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete,
158     please be patient.</p>
159     <p><input type="submit" value="import" />
160     </p>
161     </form>
162     </p>
163 <!--/TMPL_IF-->
164
165
166 <!--TMPL_IF Name="addframeworks"-->
167     <!--TMPL_LOOP Name="list"-->
168     <h3><!--TMPL_VAR Name="level"--> data added</h3>
169     <ul>
170     <!--TMPL_LOOP Name="fwklist"-->
171         <li><!--TMPL_VAR Name="fwkname"--><!--TMPL_IF Name="error"--><br /><span class="error"><!--TMPL_VAR Name="error"--></span><!--/TMPL_IF--> </li>
172     <!--/TMPL_LOOP-->
173     </ul>
174     <!--/TMPL_LOOP-->
175     <h2>Zebra or Nozebra ?</h2>
176     <p>Koha comes in 2 flavours : Zebra and NoZebra. You will now decide the version you need</p>
177     <p>some directions to help you choose:</p>
178     <h3>Zebra version</h3>
179       <ul>
180         <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>
181         <li>provide a public (external) z3950 server</li>
182         <li>is complex to configure and administrate</li>
183     </ul>
184     <h3>NoZebra version</h3>
185         <ul>
186             <li>is available immediatly once Koha is installed</li>
187             <li>is probably not that speedy for catalogue with more than 100 000 items</li>
188             <li>does not provide a public (external) z3950 server</li>
189         </ul>
190     <p>Whatever you choose now, you can always change your mind and setup the other version.</p>
191     <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>
192     <h3>What do you choose ?</h3>
193         <form action="install.pl">
194             <input type="hidden" name="step" value="3" />
195             <input type="hidden" name="op" value="Nozebra" />
196             <p><input type="radio" name="NoZebra" value="1" />Nozebra: my catalogue is not that large and I want something simple to setup</p>
197             <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>
198             <input type="submit" value="Choose" /></form>
199         </form>
200 <!-- /TMPL_IF -->
201
202 <!-- TMPL_IF name="Nozebra" -->
203     <p>Installation complete.<br />
204         <p>Click on Finish to complete and load the Koha Staff Interface.
205         <form name="finish">
206         <input type="hidden" name="step" value="3" />
207         <input type="hidden" name="op" value="finish" />
208         <input type="submit" value="Finish" /></form>
209         </p>
210     </p>
211 <!--/TMPL_IF-->
212
213
214 <!--TMPL_IF Name="importdatastructure"-->
215     <!--TMPL_IF Name="error"-->
216         <p>The following error occcurred while importing the database structure:</p>
217         <p class="error"><!-- TMPL_VAR NAME="error" --> </p>
218         <p>Please contact your system administrator</p>
219     <!-- TMPL_ELSE -->
220         <h2 align="center">Success</h2>
221         <ul>
222         <li>Database tables created</li>
223         </ul>
224         <form action="install.pl">
225         <input type="hidden" name="step" value="3" />
226             <p> Click Next to continue <input value="Next &gt;&gt;" type="submit" /></p>
227         </form>
228     <!-- /TMPL_IF -->
229 <!--/TMPL_IF-->
230
231
232 <!--TMPL_IF Name="proposeimport"-->
233     <p>Now we're ready to create the database tables and fill them with some default data.</p>
234     <form action="install.pl">
235     <input type="hidden" name="step" value="3" />
236     <input type="hidden" name="op" value="importdatastructure" />
237     <p> Click Next to continue <input value="Next &gt;&gt;" type="submit" /></p>
238     </form>
239 <!--/TMPL_IF-->
240
241
242 <!--TMPL_IF Name="default"-->
243     <!-- TMPL_IF name="upgrading" -->
244         <p>
245             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>
246         </p>
247     <!-- TMPL_ELSE -->
248         <p>We are ready to do some basic configuration. Please 
249             <a href="install.pl?step=3&amp;op=choosemarc" class="button">install basic configuration settings</a>
250             to continue the installation.
251         </p>
252     <!-- /TMPL_IF -->
253 <!--/TMPL_IF-->
254
255
256
257 <!--TMPL_IF Name="updatestructure"-->
258   <div><h2 align="center">Updating Mysql database</h2>
259   <!--TMPL_IF Name="updatereport"-->
260     <p>Update report :</p>
261     <p>
262     <!--TMPL_VAR Name="updatereport"-->
263     </p>
264   <!--TMPL_ELSE-->
265     <p>Everything went OK, update done.</p>
266   <!--/TMPL_IF-->
267 <a href="install.pl?step=3&amp;op=finished" class="button">Continue to login to Koha</a>
268   </div>
269 <!--/TMPL_IF-->
270
271 </body>
272 </html>