Koha-clms/admin
Katrin Fischer 32b01b2642
Bug 20504: Fix lang attribute in html tag on systempreferences page
On the system preferences page the lang attribute of the
html tag is always empty.

To test:
- Go to systempreferences
- Check the html source and look at the html tag,
  it should read: <html lang="">
- Apply patch
- Check the html source again: <html lang="en">
  Verify the language code shown matches the currently
  selected language in the staff interface
- Verify the language system preferences work correctly

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
The problem was actually that
  $lang = $template->param( 'lang' );
should certainly be $lang = $input->param( 'lang' );
and, as it, it overrides the value of 'lang' passed from C4::Auth

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 56c50a6616)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2018-08-24 11:44:27 +01:00
..
searchengine/elasticsearch Revert "Bug 20073: Move Elasticsearch configs to yaml files and improve the default settings." 2018-05-21 11:02:16 -03:00
add_user_search.pl
…
admin-home.pl Bug 20383: Hide link to plugin management if plugins are not enabled 2018-03-19 13:55:53 -03:00
aqbudgetperiods.pl
…
aqbudgets.pl Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
aqcontract.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
aqplan.pl Bug 20201: Silence warnings triggered by admin/aqplan.pl 2018-02-27 12:12:57 -03:00
audio_alerts.pl
…
auth_subfields_structure.pl
…
auth_tag_structure.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
authorised_values.pl
…
authtypes.pl
…
biblio_framework.pl
…
branch_transfer_limits.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
branches.pl Bug 16735: Migrate library search groups into the new hierarchical groups 2018-02-12 15:41:25 -03:00
categories.pl
…
check_budget_parent.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
check_parent_total.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
checkmarc.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
cities.pl
…
classsources.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
clone-rules.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
columns_settings.pl
…
columns_settings.yml Bug 19287: Add column action to columns settings 2018-04-23 12:56:05 -03:00
currency.pl Bug 4078: Add the checkbox to the UI 2018-03-23 11:45:38 -03:00
didyoumean.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
edi_accounts.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
edi_ean_accounts.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
fieldmapping.pl
…
import_export_framework.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
item_circulation_alerts.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
items_search_field.pl
…
items_search_fields.pl
…
itemtypes.pl
…
koha2marclinks.pl
…
library_groups.pl Bug 20157: Save the features that have been checked 2018-02-12 15:42:21 -03:00
localization.pl
…
marc_subfields_structure.pl
…
marctagstructure.pl Bug 9701: Configure default indicator 2018-04-12 10:50:34 -03:00
matching-rules.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
oai_set_mappings.pl
…
oai_sets.pl
…
patron-attr-types.pl
…
preferences.pl Bug 20504: Fix lang attribute in html tag on systempreferences page 2018-08-24 11:44:27 +01:00
printers.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
smart-rules.pl Bug 19804: Add the new column to the circ rules interface 2018-04-09 16:15:19 -03:00
sms_providers.pl
…
sru_modmapping.pl
…
systempreferences.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
transport-cost-matrix.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
usage_statistics.pl
…
z3950servers.pl
…