Line | |
---|
1 | [% FOREACH u = ofilter.objectslist %] |
---|
2 | [% IF loop.first %] |
---|
3 | <table> |
---|
4 | [% END %] |
---|
5 | [% obj = c.model('Accounts').db.get_object(ofilter.otype, u) %] |
---|
6 | |
---|
7 | <tr> |
---|
8 | <td> |
---|
9 | [% disp = obj.get_attributes('displayName') || u %] |
---|
10 | [% disp | html %] |
---|
11 | </td> |
---|
12 | <td><input type=checkbox name="user" checked=1 value="[% u | html %]"> |
---|
13 | [% c.prototype.link_to_remote( '<img src="' _ c.uri_for('/static/icons', |
---|
14 | 'gtk-add.png') _ '" height="24" width="24" alt="" title="Ajouter ' _ disp _ '">', { |
---|
15 | update => 'destlist', |
---|
16 | url => c.uri_for('/ajax', 'services', 'mailing', 'mod_to', { |
---|
17 | 'act' => 'add_to', |
---|
18 | 'user' => u, |
---|
19 | }) |
---|
20 | }, { entities => '' } ) %] |
---|
21 | </td> |
---|
22 | </tr> |
---|
23 | [% IF loop.last %] |
---|
24 | </table> |
---|
25 | [% END %] |
---|
26 | [% END %] |
---|
Note: See
TracBrowser
for help on using the repository browser.