X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fadmin%2Fusage_statistics.tt;h=25d5aba66e2ff87b3e7d9f7a581f6d462db12b3d;hb=dcd1f5d48c758aee17b6c6f069c6146b42efe117;hp=5819de043d2b428dc7587de4c1e7ffaa2845f0a5;hpb=610c628def96437c0cc75ec2d2455cd373c5db18;p=koha.git
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt
index 5819de043d..25d5aba66e 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt
@@ -1,3 +1,4 @@
+[% USE raw %]
[% USE Asset %]
[% SET footerjs = 1 %]
[% USE Koha %]
@@ -6,7 +7,7 @@
[% INCLUDE 'doc-head-open.inc' %]
Koha › Administration › Koha usage statistics
[% INCLUDE 'doc-head-close.inc' %]
-[% Asset.css("lib/leaflet/leaflet.css") %]
+[% Asset.css("lib/leaflet/leaflet.css") | $raw %]
@@ -21,7 +22,7 @@
[% FOR m IN messages %]
-
+
[% SWITCH m.code %]
[% CASE 'error_on_update' %]
An error occurred when updating this patron category. Perhaps it already exists.
@@ -38,7 +39,7 @@
[% CASE 'already_exists' %]
This patron category already exists.
[% CASE %]
- [% m.code %]
+ [% m.code | html %]
[% END %]
[% END %]
@@ -75,15 +76,15 @@
[% FOR country IN countries %]
[% IF country == UsageStatsCountry %]
-
+
[% SET IsUsageStatsCountryValid = 1 %]
[% ELSE %]
-
+
[% END %]
[% END %]
[% UNLESS IsUsageStatsCountryValid %]
- Note: The value of your system preference 'UsageStatsCountry' is not valid ([% UsageStatsCountry %]).
+ Note: The value of your system preference 'UsageStatsCountry' is not valid ([% UsageStatsCountry | html %]).
Please select a valid one.
[% END %]
@@ -151,20 +152,20 @@
-
+
Last update:
[% IF UsageStatsLastUpdateTime %]
- [% UsageStatsLastUpdateTime %]
+ [% UsageStatsLastUpdateTime | html %]
[% ELSE %]
Your data have never been shared
[% END %]
-
-
+
+
@@ -185,13 +186,13 @@
[% FOR l IN libraries %]
-
+
-
Country: [% l.branchcountry %]
-
Url: [% l.branchurl %]
+
Country: [% l.branchcountry | html %]
+
Url: [% l.branchurl | html %]
- Geolocation:
-
+ Geolocation:
+
@@ -203,7 +204,7 @@
[% IF Koha.Preference('UsageStatsPublicID') %]
[% SET my_url = 'https://hea.koha-community.org/libraries/' _ Koha.Preference('UsageStatsPublicID') %]
- [% my_url %]
+ [% my_url | html %]
[% ELSE %]
You do not have anything public yet.
[% END %]
@@ -229,8 +230,8 @@
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'calendar.inc' %]
- [% Asset.js("js/admin-menu.js") %]
-
+ [% Asset.js("js/admin-menu.js") | $raw %]
+