menu.tpl 6.88 KB
Newer Older
1
2
3
4
<TMPL_INCLUDE NAME="header.tpl">

  <div id="content">
    <div id="content-all">
5
      <TMPL_IF NAME="AUTH_ERROR">
6
      <div class="title">
7
        <img src="<TMPL_VAR NAME="SKIN_PATH">/<TMPL_VAR NAME="SKIN">/images/logo-ok.png" />
8
9
        <TMPL_VAR NAME="AUTH_ERROR">
      </div>
10
      <hr class="solid" />
11
      </TMPL_IF>
12
      <p>
Clément OUDOT's avatar
Clément OUDOT committed
13
        <span class="text-error"><lang en="Connected as" fr="Connect&eacute; en tant que " />: <u><TMPL_VAR NAME="AUTH_USER"></u></span>
14
      </p>
15
16

      <div id="menu">
Clément OUDOT's avatar
Clément OUDOT committed
17
18

      <TMPL_IF DISPLAY_MODULES>
19
        <ul>
Clément OUDOT's avatar
Clément OUDOT committed
20
21
        <TMPL_LOOP NAME="DISPLAY_MODULES">
          <TMPL_IF NAME="Appslist">
22
          <li><a href="#appslist"><span><img src="<TMPL_VAR NAME="SKIN_PATH">/common/application_cascade.png" width="16" height="16" alt="appslist" /> <lang en="Your applications" fr="Vos applications" /></span></a></li>
23
          </TMPL_IF>
Clément OUDOT's avatar
Clément OUDOT committed
24
          <TMPL_IF NAME="ChangePassword">
25
          <li><a href="#password"><span><img src="<TMPL_VAR NAME="SKIN_PATH">/common/vcard_edit.png" width="16" height="16" alt="password" /> <lang en="Password" fr="Mot de passe" /></span></a></li>
26
          </TMPL_IF>
27
          <TMPL_IF NAME="LoginHistory">
28
          <li><a href="#loginHistory"><span><img src="<TMPL_VAR NAME="SKIN_PATH">/common/calendar.png" width="16" height="16" alt="login history" /> <lang en="Login history" fr="Historique des connexions" /></span></a></li>
29
          </TMPL_IF>
Clément OUDOT's avatar
Clément OUDOT committed
30
          <TMPL_IF NAME="Logout">
31
          <li><a href="#logout"><span><img src="<TMPL_VAR NAME="SKIN_PATH">/common/door_out.png" width="16" height="16" alt="logout" /> <lang en="Logout" fr="Se d&eacute;connecter" /></span></a></li>
32
          </TMPL_IF>
Clément OUDOT's avatar
Clément OUDOT committed
33
        </TMPL_LOOP>
34
        </ul>
Clément OUDOT's avatar
Clément OUDOT committed
35
36
      </TMPL_IF>

37
38
      <div id="content-all-info2">

Clément OUDOT's avatar
Clément OUDOT committed
39
40
41
42
43
      <TMPL_IF DISPLAY_MODULES>

        <TMPL_LOOP NAME="DISPLAY_MODULES">

        <TMPL_IF NAME="Appslist">
44
        <div id="appslist">
45
          <p class="text-label">
FX Deltombe's avatar
FX Deltombe committed
46
            <lang en="Choose an application your are allowed to access to" fr="Choisissez une application &agrave; laquelle vous &ecirc;tes autoris&eacute; &agrave; acc&eacute;der" /> :
47
          </p>
48
49
50
51
52
53
                <TMPL_LOOP NAME="APPSLIST_LOOP">
                <!-- Template loops -->

                <TMPL_IF NAME="category">
                <!-- Category -->

54
                <div class="category cat-level-<TMPL_VAR NAME="catlevel"> <TMPL_VAR NAME="catid">" id="sort_<TMPL_VAR NAME="__counter__">">
55
56
57
58
59
60
61
62
63
64
65
66
67
                <h3 class="catname"><TMPL_VAR NAME="catname"></h3>

                <TMPL_IF applications>
                <!-- Applications -->

                <TMPL_LOOP NAME=applications>

                <!-- Application -->

                <div class="application <TMPL_VAR NAME="appid">">

                <!-- Logo (optional) -->
                <TMPL_IF NAME="applogo">
