+[% BLOCK txt_continue %]Continue to the next step[% END %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Web installer ›
[% UNLESS ( language ) %] Choose your language [% END %]
[% END %]
</select>
</div>
-
- <p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p>
+ <p><input value="[% INCLUDE txt_continue %]" class="btn btn-primary" type="submit" /></p>
</form>
[% END %]
[% UNLESS ( checkmodule ) %]
[% IF ( missing_modules ) %]
<h2>Web installer › Perl modules missing</h2>
- <p>Some Perl modules are missing. <span class="label label-danger">Required</span> modules <b>must</b> be installed before you may continue.<br />
+ <p>Some Perl modules are missing. <span class="label label-danger">Important: </span>Required modules must be installed before you may continue.<br />
<ul>
[% FOREACH missing_module IN missing_modules %]
<li><strong>[% missing_module.name %]</strong> [% IF ( missing_module.require ) %]<span class="label label-danger">Required</span>[% END %]
<form name="checkmodules" role="form" action="install.pl">
<input type="hidden" name="step" value="2" />
- <p> <input value="Continue to the next step" class="btn btn-primary" type="submit" /> </p>
+ <p> <input value="[% INCLUDE txt_continue %]" class="btn btn-primary" type="submit" /> </p>
</form>
[% END # IF checkmodule%]
[% END # IF language %]
+[% USE HtmlTags %]
+[% BLOCK txt_continue %]Continue to the next step[% END %]
[% INCLUDE 'doc-head-open.inc' %]<title>Koha › Web installer › Database settings</title>
[% INCLUDE 'installer-doc-head-close.inc' %]
</head>
<h2>Web installer › Database settings</h2>
<h3>Database settings:</h3>
<ul>
- <li><em>Database type : </em> <code>[% dbms %]</code></li>
- <li><em>Database name : </em> <code>[% dbname %]</code></li>
- <li><em>Database host : </em> <code>[% hostname %]</code></li>
- <li><em>Database port : </em> <code>[% port %]</code> (probably okay if blank)</li>
- <li><em>Database user : </em> <code>[% user %]</code></li>
+ <li><em>Database type: </em> [%- dbms | $HtmlTags tag=>'code' -%]</li>
+ <li><em>Database name: </em> [%- dbname | $HtmlTags tag=>'code' -%]</li>
+ <li><em>Database host: </em> [%- hostname | $HtmlTags tag=>'code'-%]</li>
+ <li><em>Database port: </em> [%- port| $HtmlTags tag=>'code' -%] (probably okay if blank)</li>
+ <li><em>Database user: </em> [%- user | $HtmlTags tag=>'code' -%]</li>
</ul>
[% IF ( dbconnection ) %]
<div class="alert alert-success" role="alert"><p>Connection established.</p></div>
[% IF ( checkdatabasecreated ) %]
<ul>
- <li>Database <code>[% dbname %]</code> exists.</li>
+ <li>Database [% dbname | $HtmlTags tag=>'code'%] exists.</li>
[% IF ( checkgrantaccess ) %]
- <li>User <code>[% user %]</code> has all required privileges on database <code>[% dbname %]</code>.</li>
+ <li>User [% user | $HtmlTags tag=>'code' %] has all required privileges on database [% dbname | $HtmlTags tag=>'code' %].</li>
</ul>
[% ELSE %]
</ul>
- <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">
+ <p class="error">User [% user | $HtmlTags tag=>'code' %] doesn't have enough privilege on database [% dbname | $HtmlTags tag=>'code'%].</p>
+ <p class="tip">Ask for or make a change in the user's privileges. User [% user | $HtmlTags tag=>'code' %] must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on database [% dbname | $HtmlTags tag=>'code' %].</p>
+ <p>Need help? See manual for [% IF ( mysql ) %]
+ <a href="http://dev.mysql.com/doc/refman/4.1/en/grant.html">MySQL</a>
[% ELSE %]
- <a href="http://www.postgresql.org/docs/8.2/interactive/sql-createrole.html">
+ <a href="http://www.postgresql.org/docs/8.2/interactive/sql-createrole.html">PostgreSQL</a>
[% 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 %]
- <div class="alert alert-danger" role="alert"><p>No database named <code>[% dbname %]</code> detected.</p></div>
+ <div class="alert alert-danger" role="alert"><p>No database named [% dbname | $HtmlTags tag=>'code' %] detected.</p></div>
<p>Please create the database before continuing.</p>
[% END %]
[% ELSE %]
<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>
+ <li>Check your database settings in [% 'koha-conf.xml' | $HtmlTags Tag=>'code' %].</li>
+ <li>Check the hostname setting in [% INCLUDE txt_kohaconf_xml %]. Some database servers require [% '127.0.0.1' | $HtmlTags tag=>'code' %] rather than [% 'localhost' | $HtmlTags tag=>'code' %].</li>
</ul>
</div>
- <p>Please correct these errors and <a href="/cgi-bin/koha/installer/install.pl">start the installer</a> again.
+ <p>Please correct these errors. <a href="/cgi-bin/koha/installer/install.pl">Then start the installer again.</a>
[% END %]
[% UNLESS ( error ) %]
<input type="hidden" name="step" value="3" />
- <p> <input value="Continue to the next step" class="btn btn-primary" type="submit" /> </p>
+ <p><input value="[% INCLUDE txt_continue %]" class="btn btn-primary" type="submit" /></p>
[% END %]
</form>
[% ELSE %]
<form name="checkinformation" method="post" action="install.pl">
<input type="hidden" name="step" value="2" />
<input type="hidden" name="checkdb" value="1" />
- <p> <input value="Continue to the next step" class="btn btn-primary" type="submit" /> </p>
+ <p><input value="[% INCLUDE txt_continue %]" class="btn btn-primary" type="submit" /> </p>
</form>
[% END # / IF dbconnection %]
</div> <!-- / #installer-step2 -->
+[% BLOCK txt_continue %]Continue to the next step[% END %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Web installer ›
[% END %]
</title>
-[% IF ( finish ) %]<meta http-equiv="refresh" content="10; url=/cgi-bin/koha/installer/onboarding.pl">[% END %]
+[% IF ( finish ) %]
+ [%- metacontent= '10; url=/cgi-bin/koha/installer/onboarding.pl' -%]
+ <meta http-equiv="refresh" content="[% metacontent %]">
+[% END %]
[% INCLUDE 'installer-doc-head-close.inc' %]
</head>
[% IF ( finish ) %]
<h2>Web installer › Installation complete</h2>
<h3>Congratulations, installation complete</h3>
- <p>
- If this page does not redirect in 10 seconds, <a href="/cgi-bin/koha/installer/onboarding.pl">start onboarding process</a>.
- </p>
+ <p>This page will redirect in 10 seconds. <a href="/cgi-bin/koha/installer/onboarding.pl">If not, click here to start onboarding process.</a></p>
[% END %]
[% IF ( choosemarc ) %]
</p>
[% END %]
[% END %]
- <p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p>
+ <p><input value="[% INCLUDE txt_continue %]" class="btn btn-primary" type="submit" /></p>
</form>
[% END # / IF choosemarc %]
[% IF ( addframeworks ) %]
<h2>Web installer › Default data loaded</h2>
[% FOREACH lis IN list %]
- <h3>[% lis.level FILTER ucfirst %] data added</h3>
+ [% IF lis.level == 'mandatory' %]
+ <h3>Mandatory data added</h3>
+ [% ELSIF lis.level == 'optional' %]
+ <h3>Optional data added</h3>
+ [% ELSIF lis.level == 'mysql' %]
+ <h3>MySQL data added</h3>
+ [% ELSE %]
+ <h3>[% lis.level FILTER ucfirst %] data added</h3>
+ [% END %]
<ul>
[% FOREACH fwklis IN lis.fwklist %]
<li>
<div class="alert alert-success"><p>Database tables created</p></div>
<form action="install.pl" method="post">
<input type="hidden" name="step" value="3" />
- <p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p>
+ <p><input value="[% INCLUDE txt_continue %]" class="btn btn-primary" type="submit" /></p>
</form>
[% END %]
[% END # / IF importdatastructure %]
<form action="install.pl" method="post">
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op" value="importdatastructure" />
- <p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p>
+ <p><input value="[% INCLUDE txt_continue %]" class="btn btn-primary" type="submit" /></p>
</form>
[% END # / proposeimport %]
[% ELSE %]
<h2>Web installer › Install basic configuration settings</h2>
<p>We are ready to do some basic configuration.</p>
- <p> <a href="install.pl?step=3&op=choosemarc" class="btn btn-primary">Continue to the next step</a> </p>
+ <p><a href="install.pl?step=3&op=choosemarc" class="btn btn-primary">[% INCLUDE txt_continue %]</a></p>
[% END %]
[% END # / IF default %]