Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt
Lucas Gass aea4407ef8
Bug 24245: rename self reg confirm page body id
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-12-16 21:07:03 +00:00

117 lines
6.7 KiB
Text

[% USE raw %]
[% USE Koha %]
[% USE KohaNews %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
[% INCLUDE 'doc-head-close.inc' %]
[% BLOCK cssinclude %][% END %]
</head>
[% INCLUDE 'bodytag.inc' bodyid='opac-registration-confirmation' %]
[% INCLUDE 'masthead.inc' %]
<div class="main">
<ul class="breadcrumb">
<li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
<li><a href="#">Registration complete</a></li>
</ul>
<div class="container-fluid">
<div class="row-fluid">
[% IF ( OpacNav || OpacNavBottom ) %]
<div class="span2">
<div id="navigation">
[% INCLUDE 'navigation.inc' %]
</div>
</div>
[% END %]
[% IF ( OpacNav || OpacNavBottom ) %]
<div class="span7">
[% ELSE %]
<div class="span9">
[% END %]
<div id="registration-complete">
<h1>Registration Complete!</h1>
<p>You have successfully registered your new account.</p>
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
<p>To log in, use the following credentials:</p>
<p id="patron-userid-p">
<span id="patron-userid-label">Username:</span>
<span id="patron-userid">[% borrower.userid | html %]</span>
</p>
<p id="patron-password-p">
<span id="patron-password-label">Password:</span>
<span id="patron-password">[% password_cleartext | html %]</span>
</p>
[% IF borrower.cardnumber %]
<p id="patron-cardnumber-p">
<span id="patron-cardnumber-label">Card number:</span>
<span id="patron-cardnumber">[% borrower.cardnumber | html %]</span>
</p>
[% END %]
<p id="patron-instructions">
[% IF borrower.category.effective_change_password %]
<span>For your convenience, the login box on this page has been pre-filled with this data. Please log in and change your password.</span>
[% ELSE %]
<span>For your convenience, the login box on this page has been pre-filled with this data. Please log in.</span>
[% END %]
</p>
[% END %]
<div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions | $raw %]</div>
</div>
</div> <!-- / .span7/9 -->
[% SET OpacNavRight = KohaNews.get( location => "OpacNavRight", lang => news_lang, library => branchcode ) %]
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
<div class="span3">
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
[% UNLESS ( loggedinusername ) %]
[% UNLESS ( casAuthentication ) %]
<div id="login">
<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
<input type="hidden" name="koha_login_context" value="opac" />
<fieldset class="brief">
<legend>Log in to your account:</legend>
<label for="userid">Login:</label>
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
<input type="text" id="userid" size="10" name="userid" value="[% borrower.userid | html %]" />
[% ELSE %]
<input type="text" id="userid" size="10" name="userid" value="" />
[% END %]
<label for="password">Password:</label>
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
<input type="password" id="password" size="10" name="password" value="[% password_cleartext | html %]" />
[% ELSE %]
<input type="password" id="password" size="10" name="password" value="" />
[% END %]
<fieldset class="action">
<input type="submit" value="Log in" class="btn" />
</fieldset>
[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="patronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %]
</fieldset>
</form>
</div> <!-- /#login -->
[% END # /casAuthentication %]
[% END # / loggedinusername %]
[% END # /opacuserlogin %]
[% IF ( OpacNavRight ) %]
<div id="opacnavright">
[% PROCESS koha_news_block news => OpacNavRight %]
</div>
[% END # /OpacNavRight %]
</div> <!-- / .span3 -->
[% END # /opacuserlogin || OpacNavRight %]
</div> <!-- /.row-fluid -->
</div> <!-- /.container-fluid -->
</div> <!-- /.main -->
[% INCLUDE 'opac-bottom.inc' %]
[% BLOCK jsinclude %][% END %]