Bug 12291: Replace acronym with tag at the OPAC
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 20 Feb 2015 10:42:31 +0000 (11:42 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 31 Mar 2015 13:53:08 +0000 (10:53 -0300)
On the OPAC authentification page, the acronym tag is used, but
deprecated.
It should be replaced with abbr:
http://www.w3.org/wiki/HTML/Elements/acronym

Test plan:
Enable the CAS authentification and verify the tags have correctly been
replaced.

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Befor the patch, "grep -r "<acronym" koha-tmpl/*/*/en/*" shows 4 occurences of
<acronym>, 3 related to CAS. After the patch, the same grep shows 1 remaining
<acronym>, in acqui/parcels.tt. I sign off this patch and will provide a
followup for the last occurrence.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt

index a82b079..9ce6ff7 100644 (file)
@@ -69,7 +69,7 @@
                                     <!-- This is what is displayed if cas login has failed -->
                                     <p>Sorry, the CAS login also failed, if you have a local login you may use that below.</p>
                                     [% ELSE %]
-                                    If you have a <acronym title="Central Authentication Service">CAS</acronym> account, you may use that below.
+                                    If you have a <abbr title="Central Authentication Service">CAS</abbr> account, you may use that below.
                                     [% END %]
                                     [% ELSE %]
                                     If you have a local account, you may use that below.
@@ -84,7 +84,7 @@
                                 [% END %]
                                 [% IF ( casAuthentication ) %]
                                 <h4>CAS login</h4>
-                                <p>If you do not have a Shibboleth account, but you do have a <acronym title="Central Authentication Service">CAS</acronym> account,
+                                <p>If you do not have a Shibboleth account, but you do have a <abbr title="Central Authentication Service">CAS</abbr> account,
                                 [% ELSE %]
                                 <h4>Local login</h4>
                                 <p>If you do not have a Shibboleth account, but you do have a local login, then you may login below:</p>
                                     <p>Sorry, the CAS login failed.</p>
                                 [% END %]
 
-                                <p>If you have a <acronym title="Central Authentication Service">CAS</acronym> account,
+                                <p>If you have a <abbr title="Central Authentication Service">CAS</abbr> account,
                                 [% IF ( casServerUrl ) %]
                                     please <a href="[% casServerUrl %]">click here to login</a>.<p>
                                 [% END %]