Ajout script pour parcourir l'arborescence et ajouter au catalogue.
[Plinn.git] / skins / generic / groups_members.pt
1 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/master">
2
3 <head>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
5 <title>Group members management</title>
6 <link href="../content/plinn_style.css" rel="stylesheet" media="screen" />
7 </head>
8
9 <body tal:omit-tag="" metal:fill-slot="main_no_tabs"
10 tal:define="requestedGroup python:here.setAndGetSessionVar('requestedGroup', request.get('group', None), allowFalse=0);
11 gtool here/portal_groups ;
12 group_prefix here/acl_users/getGroupPrefix ;
13 prefixLength python:len(group_prefix) ;
14 template_url python:'%s/%s' % (portal_url, template.id)"
15 i18n:domain="plinn">
16 <table metal:use-macro="here/gruf_macros/macros/gruf_settings">
17 <tr>
18 <td>Using gruf_setting macro from gruf_macros</td>
19 </tr>
20 <tr>
21 <td metal:fill-slot="form" tal:omit-tag="">
22 <table>
23 <tr>
24 <td>
25 <div metal:use-macro="here/gruf_macros/macros/gruf_tree">
26 Groups tree from gruf_macros
27 </div>
28 </td>
29 <td>
30 <div tal:condition="requestedGroup" tal:omit-tag="">
31 <table tal:define="group python:gtool.getGroupById(requestedGroup)">
32 <tr>
33 <th><a name="assign_members"></a>
34 <span i18n:translate="">
35 Members of "<span tal:replace="python:group.title or group.id[prefixLength:]" i18n:name="groupId">group id</span>"
36 </span>
37 </th>
38 </tr>
39 <tr>
40 <td>
41 <div metal:use-macro="here/gruf_macros/macros/assign_members">
42 assign_members form grom gruf_macros
43 </div>
44 </td>
45 </tr>
46 <tr>
47 <th><a name="assign_groups"></a><span i18n:translate="" tal:omit-tag="">Groups of "<span tal:replace="python:group.title or group.id[prefixLength:]" i18n:name="groupId">group id</span>"
48 </span>
49 </th>
50 </tr>
51 <tr>
52 <td>
53 <div metal:use-macro="here/gruf_macros/macros/assign_groups">
54 assign_group from gruf_macros
55 </div>
56 </td>
57 </tr>
58 </table>
59 </div>
60 </td>
61 </tr>
62 </table>
63 </td>
64 </tr>
65 </table>
66 </body>
67
68 </html>