summaryrefslogtreecommitdiffstats
path: root/loginbanner.tt2
blob: 5cae51806847a01cd692c923087dddcc65999f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!-- $Id: loginbanner.tt2 6297 2009-11-06 13:55:35Z david.verdin $ -->

  <div  id="Identity_not_connect">    
        [% IF use_sso %]
      <form action="[% path_cgi %]" method="post"> 
	<fieldset>	
        <input type="hidden" name="previous_action" value="[% previous_action %]" />
        <input type="hidden" name="previous_list" value="[% previous_list %]" />
	<input type="hidden" name="referer" value="[% referer %]" />
        <input type="hidden" name="list" value="[% list %]" />
	  <input type="hidden" name="action" value="sso_login" />
          [% IF sso_number == 1 %]
            [% FOREACH server = sso %]
              <input type="hidden" name="auth_service_name" value="[% server.key %]" />
              <input class="MainMenuLinks" type="submit" name="action_sso_login" value="[% server.value %]" />
           [% END %]
          [% ELSE %]
     	    <label for="auth_service_name">[%|loc%]To login, select your organization authentication server below:[%END%]&nbsp;&nbsp;&nbsp;&nbsp;</label>
            <select id="auth_service_name" name="auth_service_name" onchange="this.form.submit();">
            [% FOREACH server = sso %]
               <option value="[% server.key %]">[% server.value %]</option>
            [% END %]
            </select>
          <input class="MainMenuLinks" type="submit" name="action_sso_login" value="[%|loc%]Go[%END%]" />
          [% END %]
 	</fieldset>
      </form>
     [% END %] 

     [% IF use_passwd == '1' %]
      <form action="[% path_cgi %]" method="post">
	<fieldset>
        <input type="hidden" name="previous_action" value="[% previous_action %]" />
        <input type="hidden" name="previous_list" value="[% previous_list %]" />
	<input type="hidden" name="referer" value="[% referer %]" />
        <input type="hidden" name="list" value="[% list %]" />

      <input type="hidden" name="action" value="login" />
      <label for="email_login">[%|loc%]email address:[%END%]</label>
      <input type="text" name="email" id="email_login" size="28" value="[% unauthenticated_email %]" /> &nbsp;&nbsp;
      <label for="passwd" >[%|loc%]password:[%END%]</label>
      <input type="password" name="passwd" id="passwd" size="8" /> &nbsp;&nbsp;
      <input class="MainMenuLinks" type="submit" name="action_login" value="[%|loc%]Login[%END%]" />
	</fieldset>
      </form>
      [% END %] 


[% IF use_passwd == '1' %]
[% IF authentication_info_url %]
   <a class="menuLinks" href="[% authentication_info_url %]">[%|loc%]Authentication help[% END %]</a><br />
[% ELSE %]
  <div class="remember">
  <b>
  <a href="[% path_cgi %]/firstpasswd/[% escaped_init_email %]">[%|loc%]First login?[%END%]</a><br />
  <a href="[% path_cgi %]/renewpasswd/[% escaped_init_email %]">[%|loc%]Lost password?[%END%]</a>
  </b>
  </div>
[% END %]
[% END %]

  </div>
<!-- end loginbanner.tt2 -->