1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Web installer ›
3 [% UNLESS ( language ) %] Choose your language [% END %]
5 [% UNLESS ( checkmodule ) %]
6 [% IF ( missing_modules ) %]
13 Check Perl dependencies
16 [% INCLUDE 'installer-doc-head-close.inc' %]
18 <div class="container-fluid">
20 <div id="installer-step1" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
22 <h1 id="logo"><a href="#">Koha</a></h1>
24 [% UNLESS ( language ) %]
25 <h2>Web installer › Choose your language</h2>
26 <p>You are about to install Koha.</p>
28 <p>Please pick your language from the following list. If your language is not listed, please inform your system administrator.</p>
30 <form name="language" method="post" action="install.pl">
31 <div class="form-group">
32 <label for="language">Select a language: </label>
33 <select id="language" name="language">
34 [% IF ( installer_languages_loop ) %]
35 [% FOREACH installer_languages_loo IN installer_languages_loop %]
36 [% IF ( installer_languages_loo.plural ) %]
37 <optgroup label="[% installer_languages_loo.language | html %]">
38 [% FOREACH sublanguages_loo IN installer_languages_loo.sublanguages_loop %]
39 <option value="[% sublanguages_loo.rfc4646_subtag | html %]">[% IF ( sublanguages_loo.native_description ) %][% sublanguages_loo.native_description | html %][% ELSE %][% sublanguages_loo.rfc4646_subtag | html %][% END %]</option>
43 <option value="[% installer_languages_loo.rfc4646_subtag | html %]">[% IF ( installer_languages_loo.native_description ) %][% installer_languages_loo.native_description | html %][% ELSE %][% installer_languages_loo.rfc4646_subtag | html %][% END %]</option>
49 <p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p>
54 [% UNLESS ( checkmodule ) %]
55 [% IF ( missing_modules ) %]
56 <h2>Web installer › Perl modules missing</h2>
57 <p>Some Perl modules are missing. <span class="label label-danger">Important: </span>Required modules must be installed before you may continue.<br />
59 [% FOREACH missing_module IN missing_modules %]
60 <li><strong>[% missing_module.name | html %]</strong> [% IF ( missing_module.require ) %]<span class="label label-danger">Required</span>[% END %]
61 <br /> Version: [% missing_module.version | html %]
62 <br /> Usage: [% missing_module.usage | html %]
69 <h2>Web installer › Perl version too old</h2>
70 <p>I encountered some problems.</p>
72 [% IF ( perlversion ) %]
73 <li>Your Perl version is out of date. Please upgrade to a newer version of Perl (at least version 5.10).</li>
78 <form name="checkmodules" action="install.pl">
79 <input type="hidden" name="step" value="1" />
80 <p> <input value="Recheck dependencies" class="btn btn-primary" type="submit" /></p>
83 [% ELSE # IF checkmodule %]
84 <h2>Web installer › Check Perl dependencies</h2>
85 <p>All required Perl modules appear to be installed.</p>
86 <p> All dependencies installed.</p>
88 <form name="checkmodules" role="form" action="install.pl">
89 <input type="hidden" name="step" value="2" />
90 <p> <input value="Continue to the next step" class="btn btn-primary" type="submit" /> </p>
92 [% END # IF checkmodule%]
93 [% END # IF language %]
94 </div> <!-- / #installer-step1 -->
95 </div> <!-- / .row -->
97 [% INCLUDE 'intranet-bottom.inc' %]