1 [% INCLUDE 'doc-head-open.inc' %]
3 [% UNLESS ( language ) %] Choose your language [% END %]
5 [% UNLESS ( checkmodule ) %]
6 [% IF ( missing_modules ) %]
13 Check Perl dependencies
14 [% END %] › Web installer › Koha
16 [% INCLUDE 'installer-doc-head-close.inc' %]
20 <body id="installer" class="installer">
21 <div class="container-fluid">
23 <div id="installer-step1" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
25 <h1 id="logo"><a href="#">Koha</a></h1>
27 [% UNLESS ( language ) %]
28 <h2>Web installer › Choose your language</h2>
29 <p>You are about to install Koha.</p>
31 <p>Please pick your language from the following list. If your language is not listed, please inform your system administrator.</p>
33 <form name="language" method="post" action="install.pl">
34 <div class="form-group">
35 <label for="language">Select a language: </label>
36 <select id="language" name="language">
37 [% IF ( installer_languages_loop ) %]
38 [% FOREACH installer_languages_loo IN installer_languages_loop %]
39 [% IF ( installer_languages_loo.plural ) %]
40 <optgroup label="[% installer_languages_loo.language | html %]">
41 [% FOREACH sublanguages_loo IN installer_languages_loo.sublanguages_loop %]
42 <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>
46 <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>
52 <p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p>
57 [% UNLESS ( checkmodule ) %]
58 [% IF ( missing_modules ) %]
59 <h2>Web installer › Perl modules missing</h2>
60 <p>Some Perl modules are missing. <span class="label label-danger">Important: </span>Required modules must be installed before you may continue.<br />
62 [% FOREACH missing_module IN missing_modules %]
63 <li><strong>[% missing_module.name | html %]</strong> [% IF ( missing_module.require ) %]<span class="label label-danger">Required</span>[% END %]
64 <br /> Version: [% missing_module.min_version | html %]
70 [% IF ( upgrade_modules ) %]
71 <h2>Web installer › Perl modules due for upgrade</h2>
72 <p>Some Perl modules require upgrade. <span class="label label-danger">Important: </span>Required modules must be installed at the correct version before you may continue.<br />
74 [% FOREACH upgrade_module IN upgrade_modules %]
75 <li><strong>[% upgrade_module.name | html %]</strong> [% IF ( upgrade_module.require ) %]<span class="label label-danger">Required</span>[% END %]
76 <br /> Installed version: [% upgrade_module.version | html %]
77 <br /> Minimum version: [% upgrade_module.min_version | html %]
78 <br /> Maximum version: [% upgrade_module.max_version | html %]
85 <h2>Web installer › Perl version too old</h2>
86 <p>I encountered some problems.</p>
88 [% IF ( perlversion ) %]
89 <li>Your Perl version is out of date. Please upgrade to a newer version of Perl (at least version 5.10).</li>
94 <form name="checkmodules" action="install.pl">
95 <input type="hidden" name="step" value="1" />
96 <p> <input value="Recheck dependencies" class="btn btn-primary" type="submit" /></p>
99 [% ELSE # IF checkmodule %]
100 <h2>Web installer › Check Perl dependencies</h2>
101 <p>All required Perl modules appear to be installed.</p>
102 <p> All dependencies installed.</p>
104 <form name="checkmodules" role="form" action="install.pl">
105 <input type="hidden" name="step" value="2" />
106 <p> <input value="Continue to the next step" class="btn btn-primary" type="submit" /> </p>
108 [% END # IF checkmodule%]
109 [% END # IF language %]
110 </div> <!-- / #installer-step1 -->
111 </div> <!-- / .row -->
112 </div><!-- / .container-fluid -->
114 [% INCLUDE 'installer-intranet-bottom.inc' %]