1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha › Web Installer › 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" -->
5 <h1 id="logo"><img alt="Koha" src="/intranet-tmpl/prog/en/images/koha.org-logo.gif" /></h1>
6 <h1>Koha › Web Installer › Step 3</h1>
7 <!--TMPL_IF NAME="selectframeworks"-->
8 <script language="JavaScript">
11 var sURL = unescape(window.location.pathname);
15 // the timeout value should be the same as in the "refresh" meta-tag
16 setTimeout( "refresh()", 2*1000 );
19 function refresh(value)
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.
25 sURL=sURL+'?step=3&op=selectframeworks&fwklanguage='+value;
26 window.location.href = sURL;
32 <script language="JavaScript1.1">
34 function refresh(value)
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.
41 sURL=sURL+'?step=3&op=selectframeworks&fwklanguage='+value;
42 window.location.replace( sURL );
47 <script language="JavaScript1.2">
49 function refresh(value)
51 // This version of the refresh function will be invoked
52 // for browsers that support JavaScript version 1.2
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'.
63 sURL=sURL+'?step=3&op=selectframeworks&fwklanguage='+value;
64 window.location.replace( sURL );
70 <script language="JavaScript">
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' ;
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>
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>
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>
100 <!--TMPL_LOOP Name="levelloop"-->
102 <h3><!--TMPL_VAR Name="label"--></h3>
103 <!--TMPL_LOOP Name="frameworks"-->
104 <div style="border:1px;">
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"-->" />
109 <!--TMPL_VAR Name="fwkdescription"-->
110 <em>(<!--TMPL_VAR Name="fwkname"-->)</em>
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" />
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>
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>
139 <p>Installation complete.<br/>
140 <p>Click on Finish to complete and load the Koha Staff Interface.
142 <input type="hidden" name="step" value="3" />
143 <input type="hidden" name="op" value="finish" />
144 <input type="submit" value="Finish" /></form>
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>
156 <h2 align="center">Success</h2>
158 <li>Database tables created</li>
160 <form action="install.pl">
161 <input type="hidden" name="step" value="3" />
162 <p> Click Next to continue <input value="Next >>" type="submit"></p>
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 >>" type="submit"></p>
178 <!--TMPL_IF Name="default"-->
179 <!-- TMPL_IF name="upgrading" -->
181 We are upgrading from Koha <!-- TMPL_VAR name="dbversion" --> to <!-- TMPL_VAR name="kohaversion" -->, you must <a href="install.pl?step=3&op=updatestructure" class="button">update your database</a>
184 <p>We are ready to do some basic configuration. Please
185 <a href="install.pl?step=3&op=selectframeworks" class="button">install basic configuration settings</a>
186 to continue the installation.
193 <!--TMPL_IF Name="updatestructure"-->
194 <div><h2 align="center">Updating Mysql database</h2>
195 <!--TMPL_IF Name="updatereport"-->
196 <p>Update report :</p>
198 <!--TMPL_VAR Name="updatereport"-->
201 <p>Everything went OK, update done.</p>
203 <a href="install.pl?step=3&op=finished" class="button">Continue to login to Koha</a>