68
                <img    src="<TMPL_VAR NAME="SKIN_PATH">/common/apps/<TMPL_VAR NAME="applogo">"
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
                        class="applogo <TMPL_VAR NAME="appid">"
                        alt="<TMPL_VAR NAME="appname">" />
                </TMPL_IF>

                <!-- Name and link (mandatory) -->
                <h4 class="appname <TMPL_VAR NAME="appid">">
                <a href="<TMPL_VAR NAME="appuri">" alt="<TMPL_VAR NAME="appname">">
                <TMPL_VAR NAME="appname">
                </a>
                </h4>

                <!-- Logo (optional) -->
                <TMPL_IF NAME="appdesc">
                <p class="appdesc <TMPL_VAR NAME="appid">">
                <TMPL_VAR NAME="appdesc">
                </p>
                </TMPL_IF>

                <div class="clearfix"></div>
                </div>

                <!-- End of applications loop -->
                </TMPL_LOOP>
                </TMPL_IF>

                <TMPL_IF categories>
                <!-- Sub categories -->

                <TMPL_LOOP NAME=categories>
                <div class="category cat-level-<TMPL_VAR NAME="catlevel">">
                <h3 class="catname"><TMPL_VAR NAME="catname"></h3>

                <TMPL_IF applications>
                <!-- Applications in sub category -->

                <TMPL_LOOP NAME=applications>

                <!-- Application in sub category-->

                <div class="application <TMPL_VAR NAME="appid">">

                <!-- Logo (optional) -->
                <TMPL_IF NAME="applogo">
112
                <img    src="<TMPL_VAR NAME="SKIN_PATH">/common/apps/<TMPL_VAR NAME="applogo">"
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
                        class="applogo <TMPL_VAR NAME="appid">"
                        alt="<TMPL_VAR NAME="appname">" />
                </TMPL_IF>

                <!-- Name and link (mandatory) -->
                <h4 class="appname <TMPL_VAR NAME="appid">">
                <a href="<TMPL_VAR NAME="appuri">" alt="<TMPL_VAR NAME="appname">">
                <TMPL_VAR NAME="appname">
                </a>
                </h4>

                <!-- Logo (optional) -->
                <TMPL_IF NAME="appdesc">
                <p class="appdesc <TMPL_VAR NAME="appid">">
                <TMPL_VAR NAME="appdesc">
                </p>
                </TMPL_IF>

                <div class="clearfix"></div>
                </div>

                <!-- End of applications loop -->
                </TMPL_LOOP>
                </TMPL_IF>

                <div class="clearfix"></div>
                </div>

                <!-- End of sub categories loop -->
                </TMPL_LOOP>
                </TMPL_IF>

                <div class="clearfix"></div>
                </div>

                <!-- End of categories loop -->
                </TMPL_IF>
                </TMPL_LOOP>

152
        </div>
153
        </TMPL_IF>
154

Clément OUDOT's avatar
Clément OUDOT committed
155
	<TMPL_IF NAME="ChangePassword">
156
        <TMPL_INCLUDE NAME="password.tpl">
Clément OUDOT's avatar
Clément OUDOT committed
157
        </TMPL_IF>
158

159
160
161
162
163
164
165
166
        <TMPL_IF NAME="LoginHistory">
          <div id="loginHistory">
            <div class="form">
              <TMPL_IF NAME="SUCCESS_LOGIN">
              <h3><lang en="Last logins" fr="Derni&egrave;res connexions" /></h3>
              <TMPL_VAR NAME="SUCCESS_LOGIN">
              </TMPL_IF>
              <TMPL_IF NAME="FAILED_LOGIN">
167
              <h3><lang en="Last failed logins" fr="Derni&egrave;res connexions refus&eacute;es" /></h3>
168
169
170
171
172
173
174
              <TMPL_VAR NAME="FAILED_LOGIN">
              </TMPL_IF>
            </div>
          </div>
        </TMPL_IF>


Clément OUDOT's avatar
Clément OUDOT committed
175
        <TMPL_IF NAME="Logout">
176
177
        <div id="logout">
          <p class="text-label">
178
            <lang en="Are you sure?" fr="&Ecirc;tes vous s&ucirc;r ?" />
179
          </p>
180
          <button type="submit" class="positive" onclick="location.href='<TMPL_VAR NAME="LOGOUT_URL">';return false;">
181
182
183
            <lang en="I'm sure" fr="Je suis s&ucirc;r" />
          </button>
        </div>
184
        </TMPL_IF>
185

Clément OUDOT's avatar
Clément OUDOT committed
186
187
188
189
	</TMPL_LOOP>

      </TMPL_IF>

190
        </div>
191
      </div>
192
193
194
    </div>
  </div>

195
<TMPL_IF NAME="PING">
196
197
<!-- Keep session alive -->
<script type="text/javascript">
198
  setTimeout('ping();',pingInterval);
199
</script>
200
</TMPL_IF>
Clément OUDOT's avatar
Clément OUDOT committed
201

202
203
<TMPL_INCLUDE NAME="footer.tpl">