Bug 14659: (QA followup) switch to using Koha::Patron::Categories
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-auth.tt
index a82b079..c5cd351 100644 (file)
@@ -1,11 +1,11 @@
 [% USE Koha %]
 [% INCLUDE 'doc-head-open.inc' %]
-[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›
+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
     Log in to your account
 [% ELSE %]
     Catalog login disabled
-[% END %]
+[% END %]</title>
 [% INCLUDE 'doc-head-close.inc' %]
 [% BLOCK cssinclude %][% END %]
 </head>
@@ -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 CAS 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 CAS 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 CAS account,
                                 [% IF ( casServerUrl ) %]
                                     please <a href="[% casServerUrl %]">click here to login</a>.<p>
                                 [% END %]
 
                             [% END # / IF casAuthentication %]
 
-                            <form action="[% url %]" name="auth" id="auth" method="post">
+                            <form action="/cgi-bin/koha/opac-user.pl" name="auth" id="auth" method="post">
                                 <input type="hidden" name="koha_login_context" value="opac" />
                                 <fieldset class="brief">
                                     [% FOREACH INPUT IN INPUTS %]
                                 </fieldset>
 
                                 <input type="submit" value="Log in" class="btn" />
+                                [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
+                                    <div id="forgotpassword">
+                        <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a>
+                                    </div>
+                                [% END %]
                                 <div id="nologininstructions">
                                     [% IF Koha.Preference('NoLoginInstructions') %]
                                         [% Koha.Preference('NoLoginInstructions') %]