Bug 37724: Remove Koha version number from OPAC
This change removes the Koha version number from the OPAC generator metadata. Test plan: 0. Apply patch 1. Enable syspref SelfCheckInModule 2. Visit /cgi-bin/koha/opac-main.pl and confirm meta tag doesn't include version number 3. Visit /cgi-bin/koha/sci/sci-main.pl and confirm meta tag doesn't include version number 4. Visit /cgi-bin/koha/sco/sco-main.pl) and confirm meta tag doesn't include version number 5. Click "Help" and confirm meta tag doesn't include version number Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
027758d4c0
commit
dbaee28bbe
|
|
@ -4,7 +4,7 @@
|
|||
[%- USE KohaPlugins -%]
|
||||
[% USE Asset %]
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats -->
|
||||
<meta name="generator" content="Koha" /> <!-- leave this for stats -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="csrf-token" content="[% Koha.GenerateCSRF | $raw %]">
|
||||
[% Asset.css("lib/jquery/responsive.dataTables.min.css") | $raw %]
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<title>Self check-in › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats -->
|
||||
<meta name="generator" content="Koha" /> <!-- leave this for stats -->
|
||||
|
||||
[% IF ( Koha.Preference('OpacFavicon') ) %]
|
||||
<link rel="shortcut icon" href="[% Koha.Preference('OpacFavicon') | url %]" type="image/x-icon" />
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
[% SET SelfCheckHelpMessage = AdditionalContents.get( location => "SelfCheckHelpMessage", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
<title>Self checkout help › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats -->
|
||||
<meta name="generator" content="Koha" /> <!-- leave this for stats -->
|
||||
<link rel="shortcut icon" href="[% IF ( Koha.Preference('OpacFavicon') ) %][% Koha.Preference('OpacFavicon') | url %][% ELSE %][% interface | html %]/[% theme | html %]/images/favicon.ico[% END %]" type="image/x-icon" />
|
||||
[% Asset.css("lib/fontawesome/css/fontawesome.min.css") | $raw %]
|
||||
[% Asset.css("lib/fontawesome/css/brands.min.css") | $raw %]
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Self checkout › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats -->
|
||||
<meta name="generator" content="Koha" /> <!-- leave this for stats -->
|
||||
[% IF ( Koha.Preference('OpacFavicon') ) %]
|
||||
<link rel="shortcut icon" href="[% Koha.Preference('OpacFavicon') | url %]" type="image/x-icon" />
|
||||
[% ELSE %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue