confirm.tpl 3.13 KB
Newer Older
1
2
3
4
5
<TMPL_INCLUDE NAME="header.tpl">

  <div id="content">
    <div id="content-all">
      <div class="title">
6
        <img src="<TMPL_VAR NAME="SKIN_PATH">/<TMPL_VAR NAME="SKIN">/images/logo-info.png" />
7
8
9
        <lang en="Confirmation" fr="Confirmation" />
      </div>
      <hr class="solid" />
10
11

      <TMPL_UNLESS NAME="LIST"><TMPL_IF NAME="ACTIVE_TIMER">
12
      <p id="timer" class="text-error"><lang en="Automaticaly accept in 5 seconds" fr="Acceptation automatique dans 5 secondes"/></p>
Yadd's avatar
Yadd committed
13
14
15
16
17
      <!-- //if:jsminified
        <script type="text/javascript" src="<TMPL_VAR NAME="SKIN_PATH">/common/js/info.min.js"></script>
      //else -->
        <script type="text/javascript" src="<TMPL_VAR NAME="SKIN_PATH">/common/js/info.js"></script>
      <!-- //endif -->
18
      </TMPL_IF></TMPL_UNLESS>
19

Clément OUDOT's avatar
   
Clément OUDOT committed
20
      <form id="form" action="#" method="<TMPL_VAR NAME="FORM_METHOD">" class="login">
21
        <TMPL_VAR NAME="HIDDEN_INPUTS">
22
        <TMPL_IF NAME="AUTH_URL">
23
        <input type="hidden" name="url" value="<TMPL_VAR NAME="AUTH_URL">" />
24
25
        </TMPL_IF>
        <TMPL_IF NAME="CHOICE_VALUE">
Clément OUDOT's avatar
   
Clément OUDOT committed
26
        <input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" />
27
28
        </TMPL_IF>
        <TMPL_IF NAME="CONFIRMKEY">
29
        <input type="hidden" id="confirm" name="confirm" value="<TMPL_VAR NAME="CONFIRMKEY">" />
30
        </TMPL_IF>
31
32

        <TMPL_IF NAME="MSG">
33
34
35
        <div id="content-all-info">
          <TMPL_VAR NAME="MSG">
        </div>
36
37
38
39
        </TMPL_IF>

        <TMPL_IF NAME="LIST">

40
        <h3><lang en="Select your Identity Provider" fr="Choisissez votre fournisseur d'identit&eacute;"/></h3>
41
42
43
44
45
46
47
48
49
50
        <input type="hidden" id="idp" name="idp"/>
        <table style="margin: 0px auto">
        <TMPL_LOOP NAME="LIST">
          <tr><td><div class="buttons">
            <button type="submit" class="positive" style="width: 100%" onclick="$('#idp').val('<TMPL_VAR NAME="VAL">')">
              <TMPL_VAR NAME="NAME">
            </button>
          </div></td></tr>
    
        </TMPL_LOOP>
51
52
53
54
55
56

          <tr><td>
            <input type="checkbox" id="remember" name="cookie_type" value="1">
            <label for="remember"><lang en="Remember my choice" fr="Se souvenir de mon choix"/></label>
          </td></tr>

57
58
        <TMPL_ELSE>

59
60
        <table style="margin: 0px auto">
          <tr><td><div class="panel-buttons">
61
          <button type="submit" class="negative" tabindex="4" onclick="$('#confirm').attr('value','-<TMPL_VAR NAME="CONFIRMKEY">');">
62
            <lang en="Refuse" fr="Refuser" />
63
64
          </button>
          <button type="submit" class="positive" tabindex="3">
65
            <lang en="Accept" fr="Accepter" />
66
          </button>
67
68
69
          </div></td></tr>

        </TMPL_IF>
70

71
72
73
74
        <TMPL_IF NAME="CHECK_LOGINS">
        <tr><td>
          <input type="checkbox" id="checkLogins" name="checkLogins" <TMPL_IF NAME="ASK_LOGINS">checked</TMPL_IF>/>
          <label for="checkLogins">
75
            <lang en="Check my last logins" fr="Voir mes derni&egrave;res connexions"/>
76
77
          </label>
        </td></tr>
78
        </TMPL_IF>
79
80

        </table>
81
82
83
84
85
86
      </form>
    </div>
  </div>

<TMPL_INCLUDE NAME="footer.tpl">