first go at moving templates to a modules/ dir
[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/en/images/koha.org-logo.gif" /></h1>
6 <h1>Koha &rsaquo; Web Installer &rsaquo; Step 3</h1>
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 ><!--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     <div style="border:1px;">
105     <p>
106     <!--TMPL_IF Name="checked"--><input type="checkbox" Name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked />
107     <!--TMPl_ELSE--><input type="checkbox" Name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
108     <!--/TMPL_IF-->
109     <!--TMPL_VAR Name="fwkdescription"-->
110     <em>(<!--TMPL_VAR Name="fwkname"-->)</em>
111     </p>
112     </div>
113   <!--/TMPL_LOOP-->
114   </div>
115   </p>
116   <!--/TMPL_LOOP-->
117   <p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete,
118   please be patient.</p>
119   <p><input type="submit" value="import" />
120   </p>
121   </form>
122   </p>
123 <!--/TMPL_IF-->
124
125
126 <!--TMPL_IF Name="addframeworks"-->
127   <h2 align="center">Results of installation:</h2>
128   <p>Language :<!--TMPL_VAR Name="fwklanguage"--></p>
129   <!--TMPL_LOOP Name="list"-->
130   <h3><!--TMPL_VAR Name="level"--> data added</h3>
131   <p>
132   <ul>
133   <!--TMPL_LOOP Name="fwklist"-->
134     <li><!--TMPL_VAR Name="fwkname"--><!--TMPL_IF Name="error"--><br /><font color="red"><b></b><!--TMPL_VAR Name="error"--></font><!--/TMPL_IF--> </li>
135   <!--/TMPL_LOOP-->
136   </ul>
137   </p>
138   <!--/TMPL_LOOP-->
139   <p>Installation complete.<br/>
140     <p>Click on Finish to complete and load the Koha Staff Interface.
141     <form name="finish">
142     <input type="hidden" name="step" value="3" />
143     <input type="hidden" name="op" value="finish" />
144     <input type="submit" value="Finish" /></form>
145     </p>
146   </p>
147 <!--/TMPL_IF-->
148
149
150 <!--TMPL_IF Name="importdatastructure"-->
151     <!--TMPL_IF Name="error"-->
152         <p>The following error occcurred while importing the database structure:</p>
153         <p class="error"><!-- TMPL_VAR NAME="error" --> </p>
154         <p>Please contact your system administrator</p>
155     <!-- TMPL_ELSE -->
156         <h2 align="center">Success</h2>
157         <ul>
158         <li>Database tables created</li>
159         </ul>
160         <form action="install.pl">
161         <input type="hidden" name="step" value="3" />
162         <p> Click Next to continue <input value="Next &gt;&gt;" type="submit"></p>
163         </form>
164     <!-- /TMPL_IF -->
165 <!--/TMPL_IF-->
166
167
168 <!--TMPL_IF Name="proposeimport"-->
169   <p>Now we're ready to create the database tables and fill them with some default data.</p>
170   <form action="install.pl">
171   <input type="hidden" name="step" value="3" />
172   <input type="hidden" name="op" value="importdatastructure"/>
173   <p> Click Next to continue <input value="Next &gt;&gt;" type="submit"></p>
174   </form>
175 <!--/TMPL_IF-->
176
177
178 <!--TMPL_IF Name="default"-->
179     <!-- TMPL_IF name="upgrading" -->
180         <p>
181             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>
182         </p>
183     <!-- TMPL_ELSE -->
184         <p>We are ready to do some basic configuration. Please 
185             <a href="install.pl?step=3&amp;op=selectframeworks" class="button">install basic configuration settings</a>
186             to continue the installation.
187         </p>
188     <!-- /TMPL_IF -->
189 <!--/TMPL_IF-->
190
191
192
193 <!--TMPL_IF Name="updatestructure"-->
194   <div><h2 align="center">Updating Mysql database</h2>
195   <!--TMPL_IF Name="updatereport"-->
196     <p>Update report :</p>
197     <p>
198     <!--TMPL_VAR Name="updatereport"-->
199     </p>
200   <!--TMPL_ELSE-->
201     <p>Everything went OK, update done.</p>
202   <!--/TMPL_IF-->
203 <a href="install.pl?step=3&amp;op=finished" class="button">Continue to login to Koha</a>
204   </div>
205 <!--/TMPL_IF-->
206
207 </body>
208 </html>