Koha/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt
Owen Leonard 32fa69ee36 Bug 2774 - Path to theme is hard-coded in many places
This patch corrects serveral more places in the templates where the path
to the prog theme is hard-coded. To test, apply the patch and view the
following cases:

- When a database update is triggered the login page loads login.css.
  This path should be correct. (Reference to wizard.css is removed as
  per Bug 10422).
- The course reserves home page should load datatables-related assets
  correctly.
- Help pages for the Quick spine label creator and the staff client home
  page should show the correct paths where they reference the Koha file
  system.
- The web installer pages should correctly load the Koha logo.
- The label creator "manage" pages (layouts, templates, etc.) should
  correctly load datatables-related assets.

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Checked all 5 - look good.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-06-07 09:04:15 -07:00

56 lines
2.7 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]<title>Koha &rsaquo; Web installer &rsaquo; Step 2</title>
[% INCLUDE 'installer-doc-head-close.inc' %]
<div>
<h1 id="logo"><img alt="Koha" src="[% interface %]/[% theme %]/img/koha.org-logo.gif" /> Web installer &rsaquo; Step 2</h1>
<h2 align="center">Database settings:</h2>
<ul>
<li><em>database type : </em>[% dbms %]</li>
<li><em>database name : </em>[% dbname %]</li>
<li><em>database host : </em>[% hostname %]</li>
<li><em>database port : </em>[% port %] (probably OK if blank)</li>
<li><em>database user : </em>[% user %]</li>
</ul>
<div>
[% IF ( dbconnection ) %]
<form name="checkdbparameters" type="post" action="install.pl">
[% IF ( checkdatabaseaccess ) %]
<p>Connection established.</p>
[% IF ( checkdatabasecreated ) %]
<p>Database <code>[% dbname %]</code> exists.</p>
[% IF ( checkgrantaccess ) %]
<p>User <code>[% user %]</code> has all required privileges on database <code>[% dbname %]</code>.</p>
[% ELSE %]
<p class="error">user <code>[% user %]</code> doesn't have enough privilege on database <code>[% dbname %]</code> </p>
<p class="tip"> Ask for or make a change in the user's privileges. Need help? See [% IF ( mysql ) %]<a href=http://dev.mysql.com/doc/refman/4.1/en/grant.html>[% ELSE %]http://www.postgresql.org/docs/8.2/interactive/sql-createrole.html[% END %]this page</a>. User <code>[% user %]</code> must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on <code>[% dbname %]</code></p>
[% END %]
[% ELSE %]
<p class="error">No database named <code>[% dbname %]</code> detected.</p>
<p class="tip">Please create the database before continuing.</p>
[% END %]
[% ELSE %]
<div class="error">[% error %] : [% message %]
</div>
<div class="tip">
<ul>
<li>Check that your database is running.</li>
<li>Check your database settings in <code>koha-conf.xml</code>. </li>
<li>Check the hostname setting in <code>koha-conf.xml</code>.
Some database servers require <code>127.0.0.1</code> rather than <code>localhost</code>.</li>
</div>
<p>Please correct these errors and <a href="/cgi-bin/koha/installer/install.pl">start the installer</a> again.
[% END %]
[% IF ( error ) %][% ELSE %]
<input type="hidden" name="step" value="3" />
<p> Click 'Next' to continue <input value="Next &gt;&gt;" type="submit" /></p>
[% END %]
</form>
[% ELSE %]
<form name="checkinformation" type="post" action="install.pl">
<input type="hidden" name="step" value="2" />
<input type="hidden" name="checkdb" value="1" />
<p> Please click 'Next' to continue if this information is correct <input value="Next &gt;&gt;" type="submit" /></p>
</form>
[% END %]
</div>
</body>
</html>