Browse Source

Bug 20102: Remove attribute "text/css" for <style> element used in staff client templates

This patch modifies staff client templates to remove the "type"
attribute from <style> tags. The attribute is no longer valid.

To test, apply the patch and confirm the changes to the templates. The
appearance of the staff client should be unchanged.

Validating pages from the staff client should not return any errors
related to the <style> "type" attribute.

Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
19.05.x
Owen Leonard 4 years ago
committed by root
parent
commit
e55d16f0da
  1. 2
      koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
  2. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
  3. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt
  4. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt
  5. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt
  6. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt
  7. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt
  8. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt
  9. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt
  10. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt
  11. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt
  12. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt
  13. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt
  14. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c_bis.tt
  15. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt
  16. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt
  17. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt
  18. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
  19. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt
  20. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
  21. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt
  22. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt
  23. 2
      koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt
  24. 4
      koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt

2
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc

@ -24,7 +24,7 @@
[% IF ( login ) %]
[% Asset.css("css/login.css") | $raw %]
[% END %]
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS | $raw %]</style>[% END %]
[% IF ( IntranetUserCSS ) %]<style>[% IntranetUserCSS | $raw %]</style>[% END %]
[% KohaPlugins.get_plugins_intranet_head | $raw %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt

@ -24,7 +24,7 @@
<title>Koha &rsaquo; Acquisitions &rsaquo; [% UNLESS ( basketno ) %]New [% END %]Basket [% basketname | html %] ([% basketno | html %]) for [% booksellername | html %]</title>
[% Asset.css("css/datatables.css") | $raw %]
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">
<style>
.sortmsg {font-size: 80%;}
</style>
</head>

2
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt

@ -17,7 +17,7 @@
[% Asset.js("lib/yui/animation/animation-min.js") | $raw %]
[% Asset.js("lib/yui/dragdrop/dragdrop-min.js") | $raw %]
[% Asset.js("lib/yui/element/element-min.js") | $raw %]
<style type="text/css">
<style>
/*margin and padding on body element
can introduce errors in determining
element position and are not recommended;

2
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt

@ -5,7 +5,7 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Search for vendor [% supplier | html %]</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">
<style>
#vendors td{
vertical-align: top;
}

2
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt

@ -11,7 +11,7 @@ Basket [% basket.basketno | html %] &rsaquo; Duplicate existing orders
</title>
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") | $raw %]
<style type="text/css">
<style>
.picked_to_duplicate > td { background-color: #bcdb89 !important; }
span.hint { margin-left: 1em; }
</style>

2
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt

@ -6,7 +6,7 @@
<title>Koha &rsaquo; Acquisitions &rsaquo; EDIFACT messages</title>
[% Asset.css("css/datatables.css") | $raw %]
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">
<style>
#EDI_modal { width : 80%; } @media (max-width: 767px) { #EDI_modal { margin: 0; width : auto; } }
</style>
</head>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt

@ -6,7 +6,7 @@
<title>Koha &rsaquo; Administration &rsaquo; Library checkin and transfer policy</title>
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") | $raw %]
<style type="text/css">td { text-align: center; } .sorted { min-width: 50%; }</style>
<style>td { text-align: center; } .sorted { min-width: 50%; }</style>
</head>
<body id="admin_branch_transfer_limits" class="admin">

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt

@ -11,7 +11,7 @@
</title>
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") | $raw %]
<style type="text/css">#enrolmentmessage.hint { display : none; }</style>
<style>#enrolmentmessage.hint { display : none; }</style>
</head>
<body id="admin_categorie" class="admin">

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt

@ -16,7 +16,7 @@
</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">
<style>
#button_add,
.split_regex,
.split_callnumber

2
koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt

@ -2,7 +2,7 @@
[% USE raw %]
<title>Print Notices for [% today | html %]</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<style>
<!--
.message { page-break-after: always }
pre { font-family: monospace }

2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt

@ -5,7 +5,7 @@
<title>Koha &rsaquo; Catalog &rsaquo; Details for [% biblio.title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
[% IF ( LocalCoverImages == 1 ) %]
<style type="text/css">
<style>
#largeCoverImg {
border : 1px solid #CCCCCC;
display : block;

2
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt

@ -7,7 +7,7 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
<style>h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
</head>
<body id="catalog_moredetail" class="catalog">
[% USE KohaDates %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt

@ -6,7 +6,7 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Cataloging &rsaquo; Merging records</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">
<style>
div.record ul, div.record li { float:none; display:block; }
div#result { margin-top: 1em; }
/* We use this style "against" the li ui-tabs-nav style automatically applied */

2
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c_bis.tt

@ -2,7 +2,7 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; UNIMARC field 210c builder</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">
<style>
#custom-doc { width:37.85em;*width:36.93em;min-width:492px; margin:auto; text-align:left; }
</style>
</head>

2
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt

@ -9,7 +9,7 @@
[% END %]
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") | $raw %]
<style type="text/css">
<style>
#marcPreview { width : 90%; top: 5%; } .modal-body { max-height: 380px; } .modal-header { padding: 0 14px; } @media (max-width: 767px) { #marcPreview { margin: 0; width : auto; } }
</style>

2
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt

@ -6,7 +6,7 @@
<title>Koha &rsaquo; Z39.50/SRU search results</title>
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") | $raw %]
<style type="text/css">
<style>
#dataPreview { width : 90%; top: 5%; } .modal-body { max-height: 380px; } .modal-header { padding: 0 14px; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }
</style>
</head>

2
koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt

@ -6,7 +6,7 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Circulation &rsaquo; Article requests</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css"> p { margin-top: 0; } [id^="article-menu-"] { display: none; } [id^="article-menu-"]:before { content: "|"; }</style>
<style> p { margin-top: 0; } [id^="article-menu-"] { display: none; } [id^="article-menu-"]:before { content: "|"; }</style>
</head>
[% BLOCK actions %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt

@ -11,7 +11,7 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Circulation &rsaquo; Holds queue</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css"> p { margin-top: 0; }</style>
<style> p { margin-top: 0; }</style>
[% Asset.css("css/datatables.css") | $raw %]
</head>

2
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt

@ -9,7 +9,7 @@
[% END %]
</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">
<style>
.club-field,
.enrollment-field {
border-top: 1px solid #DDD;

2
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt

@ -10,7 +10,7 @@
<title>Koha &rsaquo; Serials [% biblionumber | html %]</title>
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") | $raw %]
<style type="text/css">input.dt-filter { width : 100%; font-size : 85%; }</style>
<style>input.dt-filter { width : 100%; font-size : 85%; }</style>
</head>
<body id="ser_serials-home" class="ser">

2
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt

@ -6,7 +6,7 @@
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") | $raw %]
<!--[if IE]>
<style type="text/css">#selections { display: none; }</style>
<style>#selections { display: none; }</style>
<![endif]-->
</head>
<body id="tools_batchMod-del" class="tools">

4
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt

@ -40,9 +40,9 @@ $(document).ready(function(){
//]]>
</script>
<!--[if IE]>
<style type="text/css">#selections { display: none; }</style>
<style>#selections { display: none; }</style>
<![endif]-->
<style type="text/css">input[type=checkbox]{ margin : 0 .5em; }</style>
<style>input[type=checkbox]{ margin : 0 .5em; }</style>
[% Asset.css("css/addbiblio.css") | $raw %]
[% INCLUDE 'select2.inc' %]

2
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt

@ -7,7 +7,7 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your cart</title>
[% INCLUDE 'doc-head-close.inc' %]
[% BLOCK cssinclude %]<style type="text/css">.item-status, .dt-buttons { display: inline; } @media print { body { height: 99%; } }</style>[% END %]
[% BLOCK cssinclude %]<style>.item-status, .dt-buttons { display: inline; } @media print { body { height: 99%; } }</style>[% END %]
</head>
[% INCLUDE 'bodytag.inc' bodyid='basket' %]
<div class="main">

4
koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt

@ -34,8 +34,8 @@
[% Asset.css("lib/jquery/jquery-ui.css") | $raw %]
[% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %]
[% Asset.css("css/sci.css") | $raw %]
[% IF ( Koha.Preference('OPACUserCSS') ) %]<style type="text/css">[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% END %]
[% IF ( Koha.Preference('SelfCheckInUserCSS') ) %]<style type="text/css">[% Koha.Preference('SelfCheckInUserCSS') | $raw %]</style>[% END %]
[% IF ( Koha.Preference('OPACUserCSS') ) %]<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% END %]
[% IF ( Koha.Preference('SelfCheckInUserCSS') ) %]<style>[% Koha.Preference('SelfCheckInUserCSS') | $raw %]</style>[% END %]
<!--[if lt IE 9]>
<script src="[% interface | html %]/[% theme | html %]/lib/respond.min.js"></script>
<![endif]-->

Loading…
Cancel
Save