This is a language commit. I've gone through most of the templates and
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / 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 <!--TMPL_IF Name="selectframeworks"-->
84   <h2 align="center">Selecting Default Settings</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="addframeworks" />
88   <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>
89
90   <p><select name="fwklanguage" onchange="javascript:refresh(this.value)">
91   <!--TMPL_LOOP Name="languagelist" -->
92   <!--TMPL_IF Name="checked"--><option value="<!--TMPL_VAR Name="dirname"-->" selected ><!--TMPL_VAR Name="languagedescription"--></option>
93   <!--TMPL_ELSE--><option value="<!--TMPL_VAR Name="dirname"-->"><!--TMPL_VAR Name="languagedescription"--></option>
94   <!--/TMPL_IF-->
95   <!--/TMPL_LOOP-->
96   </select>
97   </p>
98   <p>
99   <!--TMPL_LOOP Name="levelloop"-->
100   <div>
101   <h3><!--TMPL_VAR Name="label"--></h3>
102   <!--TMPL_LOOP Name="frameworks"-->
103     <div style="border:1px;">
104     <p>
105     <!--TMPL_IF Name="checked"--><input type="checkbox" Name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked />
106     <!--TMPl_ELSE--><input type="checkbox" Name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
107     <!--/TMPL_IF-->
108     <!--TMPL_VAR Name="fwkdescription"-->
109     <em>(<!--TMPL_VAR Name="fwkname"-->)</em>
110     </p>
111     </div>
112   <!--/TMPL_LOOP-->
113   </div>
114   </p>
115   <!--/TMPL_LOOP-->
116   <p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete,
117   please be patient.</p>
118   <p><input type="submit" value="import" />
119   </p>
120   </form>
121   </p>
122 <!--/TMPL_IF-->
123 <!--TMPL_IF Name="addframeworks"-->
124   <h2 align="center">Results of installation:</h2>
125   <p>Language :<!--TMPL_VAR Name="fwklanguage"--></p>
126   <!--TMPL_LOOP Name="list"-->
127   <h3><!--TMPL_VAR Name="level"--> data added</h3>
128   <p>
129   <ul>
130   <!--TMPL_LOOP Name="fwklist"-->
131     <li><!--TMPL_VAR Name="fwkname"--><!--TMPL_IF Name="error"--><br /><font color="red"><b></b><!--TMPL_VAR Name="error"--></font><!--/TMPL_IF--> </li>
132   <!--/TMPL_LOOP-->
133   </ul>
134   </p>
135   <!--/TMPL_LOOP-->
136   <p>Installation complete.<br/>
137     <p>Click on Finish to complete and load the Koha Staff Interface.
138     <form name="finish">
139     <input type="hidden" name="step" value="3" />
140     <input type="hidden" name="op" value="finish" />
141     <input type="submit" value="Finish" /></form>
142     </p>
143   </p>
144 <!--/TMPL_IF-->
145
146 <!--TMPL_IF Name="importdatastructure"-->
147         <!--TMPL_IF Name="error"-->
148                 <p>The following error occcurred while importing the database structure:</p>
149                 <p class="error"><!-- TMPL_VAR NAME="error" --> </p>
150                 <p>Please contact your system administrator</p>
151         <!-- TMPL_ELSE -->
152   <h2 align="center">Success</h2>
153   <ul>
154   <li>Database tables created</li>
155   </ul>
156   <form action="install.pl">
157   <input type="hidden" name="step" value="3" />
158   <p> Click Next to continue <input value="Next &gt;&gt;" type="submit"></p>
159   </form>
160
161         <!-- /TMPL_IF -->
162 <!--/TMPL_IF-->
163 <!--TMPL_IF Name="proposeimport"-->
164   <p>Now we're ready to create the database tables and fill them with some default data.</p>
165   <form action="install.pl">
166   <input type="hidden" name="step" value="3" />
167   <input type="hidden" name="op" value="importdatastructure"/>
168   <p> Click Next to continue <input value="Next &gt;&gt;" type="submit"></p>
169   </form>
170
171
172 <!--/TMPL_IF-->
173 <!--TMPL_IF Name="default"-->
174
175 <p>Now we're ready to do some basic configuration. Please <a href="install.pl?step=3&amp;op=selectframeworks" class="button">install basic configuration settings</a> to continue the installation.</p>
176 <p>
177 Alternatively, if you are upgrading from a previous version of Koha, you can <a href="install.pl?step=3&amp;op=updatestructure" class="button">update your database</a>. Otherwise, you can skip this step.
178 </p>
179
180 <!--/TMPL_IF-->
181 <!--TMPL_IF Name="updatestructure"-->
182   <div><h2 align="center">Updating Mysql database</h2>
183   <!--TMPL_IF Name="updatereport"-->
184     <p>Update report :</p>
185     <p>
186     <!--TMPL_VAR Name="updatereport"-->
187     </p>
188   <!--TMPL_ELSE-->
189     <p>Everything went OK.</p>
190   <!--/TMPL_IF-->
191 <a href="install.pl?step=3&amp;op=selectframeworks" class="button">Continue to Framework Selection</a>
192   </div>
193 <!--/TMPL_IF-->
194
195 </body>
196 </html>