@@ -, +, @@ and onboarding --- .../prog/en/includes/installer-doc-head-close.inc | 18 --- .../prog/en/includes/installer-intranet-bottom.inc | 20 +++ .../prog/en/modules/installer/auth.tt | 7 +- .../prog/en/modules/installer/step1.tt | 140 +++++++++++---------- .../prog/en/modules/installer/step2.tt | 3 +- .../prog/en/modules/installer/step3.tt | 33 ++--- .../prog/en/modules/onboarding/onboardingstep1.tt | 3 +- .../prog/en/modules/onboarding/onboardingstep2.tt | 12 +- .../prog/en/modules/onboarding/onboardingstep3.tt | 17 ++- .../prog/en/modules/onboarding/onboardingstep4.tt | 12 +- .../prog/en/modules/onboarding/onboardingstep5.tt | 12 +- 11 files changed, 153 insertions(+), 124 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc --- a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-doc-head-close.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-doc-head-close.inc @@ -3,22 +3,4 @@ - - - - - - - --- a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc @@ -0,0 +1,20 @@ + + + + + + + [% jsinclude # Parse the page template's JavaScript block if necessary %] + + --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt @@ -58,7 +58,8 @@ [% END %] - - + + + -[% INCLUDE 'intranet-bottom.inc' %] +[% INCLUDE 'installer-intranet-bottom.inc' %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt @@ -14,84 +14,88 @@ [% END %] [% INCLUDE 'installer-doc-head-close.inc' %] + -
-
-
-

Koha

+ +
+
+
- [% UNLESS ( language ) %] -

Web installer › Choose your language

-

You are about to install Koha.

+

Koha

-

Please pick your language from the following list. If your language is not listed, please inform your system administrator.

+ [% UNLESS ( language ) %] +

Web installer › Choose your language

+

You are about to install Koha.

-
-
- - + [% IF ( installer_languages_loop ) %] + [% FOREACH installer_languages_loo IN installer_languages_loop %] + [% IF ( installer_languages_loo.plural ) %] + + [% FOREACH sublanguages_loo IN installer_languages_loo.sublanguages_loop %] + + [% END %] + + [% ELSE %] + + [% END %] [% END %] [% END %] - [% END %] - -
-

-
- [% END %] + +
+

+ + [% END %] - [% IF ( language ) %] - [% UNLESS ( checkmodule ) %] - [% IF ( missing_modules ) %] -

Web installer › Perl modules missing

-

Some Perl modules are missing. Important: Required modules must be installed before you may continue.
-

    - [% FOREACH missing_module IN missing_modules %] -
  • [% missing_module.name %] [% IF ( missing_module.require ) %]Required[% END %] -
    Version: [% missing_module.version %] -
    Usage: [% missing_module.usage %] -
  • - [% END %] -
- [% END %] + [% IF ( language ) %] + [% UNLESS ( checkmodule ) %] + [% IF ( missing_modules ) %] +

Web installer › Perl modules missing

+

Some Perl modules are missing. Important: Required modules must be installed before you may continue.
+

    + [% FOREACH missing_module IN missing_modules %] +
  • [% missing_module.name %] [% IF ( missing_module.require ) %]Required[% END %] +
    Version: [% missing_module.version %] +
    Usage: [% missing_module.usage %] +
  • + [% END %] +
+ [% END %] - [% IF ( problems ) %] -

Web installer › Perl version too old

-

I encountered some problems.

-
    - [% IF ( perlversion ) %] -
  • Your Perl version is out of date. Please upgrade to a newer version of Perl (at least version 5.10).
  • - [% END %] -
- [% END %] + [% IF ( problems ) %] +

Web installer › Perl version too old

+

I encountered some problems.

+
    + [% IF ( perlversion ) %] +
  • Your Perl version is out of date. Please upgrade to a newer version of Perl (at least version 5.10).
  • + [% END %] +
+ [% END %] -
- -

-
+
+ +

+
- [% ELSE # IF checkmodule %] -

Web installer › Check Perl dependencies

-

All required Perl modules appear to be installed.

-

All dependencies installed.

+ [% ELSE # IF checkmodule %] +

Web installer › Check Perl dependencies

+

All required Perl modules appear to be installed.

+

All dependencies installed.

-
- -

-
- [% END # IF checkmodule%] - [% END # IF language %] -
-
+
+ +

+
+ [% END # IF checkmodule%] + [% END # IF language %] +
+
+
-[% INCLUDE 'intranet-bottom.inc' %] +[% INCLUDE 'installer-intranet-bottom.inc' %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt @@ -69,5 +69,6 @@ [% END # / IF dbconnection %] + -[% INCLUDE 'intranet-bottom.inc' %] +[% INCLUDE 'installer-intranet-bottom.inc' %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt @@ -259,23 +259,26 @@ [% END # / IF updatestructure %] + [% IF ( selectframeworks ) %] - + + [% END %] [% END %] -[% INCLUDE 'intranet-bottom.inc' %] +[% INCLUDE 'installer-intranet-bottom.inc' %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt @@ -37,5 +37,6 @@ + -[% INCLUDE 'intranet-bottom.inc' %] +[% INCLUDE 'installer-intranet-bottom.inc' %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt @@ -11,9 +11,6 @@ [% END %] [% INCLUDE 'installer-doc-head-close.inc' %] -[% INCLUDE 'validator-strings.inc' %] -[% INCLUDE 'installer-strings.inc' %] - @@ -127,5 +124,12 @@ + -[% INCLUDE 'intranet-bottom.inc' %] +[% MACRO jsinclude BLOCK %] + [% INCLUDE 'validator-strings.inc' %] + [% INCLUDE 'installer-strings.inc' %] + +[% END %] + +[% INCLUDE 'installer-intranet-bottom.inc' %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt @@ -2,9 +2,6 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Web installer › Create Koha administrator patron [% INCLUDE 'installer-doc-head-close.inc' %] -[% INCLUDE 'validator-strings.inc' %] -[% INCLUDE 'installer-strings.inc' %] - @@ -111,7 +108,15 @@ + + +[% MACRO jsinclude BLOCK %] + [% INCLUDE 'validator-strings.inc' %] + [% INCLUDE 'installer-strings.inc' %] + + [% PROCESS 'password_check.inc' %] + [% PROCESS 'add_password_check' new_password => 'password' %] +[% END %] + +[% INCLUDE 'installer-intranet-bottom.inc' %] -[% INCLUDE 'intranet-bottom.inc' %] -[% PROCESS 'password_check.inc' %] -[% PROCESS 'add_password_check' new_password => 'password' %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt @@ -1,9 +1,6 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Web installer › Create a new item type [% INCLUDE 'installer-doc-head-close.inc' %] -[% INCLUDE 'validator-strings.inc' %] -[% INCLUDE 'installer-strings.inc' %] - @@ -47,5 +44,12 @@ + -[% INCLUDE 'intranet-bottom.inc' %] +[% MACRO jsinclude BLOCK %] + [% INCLUDE 'validator-strings.inc' %] + [% INCLUDE 'installer-strings.inc' %] + +[% END %] + +[% INCLUDE 'installer-intranet-bottom.inc' %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt @@ -7,9 +7,6 @@ [% END %] [% INCLUDE 'installer-doc-head-close.inc' %] -[% INCLUDE 'validator-strings.inc' %] -[% INCLUDE 'installer-strings.inc' %] - @@ -134,5 +131,12 @@ [% END %] + -[% INCLUDE 'intranet-bottom.inc' %] +[% MACRO jsinclude BLOCK %] + [% INCLUDE 'validator-strings.inc' %] + [% INCLUDE 'installer-strings.inc' %] + +[% END %] + +[% INCLUDE 'installer-intranet-bottom.inc' %] --