Changeset 1051 for trunk/LATMOS-Accounts-Web/root
- Timestamp:
- 06/05/12 12:36:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/root/html/users/menu.tt
r976 r1051 7 7 <img src="[% c.uri_for('/static', 'icons', 'gtk-delete.png') %]" 8 8 alt="[% "User " _ username %]" title="le compte est désactivé"> 9 [% IF c.model('Accounts').db.check_acl(user, 'exported', 'w') %] 10 <script LANGUAGE="JavaScript"> 11 <!-- 12 function confirmSubmit() 13 { 14 var agree=confirm("Activer l'utilisateur [% username %] ?"); 15 if (agree) 16 return true ; 17 else 18 return false ; 19 } 20 // --> 21 </script> 22 <form method="POST" action="[% c.uri_for('/users', username, subform) %]" onsubmit="return confirmSubmit()"> 23 <input type="submit" value="activer" name="make_active"> 24 </form> 25 [% END %] 9 26 [% ELSE %] 10 27 <img src="[% c.uri_for('/static', 'icons', 'user-properties.png') %]"
Note: See TracChangeset
for help on using the changeset viewer.