Changeset 861 for LATMOS-Accounts-Web/root/html/users/menu.tt
- Timestamp:
- 12/02/11 11:42:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts-Web/root/html/users/menu.tt
r730 r861 1 1 <!-- $Id$ --> 2 <div id="omenu"> 3 2 <div id="oinfo"> 4 3 [% INCLUDE 'includes/obj_prev_next.tt' objtype='user' objname=username %] 5 4 6 <table border="0"> 7 <tr><td> 8 [% IF NOT user.get_c_field('exported') OR user.get_c_field('locked') %] 9 <img src="[% c.uri_for('/static', 'icons', 'view-media-artist.png') %]" 10 [% ELSE %] 11 <img src="[% c.uri_for('/static', 'icons', 'user-properties.png') %]" 12 [% END %] 13 alt="[% "User " _ username %]"> 14 </td> 15 <td> 16 [% username | html %]<br> 17 [% user.get_c_field('displayName') | html %] 18 </td> 19 </tr> 20 </table> 5 <div> 6 [% IF NOT user.get_c_field('exported') %] 7 <img src="[% c.uri_for('/static', 'icons', 'gtk-delete.png') %]" 8 alt="[% "User " _ username %]" title="le compte est désactivé"> 9 [% ELSE %] 10 <img src="[% c.uri_for('/static', 'icons', 'user-properties.png') %]" 11 alt="[% "User " _ username %]"> 12 [% END %] 13 </div> 14 15 <div> 16 [% IF user.get_c_field('locked') %] 17 <img src="[% c.uri_for('/static', 'icons', 'locked.png') %]" 18 alt="le compte est vérrouillé" title="le compte est vérrouillé"> 19 [% END %] 20 </div> 21 22 <div> 23 <p id="oname">[% username | html %] 24 [% INCLUDE user_flag ouser = user %]</span></p> 25 [% user.get_c_field('displayName') | html %] 26 </div> 27 </div> 21 28 <div style="clear: both;"></div> 29 <div id="omenu"> 22 30 <a href="[% c.uri_for(username) %]"><span [% 'id="oactive"' IF subform == '' %]>SystÚme</span></a> 23 <a href="[% c.uri_for(username, 'statu s') %]"><span [% 'id="oactive"' IF subform == 'status' %]>Status</span></a>31 <a href="[% c.uri_for(username, 'statut') %]"><span [% 'id="oactive"' IF subform == 'statut' %]>Statut</span></a> 24 32 <a href="[% c.uri_for(username, 'groups') %]"><span [% 'id="oactive"' IF subform == 'groups' %]>Groupes</span></a> 25 33 <a href="[% c.uri_for(username, 'address') %]"><span [% 'id="oactive"' IF subform == 'address' %]>Adresses</span></a> 26 34 <a href="[% c.uri_for(username, 'mail') %]"><span [% 'id="oactive"' IF subform == 'mail' %]>eMail</span></a> 35 <a href="[% c.uri_for(username, 'my') %]"><span [% 'id="oactive"' IF subform == 'my' %]>My</span></a> 27 36 [% IF c.model('Accounts').db.check_acl(user, 'userPasswd', 'r') %] 28 37 <a href="[% c.uri_for(username, 'passwd') %]"><span [% 'id="oactive"' IF subform == 'passwd' %]>Mot de passe</span></a> 29 38 [% END %] 30 39 </div> 40 <div style="clear:both"></div>
Note: See TracChangeset
for help on using the changeset viewer.