loginbanner.tt2 3.62 KB
Newer Older
1
<!-- RCS Identication ; $Revision$ ; $Date$ -->
salaun's avatar
salaun committed
2

3
<br />
salaun's avatar
salaun committed
4
5

[% IF action == 'loginrequest' %]
6
 [%|loc%]In order to perform a privileged operation (one that requires your email address), you need to login.[%END%]
salaun's avatar
salaun committed
7
[% ELSE %]
8
9
 [%|loc%]Most mailing list features require your email. Some mailing lists are hidden to  unidentified persons.<br />
 In order to benefit from the full services provided by this server, you probably need to identify yourself first.[%END%] <br />
10
11
12
[% IF use_sso %]
[% IF use_passwd == '1' %]

13
[%|loc%]To login, select your organization authentication server below.<br />
14
15
16
17
18
If it is not listed or if you don't have any, login using your email and password on the right column.[%END%]

[% END %]
[% ELSE %]
[% IF use_passwd == '1' %]
19
[%|loc%]Login with you email address and password. You can request a password reminder.[%END%]<br />
20
21
22
23
24
[% END %]
[% END %]

[% END %]

25
<br />
26
[% IF use_sso %]
sympa-authors's avatar
sympa-authors committed
27

28
[% IF sso_number == 1 %]
29
30
31

    <form class="bold_label" action="[% path_cgi %]" method="post"> 
      <fieldset>
32
33
34
35
36
        <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="action" value="sso_login" />
	<input type="hidden" name="nomenu" value="[% nomenu %]" />
sympa-authors's avatar
sympa-authors committed
37
38
	<input type="hidden" name="list" value="[% list %]" />
        [% FOREACH server = sso %]
39
           <input id="auth_service_name" type="hidden" name="auth_service_name" value="[% server.key %]" />
40
           <input class="MainMenuLinks" type="submit" name="action_sso_login" value="[% server.value %]" />
sympa-authors's avatar
sympa-authors committed
41
        [% END %]
42
      </fieldset>
sympa-authors's avatar
sympa-authors committed
43
    </form> 
44
[% ELSE %]
45
46
    <form class="bold_label" action="[% path_cgi %]" method="post"> 
      <fieldset>
47
48
49
50
51
        <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="action" value="sso_login" />
	<input type="hidden" name="nomenu" value="[% nomenu %]" />
sympa-authors's avatar
sympa-authors committed
52
     	<input type="hidden" name="list" value="[% list %]" />
53
54
        <label for="auth_service_name">[%|loc%]Choose your authentication server[%END%]</label>
        <select id="auth_service_name" name="auth_service_name" onchange="this.form.submit();">
sympa-authors's avatar
sympa-authors committed
55
56
          [% FOREACH server = sso %]<option value="[% server.key %]">[% server.value %]</option>[% END %]
        </select>
sympa-authors's avatar
   
sympa-authors committed
57
        <input class="MainMenuLinks" type="submit" name="action_sso_login" value="[%|loc%]Go[%END%]" />
58
      </fieldset>
sympa-authors's avatar
sympa-authors committed
59
    </form>
60
61
[% END %] 

salaun's avatar
salaun committed
62
63
[% END %]

64
65
  <form class="bold_label" action="[% path_cgi %]" method="post"> 
    <fieldset>
sympa-authors's avatar
sympa-authors committed
66
67
68
69
70
71
     <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="action" value="login" />
     <input type="hidden" name="nomenu" value="[% nomenu %]" />
     <input type="hidden" name="list" value="[% list %]" />
72
73
     <label for="email_login_banner">[%|loc%]email address[%END%] : </label><input id="email_login_banner" type="text" name="email" size="20" value="[% init_email %]" />&nbsp;&nbsp;&nbsp;
     <label for="passwd_login_banner" >[%|loc%]password[%END%] : </label><input type="password" name="passwd" id="passwd_login_banner" size="8" /> &nbsp;&nbsp;
sympa-authors's avatar
   
sympa-authors committed
74
       <input class="MainMenuLinks" type="submit" name="action_login" value="[%|loc%]Login[%END%]" />
75
    </fieldset>
sympa-authors's avatar
sympa-authors committed
76
  </form> 
77
78

<br />
sympa-authors's avatar
sympa-authors committed
79
[% PROCESS remindpasswd.tt2 %]
salaun's avatar
salaun committed
80
81
82