[% META title = 'Login' %] [% # INCLUDE dumper.tt dump = env; # INCLUDE dumper.tt dump = c.cfg('settings'); # INCLUDE dumper.tt dump = can_bypass_terms; can_bypass_terms = 0; # simplified login form so not required IF user_profile; # INCLUDE dumper.tt dump = user_profile; username = env.SERVER_PORT.match(8000) AND NOT env.DB_SESSIONS ? user_profile.username : user_profile.first_name _ '.' _ user_profile.last_name; END; settings = c.cfg('settings'); centre = settings.item('_centre'); %] [% BLOCK logout_msg %]
[% IF username %] You are logged in as [% username %] [% ELSE %] You are already logged in [% END %] [ logout ]
[% END %] [% BLOCK submit; site.html.submit %] [% END %] [% BLOCK login_form %] [% END %]Logins temporarily disabled during essential maintenance. Please try again in a few minutes ....
[% ELSE; # INCLUDE dumper.tt dump = c.query.param('destination'); # submitted by this form # INCLUDE dumper.tt dump = destination_url; # defined in LIMS::login() SET destination = c.query.param('destination') || destination_url; IF c.authen.is_login_timeout; INCLUDE logout_msg; %]I've forgotten them, or account is inactive ....
[% END %] [% IF msg.class.match('email_address'); # PROCESS dumper.tt dump = msg; email_address = msg.message; forgotten_pwd_class = 'itemvisible'; # override default so it shows %][% c.messages('login').email_not_found %]
[% END %]|
Application for [% settings.app_abbr %] user account: [% base_addr = url_base.replace(':8000', '') %] » [% IF centre.match('leeds') %]HMDS web-site: www.hmds.info [% END %]Contact: [% settings.service_email %] or [% settings.service_telno %] for assistance. [% PROCESS 'resources/menu/request_forms.tt' class = 'itemshow' %] Information on the use of cookies on this site. |
[% # INCLUDE dumper.tt dump = limerick;
IF limerick AND ( settings.offline OR devel_server )
%][% INCLUDE site/limerick.tt %] | [% END %]