<div id='login-form-box' class='login_boxes left_brain' style='float:left'>
<h1>[% l('Log in to Your Account') %]</h1>
- [% l('Please enter the following information:') %]
<form method='post'>
<div style="float: left; padding-bottom: 10px; margin-right: 40px;">
<label for='username_field' class="lbl1" >[% l('Laurentian username') %]</label>
<div class="input_bg">
<input type='text' id="username_field" name="username" autofocus />
</div>
- <div class="lbl2">[% l('Your username and password are the same as your Laurentian ID and Desire2Learn account.') %]</div>
- <div class="lbl2" style="padding-top: 1em;">[% l('Examples: jx_smith, jsmith') %]</div>
</div>
<div style="float: left;">
<label for="password_field" class="lbl1" >[% l('Password') %]</label>
<a href='https://passwordreset.laurentian.ca/'>[% l('Forgot your password?') %]</a>
[% END %]
</div>
- <div style="clear: both; padding-top: 15px;">
+ <div style="clear: both;">[% l('Your username and password are the same as your Laurentian ID.') %]</div>
+ <div style="padding-top: 1em;">[% l('Examples: jx_smith, jsmith') %]</div>
+ <div style="padding-top: 1em;">
[%
redirect = CGI.param('redirect_to');
# Don't use referer unless we got here from elsewhere within the TPAC
redirect = redirect | replace('^http:', 'https:');
%]
<input type='hidden' name='redirect_to' value='[% redirect | html %]'/>
+[% IF ctx.hostname == 'usudbury.concat.ca' %]
+ <input type='hidden' name='ou_email_host' value='usudbury.ca'/>
+[% ELSE %]
<input type='hidden' name='ou_email_host' value='laurentian.ca'/>
+[% END %]
<input type="checkbox" name="persist" id="login_persist" /><label for="login_persist"> [% l('Stay logged in?') %]</label>
<input type="submit" value="[% l('Log in') %]" alt="[% l('Log in') %]" class="opac-button" />
</div>
<input id="client_tz_id" name="client_tz" type="hidden" />
<div style="float: right;">
+ <div>
+[% IF ctx.hostname == 'usudbury.concat.ca' %]
+ <em>[%- l('Laurentian University:'); %]</em> <a href="https://laurentian.concat.ca/eg/opac/myopac/main">[% l('Log in here!'); %]</a>
+[% ELSE %]
+ <em>[%- l('University of Sudbury:'); %]</em> <a href="https://usudbury.concat.ca/eg/opac/myopac/main">[% l('Log in here!'); %]</a>
+[% END %]
+ </div>
+ <div>
<em>[%- l('Alumnus or reader?'); %]</em> <a href="https://www.concat.ca/eg/opac/myopac/main">[% l('Log in here!'); %]</a>
+ </div>
</div>
</form>
</div>