This is a minor change, but affects all templates:
[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
2 <!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
3 <h1>Koha &rsaquo; Web Installer &rsaquo; Step 2</h1>
4 <h2 align="center">Database settings:</h2>
5 <ul>
6 <li><em>database name : </em><!--TMPL_VAR NAME="dbname"--></li>
7 <li><em>database host : </em><!--TMPL_VAR NAME="hostname"--></li>
8 <li><em>database port : </em><!--TMPL_VAR NAME="port"--> (probably OK if blank)</li>
9 <li><em>database user : </em><!--TMPL_VAR NAME="user"--></li>
10 </ul>
11 <div>
12 <!--TMPL_IF NAME="mysqlconnection"-->
13 <form name="checkmysqlparameters" type="post" action="install.pl">
14   <!--TMPL_IF NAME="checkdatabaseaccess"-->
15   <p>Connection established.</p>
16      <!--TMPL_IF NAME="checkdatabasecreated"-->
17   <p>Database <code><!--TMPL_VAR NAME="dbname"--></code> exists.</p>
18         <!--TMPL_IF NAME="checkgrantaccess"-->
19   <p>User <code><!--TMPL_VAR NAME="user"--></code> has all required privileges on database <code><!--TMPL_VAR Name="dbname"--></code>.</p>
20         <!--TMPL_ELSE-->
21   <p class="error">user <code><!--TMPL_VAR NAME="user"--></code> doesn't have enough privilege on database <code><!--TMPL_VAR Name="dbname"--></code> </p>
22   <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>
23         <!--/TMPL_IF-->
24       <!--TMPL_ELSE-->
25   <p class="error">No database named <code><!--TMPL_VAR NAME="dbname"--></code> detected.</p>
26   <p class="tip">Please create the database before continuing.</p>
27       <!--/TMPL_IF-->
28    <!--TMPL_ELSE-->
29     <div class="error"><!--TMPL_VAR name="error"--> : <!--TMPL_VAR NAME="message"-->
30     </div>
31     <div class="tip">
32       <ul>
33       <li>Check that your database is running.</li>
34       <li>Check your database settings in <code>koha.xml</code>. </li>
35       <li>Check the hostname setting in <code>koha.xml</code>. 
36       Some database servers require <code>127.0.0.1</code> rather than <code>localhost</code>.</li>
37     </div>
38     <p>Please correct these errors and <a href="/cgi-bin/koha/installer/install.pl">start the installer</a> again.
39   <!--/TMPL_IF-->
40   <!-- TMPL_IF NAME="error" --><!-- TMPL_ELSE -->
41 <input type="hidden" name="step" value="3" />
42 <p> Click Next to continue <input value="Next &gt;&gt;" type="submit"></p>
43 <!-- /TMPL_IF -->
44 </form>
45 <!--TMPL_ELSE-->
46 <form name="checkinformation" type="post" action="install.pl">
47 <input type="hidden" name="step" value="2" />
48 <input type="hidden" name="checkmysql" value="1" />
49 <p> Please click Next to continue if this information is correct <input value="Next &gt;&gt;" type="submit"></p>
50 </form>
51 <!--/TMPL_IF-->
52 </div>
53 </body>
54 </html>