improvements to the language of the installer
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / installer / step2.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha &rsaquo; Web Installer &rsaquo; Step 2</title>
2 <!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
3 <div>
4 <h1 id="logo"><img alt="Koha" src="/intranet-tmpl/prog/en/images/koha.org-logo.gif" /></h1>
5 <h1>Koha &rsaquo; Web Installer &rsaquo; Step 2</h1>
6 <h2 align="center">Database settings:</h2>
7 <ul>
8 <li><em>database name : </em><!--TMPL_VAR NAME="dbname"--></li>
9 <li><em>database host : </em><!--TMPL_VAR NAME="hostname"--></li>
10 <li><em>database port : </em><!--TMPL_VAR NAME="port"--> (probably OK if blank)</li>
11 <li><em>database user : </em><!--TMPL_VAR NAME="user"--></li>
12 </ul>
13 <div>
14 <!--TMPL_IF NAME="mysqlconnection"-->
15 <form name="checkmysqlparameters" type="post" action="install.pl">
16   <!--TMPL_IF NAME="checkdatabaseaccess"-->
17   <p>Connection established.</p>
18      <!--TMPL_IF NAME="checkdatabasecreated"-->
19   <p>Database <code><!--TMPL_VAR NAME="dbname"--></code> exists.</p>
20         <!--TMPL_IF NAME="checkgrantaccess"-->
21   <p>User <code><!--TMPL_VAR NAME="user"--></code> has all required privileges on database <code><!--TMPL_VAR Name="dbname"--></code>.</p>
22         <!--TMPL_ELSE-->
23   <p class="error">user <code><!--TMPL_VAR NAME="user"--></code> doesn't have enough privilege on database <code><!--TMPL_VAR Name="dbname"--></code> </p>
24   <p class="tip"> Ask for or make a change in the user's privileges. Need help? See <a href=http://dev.mysql.com/doc/refman/4.1/en/grant.html>this page</a>. User <code><!--TMPL_VAR NAME="user"--></code> must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on <code><!--TMPL_VAR Name="dbname"--></code></p>
25         <!--/TMPL_IF-->
26       <!--TMPL_ELSE-->
27   <p class="error">No database named <code><!--TMPL_VAR NAME="dbname"--></code> detected.</p>
28   <p class="tip">Please create the database before continuing.</p>
29       <!--/TMPL_IF-->
30    <!--TMPL_ELSE-->
31     <div class="error"><!--TMPL_VAR name="error"--> : <!--TMPL_VAR NAME="message"-->
32     </div>
33     <div class="tip">
34       <ul>
35       <li>Check that your database is running.</li>
36       <li>Check your database settings in <code>koha.xml</code>. </li>
37       <li>Check the hostname setting in <code>koha.xml</code>. 
38       Some database servers require <code>127.0.0.1</code> rather than <code>localhost</code>.</li>
39     </div>
40     <p>Please correct these errors and <a href="/cgi-bin/koha/installer/install.pl">start the installer</a> again.
41   <!--/TMPL_IF-->
42   <!-- TMPL_IF NAME="error" --><!-- TMPL_ELSE -->
43 <input type="hidden" name="step" value="3" />
44 <p> Click Next to continue <input value="Next &gt;&gt;" type="submit"></p>
45 <!-- /TMPL_IF -->
46 </form>
47 <!--TMPL_ELSE-->
48 <form name="checkinformation" type="post" action="install.pl">
49 <input type="hidden" name="step" value="2" />
50 <input type="hidden" name="checkmysql" value="1" />
51 <p> Please click Next to continue if this information is correct <input value="Next &gt;&gt;" type="submit"></p>
52 </form>
53 <!--/TMPL_IF-->
54 </div>
55 </body>
56 </html>