Koha/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.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

69 lines
2.7 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Web installer &rsaquo; Step 1</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 1</h1>
[% UNLESS ( language ) %]
<p>You are about to install Koha.</p>
<p>Please pick your language from the following list. If your language is not
listed, please inform your systems administrator.</p>
<form name="language" method="post">
<select name="language">
[% IF ( installer_languages_loop ) %]
[% FOREACH installer_languages_loo IN installer_languages_loop %]
[% IF ( installer_languages_loo.plural ) %]
<optgroup label="[% installer_languages_loo.language %]">
[% FOREACH sublanguages_loo IN installer_languages_loo.sublanguages_loop %]
<option value="[% sublanguages_loo.rfc4646_subtag %]">[% IF ( sublanguages_loo.native_description ) %][% sublanguages_loo.native_description %][% ELSE %][% sublanguages_loo.rfc4646_subtag %][% END %]</option>
[% END %]
</optgroup>
[% ELSE %]
<option value="[% installer_languages_loo.rfc4646_subtag %]">[% IF ( installer_languages_loo.native_description ) %][% installer_languages_loo.native_description %][% ELSE %][% installer_languages_loo.rfc4646_subtag %][% END %]</option>
[% END %]
[% END %]
[% END %]
</select>
</p>
<p> Click 'Next' to continue <input value="Next &gt;&gt;" type="submit" /></p>
</form>
[% END %]
[% IF ( language ) %]
[% UNLESS ( checkmodule ) %]
[% IF ( missing_modules ) %]
<p>Some Perl modules are missing. Modules in red <b>must</b> be installed before you may continue.<br />
<ul>
[% FOREACH missing_module IN missing_modules %]
[% IF ( missing_module.require ) %]
<li style="color:#FF0000;font-weight:bold;">[% missing_module.name %]
[% ELSE %]
<li>[% missing_module.name %]
[% END %]
<br /> Version: [% missing_module.version %]
<br /> Usage: [% missing_module.usage %]
</li>
[% END %]
[% END %]
[% IF ( problems ) %]
<p>I encountered some problems.</p>
<ul>
[% IF ( perlversion ) %]
<li>Your Perl version seems to be obsolete.
Please upgrade to a newer version of Perl (at least Version 5.10).</li>
[% END %]
</ul>
[% END %]
[% END %]
<form name="checkmodules" action="install.pl">
[% IF ( checkmodule ) %]
<input type="hidden" name="step" value="2" />
<p> All dependencies installed.</p>
<p>Please click 'Next' to continue <input value="Next &gt;&gt;" type="submit" /></p>
[% ELSE %]
<input type="hidden" name="step" value="1" />
<p>Click to recheck dependencies <input value="Recheck" type="submit" /></p>
[% END %]
</form>
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]